07-24-2012 02:52 PM
got it....thank you!
07-25-2012 07:31 AM
Hey, I tested the program again to make sure, and it never worked. It actually would not output any data at all.
What do you mean by setting it to false before the for loop?
07-25-2012 08:36 AM
Edit:
It only outputs one data point still and the infuse/withdraw/stop status LEDs don't update themselves like they should. Anybody?
07-25-2012 09:49 AM
@Mike227 wrote:
Hey, I tested the program again to make sure, and it never worked. It actually would not output any data at all.
What do you mean by setting it to false before the for loop?
I don't know any other way to say it. The Boolean obviously has to be false for the while loop to run. Thus you have to make sure it is set to false before either loop runs. You already created a local variable to read. Create another one to write.
07-25-2012 10:47 AM
I got it to output data, but it only starts for the second iteration. The pump moves for the first step, but doesn't record the data. For the second step, it works and records fine. If I fix that then it should complete the program.
07-25-2012 11:58 AM
Bump....
07-25-2012 12:04 PM
Bump for what. You haven't really asked a question or attached your modified code.
07-25-2012 01:26 PM
Man...you guys are tough. Alright, can someone please help me out?
As of right now, the program only runs for one second even though I input a different time interval. I want the data to export to an excel or .txt file.
07-25-2012 01:32 PM
At this point, I am not inclined to help any more. That VI you just attached does not implement either the recomended state machine or even the simple mods I suggested to run the monitor at the same time as the profiles. It will only do the recording after the profiles finish and I have already explained why. Neither is there anything in the for loop to wait between profiles and this has also been explained. Good luck.