Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Using time measures for trigger

Hi,
I'm trying to programm something to trigger a data record. I use a 6601 card to get times between 2 sensors. I use this to get 2 times. And I would like to trigger a data record with these times : start recording when the first time is not 0 and stop when the second is not 0. For this, I've tried like that :
The 2 signals incomming are times. The AND box is plugge to a TRUE/FALSE case structure.
 
I don't understand the error. The 2 datas are the same type, one is connected, the other is not, why ?
Can I do this an other way ?
 
Thank you.
 
 
 
Benjamin.
0 Kudos
Message 1 of 3
(3,303 Views)
Hello Benjamin,
 
I'm not 100% sure what your trying to do. If you want to AND the two results of these equals/not equals as true/false values, you can use the 'convert from dynamic data type' vi, (on the express palette and signal manipulation, and convert these to boolean values. Then the AND function will work as expected.
 
I hope this helps, if you need more info, then just post back.
 
Hannah
NIUK & Ireland
0 Kudos
Message 2 of 3
(3,265 Views)
Hi,
Thank you for your reply, it helps me. There is no error anymore.
 
Benjamin.
0 Kudos
Message 3 of 3
(3,261 Views)