Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote control of PXI DAC in PXI chassis

I have a PXI-6793 DAC in a PXI chassis with a PXIe-8821 chassis. I'd like to develop a C++ application to set output voltages on the DAC from a remote computer, what are my options? Perfect timing is not important for this application, so I'm looking for the simplest possible option. Is it possible to open the device for VISA communication and send string commands like "A0:VOLTAGE 0.5 V" directly to the DAC to accomplish this? Or does everything needed to be routed through the controller (with real-time PHAR OS)? If it is possible, are there references anywhere that provide a list of these commands? We have LabView installed on the controller and we can currently update voltages by sending serial commands, but we have to have LabView running on the remote machine as well to run the code on the controller. Ideally, we would like this to run for different laptops which may or may not have LabView installed. 

0 Kudos
Message 1 of 3
(119 Views)

NI PXI hardware use proprietary dlls and drivers to control the hardware unlike the SCPI like command.

 

You must use DAQmx driver C-dll to control 6793 in your C++ code.

https://www.ni.com/en/support/documentation/supplemental/21/using-ni-daqmx-in-text-based-programming...

 

If you wish to control the hardware over the network, you can leverage gRPC device server

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000oxQGCAY&l=en-US

 

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.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(117 Views)

Thanks, this information is helpful. I see that NI Linux RT is supported, but no mention of the older Phar lap OS. Would I need to migrate my machine to the Linux RT before using gRPC?

0 Kudos
Message 3 of 3
(102 Views)