Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling Analog Output of Remote System

Hello, I have an RT target running Linux RT. My host computer is connected to this controller via Ethernet. I have a PXIe-6361 Multifunction IO module in this system. I want to control the analog output of this module using C# on my host computer, but I couldn't find any method to do this. It doesn't need to be real-time; I just want to output on one channel of the analog output. Is there a way to do this with C# without calling VeriStand or LabVIEW? Actually, NI MAX can do this, but I haven't been able to figure out how to do it with C#.
0 Kudos
Message 1 of 4
(615 Views)

You can only run C# on the host but not on the RT target.

You can use gRPC with NI Software and Hardware. Install the gRPC server on the Linux RT target, then run your gRPC Client using C# on the host. All you need are provided in GitHub - ni/grpc-device: gRPC server providing remote access to NI device driver APIs.

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 2 of 4
(588 Views)

I actually don't need to run C# on the RT target in RT target. I only need to access the hardware and run it on the host. For example, a similar situation exists with VISA. I can access the ports of the RT target with the VISA server and use it with C# on the host. However, I couldn't find something similar for DAQmx.

0 Kudos
Message 3 of 4
(550 Views)

That's when gRPC comes into play. Have you read the articles on gRPC device that I shared?

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 4 of 4
(531 Views)