Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Use py-visa to control NI PXIe cards?

I'm familiar with NI equipment offerings and their LabVIEW tools, but I haven't been a user of them.  Instead, I have been limited by what equipment is available to use.  To automate things, I have been using py-visa with good results.  Now, I've been asked to incorporate some NI PXIe equipment into a setup we have that utilizes py-visa for automation and control.  Since NI offers VISA and LabVIEW can control instruments with VISA, I've been having trouble finding documentation stating if I can control NI equipment with py-visa or not.  Is that possible or is LabVIEW the only option to control and automate NI's PXIe equipment?

0 Kudos
Message 1 of 5
(3,285 Views)

All NI PXI hardware have specific drivers and supports multiple programming languages. Based on the instrument you need to control, you have to use those Driver API. PXI instruments are not VISA compatible as far as I know.

 

BTW, to use these drivers, you don't need to have LabVIEW.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 2 of 5
(3,256 Views)

Thank you Santhosh.  Glad to know all that is needed is the driver and understanding of the API to connect to the driver in order to talk with an instrument.  This then brings up the question of driver API support with Python in a Linux environment.  One benefit with Python is that my instrument control has worked from Python for Windows and in so far every Linux distro we've tried.  Is there limited support for these drivers in Linux environments?

0 Kudos
Message 3 of 5
(3,252 Views)

Please check here for the hardware and python driver https://www.ni.com/en-in/support/documentation/supplemental/16/python-resources-for-ni-hardware-and-...

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 4 of 5
(3,203 Views)

Thank you again Santhosh.  You've given me quite a bit to dig into.

0 Kudos
Message 5 of 5
(3,195 Views)