Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating gpib "GET" command

How can I generate a GPIB "GET" command to trigger multiple instruments? My current controller cannot do it. Are not all controllers created equal?
0 Kudos
Message 1 of 2
(3,283 Views)
I would assume that all controllers could do this. You need to do low-level commands. To perform a trigger, you need to send the command byte UNL (unlisten, 0x3f) followed by the listen address of each instrument (0x20+Primary Address). If you have seconday addresses (where the secondary address is between 0 and 30), you need to send (0x20 + Primary address, then 0x60 + Secondary Address). After sending all listen addresses, you need to send the command GET (Group Execute Trigger, 0x8).

If you have an NI controller and are using NI-488.2. You need to do this with a board-level handle and the ibcmd method. To send a hex value, use the \x3f, \x8, etc., notation.

Hope this helps.
0 Kudos
Message 2 of 2
(3,283 Views)