01-30-2008 04:17 PM
02-01-2008 10:59 AM
From these folders, go to Sychronization»Multi-Function to find a couple of examples of doing simultaneous IO tasks. The folders name “cs” are the C# examples. You can take the parts of various examples that you need.
Just as you would call a different instance of the DAQmx Read or Write VIs in LabVIEW, you must call different functions in C# to set up a single channel operation or a multichannel operation. The help files for DAQmx are fully integrated into Visual Studio and explain how to set up tasks and channels. Search the Visual Studio help for DAQmx Classes or DAQmx Task.
You may also want to take a look at these articles:
Using NI-DAQmx in Text Based Programming Environments
http://zone.ni.com/devzone/cda/tut/p/id/5409
Learn 10 Functions in NI-DAQmx and Handle 80% of Your Data Acquisition Applications
http://zone.ni.com/devzone/cda/tut/p/id/2835
I hope this helps!
Regards,