07-23-2012 02:04 PM
Hello,
I had a program working wonderfully with my instruments using GPIB VIs. When the buffer of my instruments was filled, a RQS was set and I would process the information. I would program the instrument such that:
VISA Resource:
:STAT:MEAS:ENAB 512
:*SRE 1
I switched my program using VISA VIs and replaced the above SCPI commands with the VISA Enable Event.vi with Service Request type.
I am getting an OK(error code).
Is this the correct way of mirroring GPIB and VISA RQS?
Danny
07-23-2012 03:05 PM
No. All of your GPIB Writes of SCPI commands would be replaced with VISA Writes of the exact same commands. If you were using the GPIB Wait for RQS, you would replace that with the Wait for RQS on the VISA palette after first enabling the event.