Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RSQ GPIB convert to RQS VISA problem.

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

 

 

0 Kudos
Message 1 of 2
(3,215 Views)

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.

0 Kudos
Message 2 of 2
(3,205 Views)