LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate continuous digital output samples using DAQ Assistant

Solved!
Go to solution

Hi all,

 

I am trying to write a very simple vi that generates continuous samples using DAQ assistant.

I use a digital I/O device (NI-9403) to send digital signals.

When setting up on DAQ Assistant as in a photo attached and hitting "run", it perfectly works and I see my LED light blinking.

However, I do not know how to do the same in LabVIEW vi.

When building through DAQ Assistant as a second photo attached, it gives an error - 200294 (third image) and I am stuck at the moment.

I appreciate your help. Thank you.

Download All
0 Kudos
Message 1 of 4
(2,327 Views)

Suppose you were an expert in Java (or C++, or Python, etc.), and I wrote to you to ask for help on a program (maybe 2 pages of text) and I sent you a picture of my code.  What can you do with a picture?  Isn't it better to look at code?

 

Attach your code (hint -- it is a file with the extension ".vi").

 

Have you spent any time with LabVIEW tutorials, like those mentioned on the first page of this Forum?  Do you know anyone who uses (or knows) LabVIEW?  Ask them for help, or "apprentice" yourself to him (or her).

 

Bob Schor

0 Kudos
Message 2 of 4
(2,300 Views)
Solution
Accepted by topic author shuji_ed

Any expert in DAQmx would recommend ditching the DAQ Assistant and using the DAQmx drivers to have better control over stuff and good learning.

 

This is a good article to learn the basic DAQmx APIs (skip the DAQ assistant part)

https://www.ni.com/en-us/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-ha...

 

You can also convert your existing DAQ Assistant into equivalent DAQmx code by invoking "Generate NI-DAQmx code" in the right-click menu.

santo_13_0-1647400076694.png

 

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
0 Kudos
Message 3 of 4
(2,294 Views)

Dear Santhosh,

 

Thank you very much for the advice.

The link you provided is very helpful.

I will try to generate DAQmx code.

 

 

0 Kudos
Message 4 of 4
(2,274 Views)