LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Switching between 2 sets of values controlling the y axis on an xy graph.

Solved!
Go to solution

Morning all,

 

I am very new to this (like 2 days now) and will soon be sitting the Labview core 1 and measurement fundamentals, so bare with me!!

 

Basically I am extracting 2 values from a string that is outputted from a board I have through IP, one value is for mains voltage and the second measurement is for battery voltage.

 

I would like the option to use a control switch to differentiate between what is being inputted the the graph at the push of a button.

 

Is there a way of doing this?

 

Thanks a lot

 

Alex                     Robot Happy 

0 Kudos
Message 1 of 5
(3,052 Views)

Yeah its possible (though I dint understand your problem statement completely, I'm confident it is possible)...!!

--> you can even plot both (MAINS and BATTERY voltage) in the same graph...

 

well do you want to use a control (say a toggle switch) to control what voltage to display (either MAINS or BATTERY)... is it??

 

can u attach few of the samples reading here or what ever u coded so far...??


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 2 of 5
(3,034 Views)

 

 

Hi thanks for the quick response,

 

as i said this is my first go with labview and less than a week trying so please bare with me on the vi as i am probably doing things the long winded way.

 

but basically i am reading from a string and taking the voltage when a system is running on mains power and also from a different section when the system is running on battery power. I would like the graph to have 2 possible inputs which as you said can be toggled either or.

 

i have attached my vi

 

Thanks alot!!

 

Alex

0 Kudos
Message 3 of 5
(3,014 Views)
Solution
Accepted by topic author Detox92

Did you try Select function ?

Message 4 of 5
(3,003 Views)

Spot on thanks!

 

Simple as that!

0 Kudos
Message 5 of 5
(2,996 Views)