ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with XY graph

Hallo
 
I want to build a XY Graph ( Voltage vs. Current) . Is there anyway to build the Graph without using FOR Loop but only WHILE Loop.
The problem is when I use WHILE alone , I'll get just a point on my Graph .
 
to Understand what i mean plz take a look  on the attached LV
 
Thank you
 
Toni 
0 Kudos
Message 1 of 6
(3,157 Views)

Hi dctoni,

i hope this example helps.

Mike

0 Kudos
Message 2 of 6
(3,153 Views)
Sure. Don't reset the express VI with every iteration. There is an input called reset on the Build XY Graph and the default is True. Just wire a false constant to it. The on-line help says that the default is False but if you right click on the input and select Create Constant, you get a True. If you opne the Express VI, you'll also see the True state as the default.
Message 3 of 6
(3,152 Views)

thank you for your replay

I tried to do like  you told me but it dosn't work on my LV , I don't know where is the Problem

can you help me plz

Toni

0 Kudos
Message 4 of 6
(3,144 Views)

Hi Toni,

add a false constant to your express vi and then it works.

Mike

Message 5 of 6
(3,141 Views)

Thank you guys 

  it works Smiley Very Happy

0 Kudos
Message 6 of 6
(3,132 Views)