Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9403 I/O Configuration

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:

 

  • 1 NI cDAQ-9178
  • 3 NI 9403
  • 4 NI 9205
  • 1 NI 9264
I'm working at my SW in VB.NET (.NET Framework 3.5)
I have searched on the Help and on the web but I'm not able to find nothing written about the possibility how to set  the digital channels on NI9403
I want configure my DIO channels as 24 output channles and 8 input channels (precisely the last height channels, from the DIO24 to DIO31).
Someone can help me to solve this problem?
Thanks in advance at all for the cooperation.
Regards,
Davide.

 

0 Kudos
Message 1 of 2
(4,470 Views)

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(...);

0 Kudos
Message 2 of 2
(4,439 Views)