Our online shopping is experiencing intermittent service disruptions.
Support teams are actively working on the resolution.
Our online shopping is experiencing intermittent service disruptions.
Support teams are actively working on the resolution.
05-11-2011 05:03 PM
Thanks for the reply, I tried that, but that just shows the current level of the tank.
05-11-2011 05:29 PM
Wrong Add.vi. Use the output of the one to the left (I think there were only two). It is adding the two booleans (converted to floats) so the output is always 0, 1 or 2.
05-11-2011 05:36 PM
The "untitled" vi with the state machine doesn't really have the pumps fill the tank. It only turns on the LEDs for the pumps and instead of drawing out a random number for the outflow it adds a random number for the inflow. Attached is a LabVIEW 8 version of the vi I posted earlier, with a few modifications. It does not use the nice elegant state machine formulation, but I thought that it would be easier for a LabVIEW beginner to understand because the logic is all laid out linearly. The pump capacities can be changed individually and the inflows, outflow and net change are shown on indicators. I also fixed the behavior of pump 2 to stay on until the tank is full.
All other changes/modifications/additions are left as an exercise to the reader.
Richard
05-11-2011 05:37 PM
Ahh, I see why I am confused. You are referring to Richard2950's vi where as I am using Raven Fan's. I am messing around this his to try to figure out how to do that but I can seem to figure it out
05-11-2011 05:45 PM - edited 05-11-2011 05:48 PM
Ahh, you're right. Sorry about the confusion. This is also very easy... see attached mod.
EDIT: BTW, have you looked at the shipping examples. Check out Tank Simulation.vi. There are many others, some that need toolkits, but all are very instructive.
05-11-2011 05:54 PM
Could you please resave that as a version 9.0 vi if you dont mind. I dont have the latest
05-11-2011 05:59 PM
Oh yeah. Here you go...
05-11-2011 06:03 PM
Lol.. I feel like a pest bugging you, but it says it is still a newer version(10.0)
05-11-2011 06:18 PM
Try this...
Just in case:
05-11-2011 06:25 PM
Thank you. That works perfect, so simple but couldnt figure it out..