Measurement-computing TempBook rev.3.0 Manuel d'utilisateur Page 121

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 166
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 120
TempBook Users Manual
Enhanced
API Programming Models (TempBook) 10-25
Calculate and write out the voltage value:
voltage! = buf%(i& * channels& + j&) * 5! / 32768!
Print #2, Format$(voltage!, ".000") + termChar$;
Next j&
Next i&
Print something so the program does not appear to be locked:
Print ".";
Loop While (byteCount& > 0) ' A byteCount of 0 indicates end-of-file
' Close the input and output files
Close 1
Close 2
Print "complete."
After program execution: data has been collected directly to disk in a binary file format, the TempBook
device closed, the binary file was then opened, the data unpacked, and then written to a text file.
Vue de la page 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 165 166

Commentaires sur ces manuels

Pas de commentaire