Multichannel-systems NeuroExplorer Uživatelský manuál Strana 158

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 373
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 372 373

Komentáře k této Příručce

Žádné komentáře