LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Excel spreadsheet as input to PID Setpoint Profile VI

Hi Perillo,

 

I am not seeing the same behavior as you.  Run this VI and tell me what happens.

 

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 21 of 27
(1,337 Views)

Hello Justin,

 

Look, I am still using version 8.0. Any chance you can convert it to this version?

 

Thank you!

0 Kudos
Message 22 of 27
(1,316 Views)
Sorry about that
Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 23 of 27
(1,301 Views)

Thanks, Justin.

 

Look, I am still having problems. Like I said before, the VI reads the data as a whole bunch, everything at once, and spits outs only zeroes.

Now, I'll be installing LabView 8.5 in  a couple of days, so maybe that will help fix the problem (who knows?)

Anyways, thank you very much for your support and patience!

0 Kudos
Message 24 of 27
(1,284 Views)
Did the VI that I posted behave like this as well?  The Set point profile VI is read once that is why it is in a loop.  The VI you posted (post 14) will only output one value.
Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 25 of 27
(1,272 Views)

Hi Justin,

 

I attached a screenshot of the VI I used, based on other user's suggestions (including yourself).

 

Thanks again.

0 Kudos
Message 26 of 27
(1,265 Views)

Hello Perillo,

Why are you trying to read values from a spreadsheet into a PID control? What are the values coming from? Will they be the same each time the loop iterates? What are you doing with the PID?

The picture you posted contains 2 unwired array constants (called “setpoint profile”) and a T/F case structure with a true constant wired to it. You can remove all of these if they are not used elsewhere in your (larger) VI.

Upgrading LabVIEW will have no effect on this programmatic issue, though I do recommend upgrading to LabVIEW 8.6 if you have it.

Please explain exactly what you are trying to do with this program, so that we can help you find the best solution.

 

Cheers,

David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
0 Kudos
Message 27 of 27
(1,233 Views)