LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling two or more Eurotherm temperature controller

Solved!
Go to solution

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 Kudos
Message 1 of 6
(2,467 Views)

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 Kudos
Message 2 of 6
(2,457 Views)

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 Kudos
Message 3 of 6
(2,418 Views)
Solution
Accepted by 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 Kudos
Message 4 of 6
(2,412 Views)
Solution
Accepted by 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 Kudos
Message 5 of 6
(2,392 Views)

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 Kudos
Message 6 of 6
(1,907 Views)