LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

outputting a data point every second

Solved!
Go to solution

got it....thank you!

0 Kudos
Message 21 of 29
(1,280 Views)

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?

0 Kudos
Message 22 of 29
(1,270 Views)

Edit:

 

It only outputs one data point still and the infuse/withdraw/stop status LEDs don't update themselves like they should. Anybody?

0 Kudos
Message 23 of 29
(1,264 Views)

@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.

0 Kudos
Message 24 of 29
(1,258 Views)

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.

0 Kudos
Message 25 of 29
(1,251 Views)

Bump....

0 Kudos
Message 26 of 29
(1,245 Views)

Bump for what. You haven't really asked a question or attached your modified code.

0 Kudos
Message 27 of 29
(1,242 Views)

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.

0 Kudos
Message 28 of 29
(1,235 Views)

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.

Message 29 of 29
(1,232 Views)