Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the SRQ bit with LabView

Hello,
I am developping an application with LabView RT on a PXI RT system. This application acts as an instrument (non controller GPIB), and I need to assert the SRQ line. How can I do that ?
I know the ibrsv function, but I can't find it in LabView, and I can not use it through a DLL call since GPIB DLLs are not compatible with Real-Time.
Thank you.
0 Kudos
Message 1 of 3
(4,165 Views)
Try using the GPIB MISC function.  I am not 100% sure that it will work in RT, but it works in Windows, and is still visible on the pallette when in an RT project.  The picture below shows how this could be used:

rsv = Command to set the status byte
@ = Hex value 0x40, which equates to the Service Request bit.  You can change this to another value if needed.




Let us know if it works out,

-tuba

Message Edited by tuba on 10-10-2006 11:10 PM

Message 2 of 3
(4,112 Views)

Yes, it works !

Thank you very much Tuba.

0 Kudos
Message 3 of 3
(4,078 Views)