I'm trying to write a VI that can be run anywhere on a LAN and control the same set of controls as any other duplicate copies of the VI running elsewhere on the LAN.
I use the datasocket server as the communication point for these controls. If I run two identical copies of the VI on one machine... utilizing the datasocket server, both copies of the VI can publish and subscribe.
However, if I move one copy of the VI to a different machine - then only the FIRST machine to publish can publish. It seems that because machine 1 created the dataitem(for a control) initially it is the only one w/ any write access to it thereafter. machine 2 has no problem reading the dataitem but can't wri
te the dataitem.
I tested this both ways - publishing from machine 1 first and publishing from machine 2 first and in both cases it was the machine that published first that had exclusive write priviledges.
As you can do in the DS server manager w/ predefined constants - I need to be able to allow multiple writers.(resource sharing is taken care of by my VI so don't worry about 2 VIs trying to write the dataitem at the same time)
In the DS server manager I made sure that machine 1 and machine 2 both had ALL creation, read, write and whatever else permissions were available. It seems to me that w/ these permissions set as such, both machines should be able to write to the dataitem.
Has anyone else encountered this problem or have an idea as to how I could fix or get around it?
Thank you a million times.
Jim