Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9401 with NI DAQmx

Hello,

 

  I'am I new user of the DAqmx, I use a Ni 9401 ( 8 DIO, 5 V/TTL, Bidirectional, 100 ns) to have angular speed spped with a NiCdaq 9174. 

  I start doing a Labview VI but I have some errors, the first one is as shown in the picture.

  If somone used with the NI 9401 can help.

 

Thanks a lot,

 Firestorm100

 

 

Download All
0 Kudos
Message 1 of 6
(1,350 Views)

You've selected an incorrect channel for the DO operation - you should be selecting DO channel of 9401, instead you have selected a AI channel of some other module

santo_13_0-1635948766277.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 6
(1,327 Views)

Hello,

 

What you have in cDAQ1Mod1 is an analog input module and you cannot configure a digital Output task with it.

 

Saludos.

0 Kudos
Message 3 of 6
(1,325 Views)

Thank for you answer. the problem that when I want to choose my physical channel , I Have olnly ( cdaqmod1 and cdaqmod2 :  I have other card) Not the cdaqmod3 ( NI9401 position):

Firestorm100_0-1636037228580.pngFirestorm100_1-1636037286581.png

Best regards, 

0 Kudos
Message 4 of 6
(1,306 Views)

Looks like you reused a DAQmx AI example and the control is filtering only AI channels.

 

Try deleting the control and creating a new one from the Create DAQmx Task API.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 6
(1,303 Views)

Thanks a lot, I will try this 

0 Kudos
Message 6 of 6
(1,282 Views)