LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like to change data socket server programatically

Hello,

I'm using LabView 7.1 and started using Data Sockets with their functions Open, Read, Write and Close. When I use DS for a simple task everything works easily but in a real application I will need to write from a remote computer, which is not the default. In that case I'll have to define the processes in the server itself, instead of just opening them from the programs, and change the configuration with the Data Socket Manager. I'd prefer to manage the Data Socket Server programatically but I cannot find anything in LabView to do that task.

Thanks,

Marce
0 Kudos
Message 1 of 4
(2,913 Views)
Hello Marce,

Currently there is no way to change user permissions of the Data Socket items through LabVIEW.

To allow outside writers you can user the Server Manager to add remote computers into the DefaultWriters group. Computers that are part of this group will be allowed to publish to your server.

Please let me know if you have any questions.
0 Kudos
Message 2 of 4
(2,872 Views)
Hello Matt,

Thanks for your response. I did n't realize that DefaultWriters is the Permission Group that every item gets for writing permission. I guess I'll need to change the Creators too so all involved computers have all necessary rights. I hope Creators group works the same way as the DefaultWriters and DefaultReaders.

Thanks much,

Marce
0 Kudos
Message 3 of 4
(2,859 Views)
you could try to find out how to edit the datasocket manager configuration file ("C:\Program Files\National Instruments\DataSocket\cwdssini.dss"). If you can find out how to configure that, you will get complete control! Not sure whether NI would appreciate it. the file is not all ascii and may be encrypted, who knows.. Maybe others have tackled this problem in the past.

The ActiveX components of the manager and server allow for the most basic methods: starting and quitting basicly. See attached picure. With this it is at least possible to remotely launch the server..

aartjan
0 Kudos
Message 4 of 4
(2,857 Views)