From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-24-2011 03:18 PM
Im trying to get my ecg data to continious run but It seems when I use my "while loop" it does continue out the loop but does give me more than one interval of ECG data and I get nothing pass the MultiResoltion analysis.
MY data doesn't even proceed pass my Lopp if I use a timed loop or a For loop.
Anyone have any advice?
Thank You in Advance!
01-24-2011 03:39 PM
That is because your while loop is an infinite loop. You never exit your while loop so your data processing which is dependent on it won't execute.
01-25-2011 01:56 PM
I actually just want it to run the duration of 60secs but when i use a timed loop it never leave the loop. When I Use the while loop the Data does leave becuase I get one sample....but thats all I get.
As for this while loop I don't really have any conditions I just need it to run long enough to give me enough ecg smaples that its readable. I plan to replace simulated porption becuase my ultimate goal is to read Live data.
Any Adivce?'
Thankyou 🙂
01-25-2011 01:56 PM
I actually just want it to run the duration of 60secs but when i use a timed loop it never leave the loop. When I Use the while loop the Data does leave becuase I get one sample....but thats all I get.
As for this while loop I don't really have any conditions I just need it to run long enough to give me enough ecg smaples that its readable. I plan to replace simulated porption becuase my ultimate goal is to read Live data.
Any Adivce?'
Thankyou 🙂
01-25-2011 02:48 PM
@lwill85 wrote:
I actually just want it to run the duration of 60secs but when i use a timed loop it never leave the loop. When I Use the while loop the Data does leave becuase I get one sample....but thats all I get.
As for this while loop I don't really have any conditions I just need it to run long enough to give me enough ecg smaples that its readable. I plan to replace simulated porption becuase my ultimate goal is to read Live data.
Any Adivce?'
Thankyou 🙂
That is your condition right there. You can have a while loop that aquires samples and then stops after 60 seconds (or N number of samples if you prefer).