Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate with my PXI-5112 Scope on a Real-Time System?

I have a PXI-8187 Controller with LabVIEW-RT on it.  In the same chassis as that controller I have a PXI-7831R RIO card, and my PXI-5112 Scope.  I have made some simple code to create a clock pulse on one of the DIO lines on the RIO card and it compiles and runs.  I also have a terminal block hooked up the the 7831R and a scope probe on the proper terminal block connector.

What I would like to do is create some code on my Windows 2000 host, which calls the NI-SCOPE on the RT System to display what it sees.   Ive tried the calibration example just to see if I could talk to the scope on my RT system, and I havnt had any such luck. 

Ive tried the following to talk to the Scope:

1) Target "LabVIEW for Windows"
a) Use resource name "visa://192.168.1.2/PXI2::14::INSTR" (this is what MAX shows the 5112 to be under the Remote System->Devices & Interfaces)
b) Use resource name "visa://192.168.1.2/PXI2::14"
c) Use resource name "PXI2::14"

2) Target "RT Target 192.168.1.2"
a) Use resource name "visa://192.168.1.2/PXI2::14::INSTR"
b) Use resource name "visa://192.168.1.2/PXI2::14"
c) Use resource name "PXI2::14"

What am I doing wrong, or is this not possible/feasable?

Thank you,
-Sean

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

Hello,

PXI-5112 is not officially supported in LabVIEW RT. Having said that, it does work at times.

But I would still recommend you to try it out with the resourse name as DAQ::14 or PXI2Slot14. Of course you give it an alias too.

Hope this helps if not please repost.

Thanks,

Arun V

National Instruments

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