LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use Numeric to plot gragh ?

scan vi.JPG

 

 How can i display the numeric output from the string to plot onto the gragh ? As for now, once i run the VI, there won't be any output shown on the graph. 

0 Kudos
Message 1 of 10
(3,834 Views)

Hi falcoz,

currently its only one point. You can see this point if you change the plotstyle.

 

Mike

0 Kudos
Message 2 of 10
(3,825 Views)

Right click on the Reset input and select "Create Constant". If it creates a True constant, change it to false.

 

Since I don't see a while loop anywhere, you will only get a single point. Your point style is probably set to none so you would not see anything. Change that.

0 Kudos
Message 3 of 10
(3,824 Views)

scan vi 1.JPG

 

 Thanks alot. I have change the plotstyle and awhile loop. I can manually draw a graph now but if i would like to simulate a voltage and current value into graph, how can i do it ? By inserting array or ? If is insert array, where do i place it ? 

0 Kudos
Message 4 of 10
(3,809 Views)

You can just build array

 

 

curvsvol.JPG

0 Kudos
Message 5 of 10
(3,757 Views)
thanks muks, but how can i combine the array with my VI as my input is a string and the output is actually separated out into voltage and current.
0 Kudos
Message 6 of 10
(3,746 Views)
I am not getting it. Can you tell me what is your input and expected output?
0 Kudos
Message 7 of 10
(3,740 Views)
As you can see from my attached VI in the earlier post, in the string box (eg. 4.23 V 4193uA ), it is actually separated into Voltage box and Current box.  My idea is how can i create a string array to simulate onto the voltage and current graph.
0 Kudos
Message 8 of 10
(3,736 Views)
You mean to say you will be continously getting values like (4v3a5v2a etc)
0 Kudos
Message 9 of 10
(3,722 Views)
Yes muks.
0 Kudos
Message 10 of 10
(3,720 Views)