Appendix c – program examples in quick basic c, Introduction, Appendix c – program examples – Measurement Computing TempScan/1100 User Manual
Page 271: In quick basic, Appendix c – program examples in quick basic

TempScan / MultiScan, Appendix C
879696
Program Examples in Quick Basic C-1
Appendix C – Program Examples in Quick Basic
C
Introduction …… C-1
Reading HLL Status …… C-3
TempScan/1100 …… C-3
MultiScan/1200 …… C-4
Reading HLL Data from Thermocouple & Volts Cards …… C-5
TempScan/1100 …… C-5
MultiScan/1200 …… C-6
Acquiring Pre- & Post-Trigger Data at Different Rates …… C-7
TempScan/1100 …… C-7
MultiScan/1200 …… C-9
Acquiring Pre- & Post-Trigger Data at the Same Rate …… C-11
TempScan/1100 …… C-11
MultiScan/1200 …… C-13
TempScan/1100 …… C-15
MultiScan/1200 …… C-17
Using the IEEE 488 SRQ with Alarms …… C-19
TempScan/1100 …… C-19
MultiScan/1200 …… C-21
Acquiring Buffer Data in Binary Format …… C-23
TempScan/1100 …… C-23
MultiScan/1200 …… C-25
Acquiring HLL Data in Binary Format …… C-27
TempScan/1100 …… C-27
MultiScan/1200 …… C-29
Using Auto Re-arm to Capture Multiple Trigger Blocks …… C-31
TempScan/1100 …… C-31
MultiScan/1200 …… C-33
Acquiring Burst Mode Data (MultiScan/1200 Only) …… C-35
Introduction
This appendix walks through example programs for IEEE 488 and RS-232 applications. Although written
in QuickBASIC, the program logic and the TempScan/1100 or MultiScan/1200 device-dependent
commands apply to all languages and computers.
These program examples use the IEEE 488 bus via the Personal488 PC/IEEE 488 controller interface to
communicate with the TempScan/1100 or MultiScan/1200 unit. These programs begin with a short
preamble, which opens the software driver and substantiates communications. After the driver is opened,
commands are issued to the driver through character strings in quotes.