取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
21 条消息(共 27 条)
1,383 次查看

Hello Justin,

 

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

 

Thank you!

0 项奖励
22 条消息(共 27 条)
1,362 次查看
Sorry about that
Justin Parker
National Instruments
Product Support Engineer
0 项奖励
23 条消息(共 27 条)
1,347 次查看

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 项奖励
24 条消息(共 27 条)
1,330 次查看
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 项奖励
25 条消息(共 27 条)
1,318 次查看

Hi Justin,

 

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

 

Thanks again.

0 项奖励
26 条消息(共 27 条)
1,311 次查看

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 项奖励
27 条消息(共 27 条)
1,279 次查看