From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA programming for PXI devices

Im using PXI 1031 with celeron 850 mhz embedded controller. Pxi serial interface is connected on one of the slots, and have 2 RS422 serial devices connected.
I wanted to know how to use VISA to communicate and control devices. I am also confused as to running VISA on the PXI controller.
I would also like to know:
1) If the PXI chassis with the serial interface is connected to a PC via the ethernet, how would the I communicate with the Serial devices. would it be detected as a PXI device or as a serial device?
2) If I load VISA on the pxi controller, how would VISA detect the serial devices. would it detect as a Serial device or as a PXI device?
Hope im clear enough.
Please reply at the earliest.
0 Kudos
Message 1 of 2
(2,948 Views)
Hello,

The remote connection you use to talk to your PXI chassis should not affect your VISA programming. More specifically, a PXI serial interface should show up as a COM port, and you can use VISA to communicate with it via its resource name (usually an alias such as COM2). How you use VISA will depend on your choice for development platform. For example, in LabVIEW you could use VISA Configure Serial Port.vi along with VISA Write, VISA Read, and VISA Close functions. You may also use a property node for more advanced features. In any event, if you repost with your choice of development environment, I can likely point you to an example you can use to get more comfortable.

Regards,

JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 2
(2,948 Views)