LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView VI Reference for ODE Solver

I received an error code 1026 for an invalid vi reference into my ode solver vi.  I do not know how to correct the issue.  (I basically followed the circuit example that comes in labview).  Any suggests?

 

I have attached two files:  first is the circuit; the second is the rhs equation for the circuit.

Download All
0 Kudos
Message 1 of 4
(3,686 Views)

Hello,

 

I was able to run your VI without any errors. Do you get this error with the VIs you attached to your post? If so, do you have any warnings when you open your main VI? Also, what version of LabVIEW do you have?

 

I would try creating a new Static VI reference to 'ode_equation_2.vi' and wiring this to the ODE solver VI. 

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 2 of 4
(3,662 Views)

Hello,

 

Thank you for getting back to me.  At a first glance, the higher level vi (circuit.vi) does not show an error, but it also doesn't output a graph (which is my main problem).  After doing some initial debugging, I believe the issue was in the rhs equation vi (equation.vi) that I modified from the circuit ODE example in LabView.

 

I have probed the lines coming into the ODE solver subvi in my files (and compared that with LabView circuit ODE example) and concluded that the reason I wasn't getting any output (except zero) was because something was wrong  with my strictly type referenced VI coming into the solver or an issue with the control constants coming into the solver.

 

Nonetheless, I am a novice at LabView and the graduate students that I usually work with are not familiar with the ODE solver in LabView.  I am working on an undergraduate thesis involving room modelling and temperature control using an NI ciRIO-9014 CompactRIO.  Thus, I was trying to model the room as a first order linear differential equation (or at this point a first order RC circuit); and, somehow use LabView's ODE solver to solve my equation (which is a differential with respect to V.R. ~ room temperature). 

 

Any further assistance from you or a number I can call to get one-on-one help with my specific problem would be greatly appreciated.

 

0 Kudos
Message 3 of 4
(3,647 Views)

Hello,

 

To get phone or e-mail support, you need a service contract. If you have one, you can create a service request for support by following this link: www.ni.com/ask. This will get you in touch with one of our applications engineers here.

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 4 of 4
(3,624 Views)