01-29-2014 06:27 AM
Hello,
I can produce a certain digital output signal with sampling rate 10kHz with the DAQ-Assistent. Now I'd like to build up the same functionality with the normal DAQ-VIs, as I have to synchronize lateron serveral outputs. However, I failed to get the normal VIs so that they work like the DAQ-assistent. The most important point is getting the arbitrary signal out with 10kHz.
Thanks.
Solved! Go to Solution.
01-29-2014 08:24 AM
There are two ways which might help.
1. Look at the examples which come with DAQmx. Find one which is close to what you want to do. Save it to a different location and with a new name, then modify it as needed.
2. Set up a DAQ Assistant to do what you want. Then right-click on the icon and select Open Front Panel. Click OK or Yes in the dialog which pops ups. You will then have a standard VI with all the DAQmx code which does what the DAQ Assistant did. Ther may be some extra stuff in there which you can remove but it will help you get started.
Lynn
01-29-2014 11:03 AM
Are you getting any errors?
The thing that sticks out to me is a digital waveform with a dt of 0. Instead of the waveform, try just passing in an array of Booleans. Your DAQmx Timing VI already takes care of the clock rate.
01-30-2014 01:11 AM
Thanks a lot. The idea to look inside the DAQ-Assistent helped.