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

Controlling two or more Eurotherm temperature controller

已解决!
转到解答

Hi all,

 

I am using 3216 Eurotherm temperature controller which has LabVIEW driver. The provided .vi can be used for monitoring and controlling the controller. However, when i connect two or more similar controller using serial cable, i can only monitor because everytime i tried to change the set point, the LabVIEW hang. Basically i copy paste the existing block diagram and make it double. It works only for monitoring, but not for controlling. I do not know where the wrong is. Please help.

 

Attached is the vi from Eurotherm and the one i modified for 2 controllers.


Thanks for all your help.

 

Usman

0 项奖励
1 条消息(共 7 条)
3,601 次查看

You cannot control both instruments in parallel on a single serial port. You should make sure to query one instrument and afterwards the other.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 项奖励
2 条消息(共 7 条)
3,591 次查看

I understood what you meant. I sent the query to one instrument then it hangs, even before I was able to send query to the other one. There must be something wrong with the block diagram as it can monitor process value in both instruments

0 项奖励
3 条消息(共 7 条)
3,552 次查看
解答
已被主题作者 usman_o 接受

In the standard loop (no setting, no acknowledge), you read process variables by means of oner eading vi. I guess that this reading vi is not set as reentrant - although I cannot verify, because I don't have this vi - , so the two queries are automatically serialized: the program runs one instance of the vi, then the other instance. When you add another query (e.g. the setting), this automatic serialization does not work anymore, since the setting vi and the reading vi can be run at once.

Did you try to serialize the whole sequence?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 项奖励
4 条消息(共 7 条)
3,546 次查看
解答
已被主题作者 usman_o 接受

Thanks Paolo,

 

I understood what you meant and finally i managed to modify the diagram so that it can work for monitoring and controlling more than 2 Eurotherm temperature controller.

0 项奖励
5 条消息(共 7 条)
3,526 次查看

Hi usman/Paolo..

 

I am also facing same situation, with 35xx eurotherm controller for controlling..when tried to open your file ..its of higher version ..i am currently using labview 2014..can you send me the vi file revised one so it will be helpful.

 

Thanks&Reagrds

Sanvi

0 项奖励
6 条消息(共 7 条)
3,041 次查看

Would it be possible for me to see your vi? I'm running into the same issue but can't figure it out

0 项奖励
7 条消息(共 7 条)
766 次查看