Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

Ticker never stops

$
0
0

Hi all! I'm some "months old" with LabVIEW and, obviously, I'm having some problems. After looking for at the forums I found no problem like mine so...

 

I think it's very important to say I didn't develop the actual vi. Someone did it but left the company and now, I have to "clean" it and make it work ASAP. I usually program using Objective-C and Assembler. Let's say LabVIEW is "slightly" different ;-)

 

 

Just for explanation purposes let's say I have to send a signal to close a contact on a relay, check the voltage on the contacts and check again if it's physically closed. After all I have to measure how long it took.  To go through this process the vi is using two sequences on different case loops. On first case - first sequence there is a ticker to take the actual ms value, on last sequence - second case there is a second ticker to do the subtraction and give some ms as result. it is a very fast process; it usually takes no more than 20ms

 

The most of the times it works but very randomly, the second ticker looks like is never stopping. And, obviously, the subtraction is not working correctly.

 

First sequence - first caseLast sequence - second case

Maybe someone can tell me why is the ticker (I replaced them for the OpenG versions) never stopping! ;-)

 

Thx for your time in advance!

 

BenRoura


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>