07-23-2012 10:42 AM - edited 07-23-2012 10:42 AM
I was wondering if there was any example C/C++ code that showed how to simultaneously write out different values to multiple channels on a cDAQ9264 using the DAQmx library.
07-24-2012 09:34 AM
The examples come with the driver installation, so first you need to be sure that when you installed your drivers you installed the support for text base programs.
Then you can go to Start » All Programs » National Instruments » NI-DAQ » Text base code support » .NET x.x Examples. That will open a new window so please go to Analog Out » Generate Voltage » ContGenVoltageWfm_IntClk » CS
You’ll find there an example to write to an analog output channel.
I hope this helps!
07-24-2012 09:37 AM
Yes I found those examples. What I need is to be able to simultaneously write out varying values to multiple ports.
Thanks for the reply!
07-24-2012 09:43 AM
In that case you can create multiple tasks (with different handlers and timing parameters), but it will remain with the same program structure.