LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Below Range Minimum

With just those two files, it runs on my machine.
 
However, it seems that "race condition" was close.
 
The problem is that when the cart is incremented, the minimum is trying to be set higher than the previous maximum.  So it sets it equal to the previous maximum.
 
 
0 Kudos
Message 11 of 13
(517 Views)

Perhaps bug is excessive; however, it seems a tremedous inadequcy that you cannot change the min/max simultaneously to avoid this.

Unless there is another way around this, the solution that I had to use was to change the min/max to 0/5000 (more than I will ever have as a max), and then changing the min/max to what I really need.

 

A very schlocky approach to what should be a straightforware operation.

 

0 Kudos
Message 12 of 13
(512 Views)
LabVIEW is first and foremost a dataflow programming language. The VI you posted breaks just about all of the rules for correct programming. I don't see any error in/error out connections wired and I suspect you could write the entire program without a single local variable. There is no bug or inadaquency in LabVIEW itself. Cautions about overusing local variables and ignorring dataflow are all over this forum, the shipping documentation, and LabVIEW classes.
0 Kudos
Message 13 of 13
(503 Views)