Multichannel-systems NeuroExplorer Instrukcja Użytkownika Strona 158

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 373
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 372 373

Komentarze do niniejszej Instrukcji

Brak uwag