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

Share Variable Problem

Hello

 

I am using several arrays share variables to send data between my NI-3110RT and 3 computers. The share variables are working well but when I stop the VI that runs on the NI-3110RT the share variables still have the old value in. Even if I disconnect the TCP/IP the share variables still show the old value in. 

 

How can I set my share variables on the 3 computers to zero when my VI on my NI-3110RT is not running but I still have a good TCP/IP connection?

I am using the “Open and Verify Variable Connection.VI” but it gives me no error when I stop sending data from the industrial controller.  

 

Thank you

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

Shared Variables.

 

When you stop the VI, why don't you have the VI write zeroes to the shared variables as the final step of cleanup within the VI before it ends?

0 项奖励
2 条消息(共 3 条)
2,490 次查看

Thank you I will give it a try

0 项奖励
3 条消息(共 3 条)
2,476 次查看