LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MIn Max

Hi

i am working on a problem and can't find any solution.

I would like to show a signal x-y in a chart which should be like that one vi.jpg more or less like that.

 

The second problem is, I am using BridgeView (this is LabView V5). I think it could work with Min-Max Plot Indicator, but I have no idea how to prepare the data for this.

 

Coud you give me some example (x: loop counts, y: random number)

 

I tried with this vit.JPG but it doesnt work.

 

Peter

0 Kudos
Message 1 of 8
(2,960 Views)

(shouldn't that be a FOR loop???)

 

You could use a vertical array of "progress bars" with multiple sliders each and some underlying code and fill options.

0 Kudos
Message 2 of 8
(2,943 Views)

@master_pgl wrote:

The second problem is, I am using BridgeView (this is LabView V5).


That is indeed a problem 😊.

 

There are 15 newer versions available. Any plans to upgrade?

 

You can draw anything you like in a picture control. Your shown code actually uses one, although the FP and BD don't seem to match.

 

What you want is just text, lines and rectangles. Drawing a graph like yours would simply be a matter of calculating the correct coordinates.

0 Kudos
Message 3 of 8
(2,881 Views)

This is a great idea and works very simple 😊

vitz.JPG

Thats exactly what I need.

0 Kudos
Message 4 of 8
(2,876 Views)

wiebe@CARYA wrote:

@master_pgl wrote:

The second problem is, I am using BridgeView (this is LabView V5).


That is indeed a problem 😊.

 

There are 15 newer versions available. Any plans to upgrade?

 

 


Unfortunatelly no way. Its an application on a chasis dyno system. An upgrade of LabView would mean to rewrite all the applications running on that system: 2 - 3 million Euro of costs.

0 Kudos
Message 5 of 8
(2,874 Views)

Horizontal bars.PNG

 

Here's a picture control version, just because it's good to have options...

 

It's more complicated, but more flexible (which you might not need). Of course, it would live in a sub VI.

 

If the UI should look a certain way, this is the way to go. Although I doubt the expectations are high for a LV5 program 😋.

 

I'm not sure if LV5 already has the graph picture control overlays. In more recent versions of LabVIEW, the graph and it's picture overlay work really nice together, providing the scaling of the graph, and the flexibility of the picture control.

0 Kudos
Message 6 of 8
(2,866 Views)

@master_pgl wrote:

 

Thats exactly what I need.


Nooo! A shift register resized to a large number of histories is an abomination!

Not scalable! (Tomorrow, your boss wants 200 elements, what are you going to do then??? 🐵

(Also note that the input ti "sin" is in radians, so feeeding it integers will give you some alias wave)

 

(Note that you could also do it with a single bar containing three sliders)

Message 7 of 8
(2,838 Views)

Here's what I had in mind. Probably needs some tweaks.

 

altenbach_0-1585605776808.png

 

 

Message 8 of 8
(2,832 Views)