1

I would like to trigger a few measurement devices at the same time over GPIB. There is a GPIB function "GET" which works with LabVIEW, that I would like to use with pyVISA.

Can I send this global GET command with pyVISA?

Stephen Rauch
  • 47,830
  • 31
  • 106
  • 135
Philipp
  • 23
  • 4

1 Answers1

1

PyVisa class GPIBInterface has support for group_execute_trigger.

 intf.group_execute_trigger(instrument1, instrument2, ...):

(Source)

Example:

import visa
rm = visa.ResourceManager()
intf = rm.open_resource('GPIB0::INTFC')
inst1 = rm.open_resource('GPIB0::11::INSTR')
inst2 = rm.open_resource('GPIB0::12::INSTR')
intf.group_execute_trigger(inst1, inst2)

(Source)

Stephen Rauch
  • 47,830
  • 31
  • 106
  • 135