beautypg.com

7 programming example, 8 programming precautions – GW Instek APS-1102A User Manual User Manual

Page 241

background image

6 REMOTE INTERFACE

APS-1102A

6-57

6.7 Programming example

Refer to "Remote Control Programming Example" included in the attached CD-ROM.

6.8 Programming Precautions

a) Arbitrary waveform data

Arbitrary waveform data comprises a block of binary data. The preceding ASCII program message

command field and the binary data block arbitrary waveform data should be transferred at the same

time. Always transfer arbitrary waveform data in 4096-word (8192-byte) batches. If the data count is

insufficient, an error may occur, in which case the correct waveforms cannot be output.

b) Caution concerning commands issued via the USB interface

When transferring commands, LF (0AH) must be appended at the end of the transmitted message

string as the program message terminator. If a command is sent without appending this LF, operation

will be incorrect.

6.9 Notes on Remote Control

If you are using USB interface and your PC environment is as follows, be sure to exit the program before

turning off this product. Otherwise, the program will be forced to shut down and some processes will

remain on OS because the VISA driver software cannot detect that power of this product is surely off.

OS:

Windows VISTA

VISA driver software:

NI-VISA