LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array basic help needed..

Hello ,
 
I wanted to know how to input a series of values and then sweep them over a particular range and generate a graph, of the same, I have tried to make an array with the help from Labview but havent gone far enough to complete it. I have added a graph to display. Kindly help. Thanks in adavnce.
 
 
0 Kudos
Message 1 of 6
(2,857 Views)
It's not clear what you mean by "input a series of values and then sweep them over a particular range". What are you sweeping, and what's the sweeping doing? Why don't you post what you've got so far, as that might make things more clear.
0 Kudos
Message 2 of 6
(2,847 Views)

Sorry for the ambiguity, I want to input 10 different voltage values( say 0 -10 v) then over a range of I values( Say 0 -5 A) i wanna plot them. the I values remain constant and voltage value changes as the user inputs them.How can I move ahead in this.

Thanks for the help.

RK

0 Kudos
Message 3 of 6
(2,845 Views)

Use a loop to build an array, or use the Build Array function.  Use Array Subset function to extract the elements you want to graph and wire the array directly to the graph.

Like this:

 

Message Edited by tbob on 07-18-2007 02:22 PM

- tbob

Inventor of the WORM Global
Message 4 of 6
(2,835 Views)
That would just plot a subset of voltages, and it sounds like the user is actually trying to plot an voltage vs current curve. In this case you need an XY Graph. Plop down an XY Graph on the front panel and in the diagram just do this:

If you have the Help Window open you can place the cursor over the graph terminal on the block diagram and the help window will show you what you need to wire up to the graph.

Message Edited by smercurio_fc on 07-18-2007 04:40 PM

Message 5 of 6
(2,824 Views)

Thanks a lot. this works and based on this I can move forward. Thanks again for prompt help.

RK

0 Kudos
Message 6 of 6
(2,821 Views)