S Mode Functions
Chapter 5
GPIB-232CT User Manual
5-10
© National Instruments Corp.
Examples:
1.
PRINT #1,"CMD"
'Program device at address
'11 to listen and GPIB-
'232CT at address 0 to
'talk.
PRINT #1,"+@"
'Device listen address is
'43 or ASCII + and GPIB-
'232CT talk address is 64
'or ASCII @.
PRINT #1,"WRT"
'Write the string "ABCDE"
PRINT #1,"ABCDE"
'to device at address 11.
2.
PRINT #1,"cmd"+CHR$(13)+"_?W"+CHR$(9)
'Pass control to device 23
'(CHR$(9)=TCT command).