09-03-2021 04:57 AM
Hello Everyone,
I use a cdaq 9174 with two models : NI 9215 to mesure torque and NI 9401 to mesure rotation speed.
I need to use these 2 models to get data from a torque meter.
I did my VI ,for the speed is a digit input and the torque is a analog input.
My question is , I can use one Daqassistant but I will have synchronsation problem between the 2 models? or is better to use 2 Daqassistant ( 1 is for NI9215 and the 2 is for NI9401).
thank's
09-03-2021 06:53 AM
I am just purely against using the DAQ Assistant. You really should learn to use the DAQmx API (start here).
But to your core question: A task can only have 1 type of signal. Digital Input and Analog Input are different types. So you will need 2 tasks in order to do this.
09-03-2021 08:16 AM
HI,
Thank you for your answer.
DAQmx API can only have 1 type of signal and one card Ni in the same time as the Daq assistant?
Best regards,
09-03-2021 08:23 AM
The concept of Task is the same whether you use DAQ Assistant or DAQmx drivers.
FYI - DAQ Assistant also uses DAQmx drivers behind the scenes.