8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
11
Introduction to Programming
1
•
Especially when using VXI-11 connections, lock the device.
Otherwise one controller may get the reply for another controller’s
query.
•
If the device is locked in a VISA socket connection, you can still
access it using raw sockets (that is, through directly using sockets).
• When using sockets (VISA and raw) there are some extra points to be
aware of:
•
Always append a ‘newline’ to your command or query.
•
Don’t use indefinite blocks.
•
It is the programmer’s responsibility to make sure all the transmitted
data is read.
•
The Agilent VISA Assistant is confused by ‘newline’ inside a reply. In
this case, click the button [viScanf] until the whole reply is read.
• VXI-11 connections are about 50% slower than Socket