S Mode Functions
Chapter 5
GPIB-232CT User Manual
5-62
© National Instruments Corp.
Examples:
1.
PRINT #1,"wrt #50 9+97" 'Write 50 bytes to
FOR I = 1 TO 50
'device at primary
PRINT #1,CHR$(A(I));
'address 9 and
NEXT I
'secondary address 97.
PRINT #1,CHR$(13);
'Send carriage return.
2.
PRINT #1,"wrt 2"
'Write the data bytes ABCDE
PRINT #1,"ABCDE"
'at device at address 2.