LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Outputting data from the sub vi at the same rate

Hi Stuart,

      As with DAQ VIs, the "Reset" would be used on 1st iteration of _callers_ loop.  This way you can do some editing and start-over fresh - unlike the code shown.  Is the code shown called repeatedly during a run?  If so, is the value of your "Elements Subtracted" increased between calls?  If not, loop won't iterate more than once on susequent calls to VI - which sounds like the problem you're describing.  No need to reply if this is way off base!  (... but hope it helps)

re; "Nice build-up of 20 values"

?  - When Read Tag returns, it adds one value to the array, not 20.  If the outside loop terminates, you'll get one new element per call to this VI.  See note above.  

cheers

P.S. Holy cow, I've gone back in time!  Smiley Surprised

Message Edited by Dynamik on 09-29-2005 04:01 PM

Message Edited by Dynamik on 09-29-2005 04:11 PM

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 11 of 11
(277 Views)