LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to fit output of XY Graph

Solved!
Go to solution
0 Kudos
Message 11 of 16
(1,279 Views)

That's not a VI. It's a picture, and there's no data. Our help is extremely constrained in this case.

 

EDIT for additional comments: You cannot wire the output of Build XY Graph to the Curve Fit Express VI. Did you take a look at the Help for the Curve Fit Express VI?

Block Diagram Inputs

Parameter Description
Signals Specifies the observed values of the dependent variable.
Locations Specifies the values of the independent variables.
error in (no error) Describes error conditions that occur before this VI or function runs.

 This means that "Signals" should receive Y and "Locations" should receive X. What is generating X and Y?

Message Edited by smercurio_fc on 11-07-2008 01:14 PM
0 Kudos
Message 12 of 16
(1,269 Views)
0 Kudos
Message 13 of 16
(1,257 Views)
Is there an important reason that prevents you from attaching a real VI instead of a picture? 😮
0 Kudos
Message 14 of 16
(1,250 Views)
Also, that doesn't even look like finished code. The event case is not defined, and the case structure has nothing fed to the terminal. Also, you're trying to feed a waveform for the "Y" input for the Build XY Graph Express VI, but a single value for "X". This makes no sense. You need to have as many "X" values as you have "Y" values. Otherwise you get no graph, and no curve fit.
Message 15 of 16
(1,229 Views)
Solution
Accepted by topic author lefterisa
Great, I'd like to thank smercurio_fc and Cory K for all your great support, you guys are awesome.  I finally had some time to look at it and get it to work.
0 Kudos
Message 16 of 16
(1,200 Views)