12-08-2003 01:13 PM
12-10-2003 01:36 PM
12-11-2003 08:04 AM
12-11-2003
11:35 AM
- last edited on
11-07-2025
05:02 PM
by
Content Cleaner
Duke,
I'm not exactly sure what message you're wanting to send to the device; I am not familiar with the BASIC syntax that you are referring to, especially since all your reads, writes, and commands start with the "LISTEN" directive?
As you may or may not know, you can address a GPIB device to send data or to send a command. To address a device and send data (like a "*IDN?" or some sort of query for measurements), you will want to use GPIB Write and GPIB Read VI's. For commands, you can use GPIB CMD. However, the command value 4 doesn't make much sense by itself. "4" stands for "Selected Device Clear" in the GPIB multiline messages.
Should you be sending the "4" command (Selected Device Clear)?? Or just the 4 data? If you want to send the
command, you probably would send a "talker aa, Listener xx, subaddress yy" command to the bus to specify where you want the command to be sent, where aa is the GPIB address of your board, xx is your device's gpib address, and yy is your device's sub address.
Hope this helps.
Scott
12-11-2003 02:11 PM
12-11-2003 03:38 PM