11-03-2021 05:12 AM
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
11-03-2021 09:12 AM
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
11-03-2021 09:15 AM
Hello,
What you have in cDAQ1Mod1 is an analog input module and you cannot configure a digital Output task with it.
Saludos.
11-04-2021 09:49 AM
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):
Best regards,
11-04-2021 10:03 AM
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.
11-04-2021 08:00 PM
Thanks a lot, I will try this