03-21-2011 05:31 AM
Goodmorning,
I have a problem configuring the channels, I want configure some channels as input and other as output.
My HW configuration is the following:
03-23-2011 11:50 AM
Have a look at the examples for Digital IO:
C:\Dokumente und Einstellungen\All Users\Dokumente\National Instruments\NI-DAQ\Examples\DotNET3.5\Digital
(If you do not have these examples you have to re-install NI-DAQmx and select .NET 3.5 examples within the installation wizzard.)
Have a look how to create a task and channels (or use examples above):
http://zone.ni.com/devzone/cda/tut/p/id/5409
You have to use
myTask.DOChannels.CreateChannel(...);
myTask.DIChannels.CreateChannel(...);