Is It Possible To Import The Configuration .dss File Programmatically for My Datasocket Server Manager?Primary Software: Utility Software>>Server ExplorerPrimary Software Version: 2.0 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Problem: I need to import the .dss configuration file into the Datasocket Server Manager programmatically. I verified the methods associated with the Datasocket Server Manager's ActiveX but the only two actions allowed are About and Quit. Is it possible to import the configuration .dss file programmatically for my Datasocket Server Manager? Solution: In the help for Datasocket Server it is stated that the DataSocket Server cannot be configured remotely or programmatically but it should be configured locally with the DataSocket Server Manager. It is possible to find this information looking in the Index tab Datasocket Server Manager and selecting OverView following the path Start»All Programs»National Instruments»DataScoket»NI DataSocket Server Help Even if it is not possible to import programmatically the .dss file into the Datasocket Server Manager, however the Datasocket Server and Server Manager Datasocket will always find the configuration file cwdssini.dss, so changing this file will modify the configuration of the Server. In this way the cwdssini.dss file can be replaced with a version that has the changes needed. The cwdssini.dss file is located in the folder National Instruments\datasocket. At the launch of a new server, the changes are automatically loaded. Thus the server must be closed for changes to take effect, as the modified ini file is only read at the launch. To sum up, the .dss configuration file cannot be imported programmatically, however, a simple program can be created that replaces the cwdssini.dss file and then close and launch the server again. Related Links: Configuring a DataSocket Server Attachments:
Report Date: 05/13/2009 Last Updated: 05/27/2009 Document ID: 4XC32O46 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
