Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Run/execute code on Device (cDAQ-9181 + NI 9482)

$
0
0

I am trying to get familiar with the development for National Instruments devices right now. What I have for the moment is a cDAQ-9181 controller and a NI 9482 Relay module.

 

I am able to use it with LabView but for me it is more interesting to develop the tasks by textual programming (ANSI C).

 

I installed LabWindows/CVI and the NI-DAQmx driver for the development. I have access to the device by using the NI-MAX application.

 

So I wrote a simple test application in LabWindows/CVI which can be compiled without errors. But when I press "Debug project" only the console window pops up for a second and then nothing further happens.

 

So my question is, how can I run the code or the compiled file on the actual device?

 

(The code is by the way very simple. I just want to activate one of the Relay channels. So I don't know if it is useful to upload it here in order to answer my question.)

 

Many thanks in advance

Lars


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>