Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

2 counter inputs with daqmx 6218

Hi,

I have a NI 6218 and i need to read 2 counter input at same time. When i use DAQ Asistant, i can not select two counter channels. When i use low level vis, two counter channels work properly but after one counter signal stopped, the program stops.

Could you send me any example codes to read 2 counter inputs with DAQmx

Thank you 

0 Kudos
Message 1 of 2
(2,982 Views)

Hello Aero_b,

 

If you have independent loops for each counter input task, you should be able to run your code and stop them independently without stopping the program because each loop has its own Stop button.

 

Regards,

 

Alina M

0 Kudos
Message 2 of 2
(2,961 Views)