06-14-2011 09:11 AM
Hello,
I would just like some help with my code. I made one digital signal (Digital Waveform Graph 2) ang I would like to generate him on digital output on my DAQ (NI USB- 6212). How can I do that? If maybe someone has a similar code...
Thanks
Solved! Go to Solution.
06-15-2011 06:22 AM
Hi,
What you need to add is a DAQ Assistant VI, from the Measurement I/O- DAQmx palette. This is the most simple solution. Its input, if you select digital signal generation, will be an array of digital waveforms.
Use the Build Array function to create a 1-element array from your digital waveform and wire the array to the DAQ Assistant.
There are many examples for DAQmx driver, just go in the Help Menu and select Find Examples.
Please let us know if you have more questions!
Patricia
06-17-2011 01:59 AM
Thanks!
06-20-2014 12:16 AM
Hi
When i am trying as you said in my application using NI myDAQ, i am getting an error like as shown below.
please give me a solution for this problem. i am attaching the VI and the error.
06-20-2014 01:08 AM
06-20-2014 01:41 AM
HI knutson
thank you for your information. but
what should i do for getting continuous digital signals from NI myDAQ to control the switches?
what should i do to control the motor using myDAQ in realtime?
06-20-2014 05:54 AM
thank you for your information
As you said i tried with single sample in DAQ assistant and for input signals which are comparing and i got the results.