LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing DataSocket permission group settings dynamically or how to hack CWDSSINI.DSS

[LV7.1 on XP]
 
Last I checked, there was no way to programatically alter the permission groups for DataSocket Server.   Changes were limited to using DataSocket Server Manager or plugging in different DSS Manager exported setups via file swapping with cwdssini.dss and restarting the DS server.  I feel that I need something more dynamic than that, even if I have to programattically exit the DS Server, edit cwdssini.dss and relaunch DS Server.  It's a rather large and complex app that is virtually finished in a time sensitive situation or I'd just forsake DSS for VIServer transfers.
 
1. Does LV8 provide any different means for dynamic editing of DataSocket Server permission groups?
 
2. Has anybody experienced any success in hacking cwdssini.dss?
 
Thought I'd better ask before attempting to reinvent the wheel.  I have a difficult time understanding why the VI Server provides a mechanism for dynamic permission changes and DSS does not...
 
Any ideas are greatly appreciated.
 
Thanx,
Spaz
 
 

Wish I didn't know now what I didn't know then...Smiley Indifferent

0 Kudos
Message 1 of 2
(2,622 Views)
Spaz,

Unfortunately, there has not been much DataSocket functionality added to LabVIEW 8, so editing the permission groups has not been updated.  I think that swapping the cwdssini file would be the best way to go if you wanted to change any of the config settings.  If you are interested in doing something in more of a timely manner, then you will probably be better off with VI Server, but I don't think you will see much overhead by restarting the DSS.  I have not heard of anyone having success with accessing properties in cwdssini programmitically. 

Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 2 of 2
(2,615 Views)