Fluke PM-3370B Sander User Manual


 
GETTING STARTED WITH SCPI PROGRAMMING 2 - 3
<response> A response string sent by the instrument as a response to a
query.
<eot> An "end of text" indication:
0 = program message to be continued (no action)
1 = end of program message (sends End-message + EOI
true)
<term> A "terminate" indication:
0 = response message to be continued (no detection of EOL
character)
256 = end of response message (stops reading after EOL
character)
<timeout> A time out indication, e.g., 11 = 1 second, 12 = 3 seconds,
13 = 10 seconds.
PROGRAM EXAMPLE:
*****
’Initial program statements:
*****
REM $INCLUDE:’c:\pc-gpib\488driv\QBDECL.BAS’ ’
Includes GPIB drivers
CLS
Clears text from PC screen
CALL SendIFC(0)
Clears the GPIB interface
CALL IbTMO(0, 13)
Sets time out at 10 seconds
PROGRAMMING NOTE:
The variable IBCNT% contains the number of response bytes (including NL
)
after reading a response message using the Receive driver.