Multichannel-systems NeuroExplorer Manuale Utente Pagina 158

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 373
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 157
5.5.1.16. ReadBinary Function
ReadBinary Function
Reads a binary value of a specified type from a file.
Syntax
double ReadBinary(fileID, valueType)
Parameters
Parameter Type Description
fileID double File ID received from OpenFile function.
valueType string Binary type. Should be "char", "uchar", "short",
"ushort", "int", "uint", "int64", "uint64", "float" or
"double".
Returns
The value read from the file.
Comments
None
Usage
NexScript
% open binary file in read mode
file = OpenFile("C:\binaryfile.dat", "r")
% read short (2-byte signed) value
shortValue = ReadBinary(file, "short")
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 156
Vedere la pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 372 373

Commenti su questo manuale

Nessun commento