EasyManua.ls Logo

IOtech TempScan 1100 - Program Examples Introduction

Default Icon
364 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TempScan / MultiScan User's Manual Chapter 15: Program Examples 239
Program Examples 15
Introduction……239
Reading HLL Status……240
Reading HLL Data from Thermocouple & Volts Cards…… 242
Acquiring Pre- & Post-Trigger Data at Different Rates……244
Acquiring Pre- & Post-Trigger Data at the Same Rate……248
Operating Alarms……252
Using the IEEE 488 SRQ with Alarms……256
Acquiring Buffer Data in Binary Format……260
Acquiring HLL Data in Binary Format……264
Using Auto Re-arm to Capture Multiple Trigger Blocks……268
Acquiring Burst Mode Data (MultiScan/1200 Only)…… 272
Introduction
This chapter walks through the example programs that are supplied on the release disk in the
C:\TEMPVIEW\EXAMPLES\ sub-directory. The \EXAMPLES\ sub-directory contains separate example
folders
\TEMPSCAN\ and \MULTSCAN\ for the TempScan/1100 and MultiScan/1200 respectively, and
each of these folders contains separate example sub-folders
\IEEE488\ and \RS232\ for IEEE 488
and RS-232 applications respectively. 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 begins 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.
The QuickBASIC
PRINT and INPUT commands are used to communicate with the driver. The most-
commonly used driver commands are
ENTER, OUTPUT, and SPOLL, as follows:
ENTER gets data from the selected device, The syntax of the ENTER command is "ENTERaddr",
where
addr is the IEEE 488 address of the instrument. Right after the ENTER command, the
QuickBASIC
INPUT function must be used to bring the data into a language variable.
OUTPUT sends data to the selected device. The syntax of the OUTPUT command is
"OUTPUTaddr;out data"
, where
addr
is the IEEE 488 address of the instrument, and
out data
is the string of characters to send to the device.
SPOLL is an abbreviation for Serial Poll which retrieves an 8-bit status response from the selected
instrument. The syntax of the
SPOLL command is "SPOLLaddr", where addr is the IEEE 488
address of the instrument. Right after the
SPOLL
command, the QuickBASIC
INPUT function must
be used to bring the data into a language variable.
Note:
In all of the following examples, the IEEE 488 bus address is 07
.

Table of Contents

Related product manuals