Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically generate SRQ

Hi everybody,

 

I am writing an instrument driver based on VISA API for an electronic load device (from a german brand, "Elektro Automatic"). The device is successfully accessed as a TCP/IP socket ressource thanks to VISA API (init, reset, close, identity queries, device configuration...). 

 

The only problem is that this device is not able to generate  SRQs (it is written in its programming guide), and I have an heavy test system software that relies on the use of SRQ if any device encounters a problem. The system must see a SRQ to properly stop the running test and close every initialized device.

 

I periodically poll the status byte of my device to get its state in one of my driver's separated thread. I am able to detect a default on the device, and I would like, from my driver's code, to programmatically generate a SRQ.

 

Does anyone knows if it is only possible ?

 

Thank you for your answer !

 

Best regards,

 

François.

0 Kudos
Message 1 of 2
(2,408 Views)

Hi François,

 

Not that I do not want to answer your question but did you check the VIs Elektro Automatik is proposing?

http://elektroautomatik.de/en/labview.html

 

Thanks

Junior

0 Kudos
Message 2 of 2
(2,359 Views)