Multichannel-systems NeuroExplorer Manuel d'utilisateur Page 158

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 373
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 372 373

Commentaires sur ces manuels

Pas de commentaire