03-15-2022 03:10 PM
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.
Solved! Go to Solution.
03-15-2022 09:38 PM
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
03-15-2022 10:08 PM
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)
You can also convert your existing DAQ Assistant into equivalent DAQmx code by invoking "Generate NI-DAQmx code" in the right-click menu.
03-17-2022 04:56 AM
Dear Santhosh,
Thank you very much for the advice.
The link you provided is very helpful.
I will try to generate DAQmx code.