Hi LAVA,
I need some help.
I have a motor that moves a tray.
During the movement of the tray, 2 switches will change value.
I want to read out the counter value / motor position when the signal of the switches changes. (rising and falling edges)
At this moment the only thing I can think off is a loop vi that reads the value of the swicthes and motorposition and evaluate the swicth states... But i'd rather have the position reading triggered by the digital lines.
I'm running LV2010SP1, DAQmx 9.4
Hardware:
cDAQ chassis: 9178
NI 9401 module => encoder signals are connected to this one.
NI 9403 module=> 2 digital inputs(so the switches) are connected here.
Thanks in advance for your help.
Best regards,
Wim