Hi everyone !
I´m developing an application which makes extensive use ov VI Server. I´m going to give a short explanation of it before going ahead.
This application is supposed to run, simultaneously, on three different PCs, namely, ESTACAO_A, ESTACAO_B and ESTACAO_C, which share an Ethernet network. One feature of it is that it has a master / client architecture which means that, when one of the named PCs is the master, the others are the slaves. Anytime the user operating a slave PC can require command from that operating the master PC and, if this user acquiesces it, it becomes the new master.
This application communicates with an PLC using LabVIEW DSC and the master / client architecture was necessary because the application must run on three diferent computers, as said before, and each one of the slaves must monitor the state of the process under surveillance. That´s when VI Server gets in ! I found it was easier to implement this architecture using it than if I decided to use the TCP/IP VIs. The problem is that when I run the application on the PCs ESTACAO_A and ESTACAO_B only, ESTACAO_A and ESTACAO_C only and on the PCs ESTACAO_B and ESTACAO_C it works quite well but, when it is executed on the three PCs, and the user of ESTACAO_B requires to become the master, sometimes the application will crash on ESTACAO_B, and that will make the application crash on the other two PCs, since they won´t be able to communicate with the PC which was supposed to become the new master, in this case, ESTACAO_B. For the sake of information I tell you that when I ping the other machines on ESTACAO_B it takes a longer time to respond than that taken when I ping the other machines on ESTACAO_A and ESTACAO_C. I´m beginning to think it has something to do with it.
Any help will be deeply appreciated.