LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Socket Distribution

I'm having trouble getting the data socket server to launch on a machine that doesn't have the full cvi development loaded. I've installed the data socket from the cvi\redist subdirectory and it seems to work from the start menu. When I call the DS_ControlLocalServer (DSConst_ServerLaunch) the server doesn't load. I'm using the local host and have set the data socket server manager to all local host settings. I've also tried to set the install data socket switch to always in the distribution creation window. How do we distribute the data socket with our stand alone programs.
0 Kudos
Message 1 of 3
(3,450 Views)
Hello Kenny,

Make sure you have also included the cviauto.dll and dataskt.dll from
the windows system directory
in your distribution.

>
> I'm having trouble getting the data socket server to launch on a
> machine that doesn't have the full cvi development loaded. I've
> installed the data socket from the cvi\redist subdirectory and it
> seems to work from the start menu. When I call the
> DS_ControlLocalServer (DSConst_ServerLaunch) the server doesn't load.
> I'm using the local host and have set the data socket server manager
> to all local host settings. I've also tried to set the install data
> socket switch to always in the distribution creation window. How do we
> distribute the data socket with our stand alone programs.

Regards
Rainer Zieschang


Software Development
LEMKE DIAGNOSTICS GmbH
www.ldic.de
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
0 Kudos
Message 2 of 3
(3,450 Views)
Actually, to get DataSocket functionality (server and client capabilities) on the target machine, you only have to select the option to install this in the Create Distribution Kit window. I have attached two zip files to my post, one that has a distribution kit that installs DataSocket support and has an application called "test" that programmatically launches and closes the server, and one that contains the source project for this app. If you want to see what the minimum distribution kit options to choose when making your distribution kit to include DataSocket support are, look at the .bmp file in the .zip file that has the distribution kit in it.

If after installing this distribution kit on your target computer, it still does not work, we will have to se
riously question the integrity of the pc and you might want to try uninstalling all NI software from it, reboot the pc, then reinstall the distribution kit again. If it still doesn't work after that, you might want to uninstall again, run a utility like Microsoft's regclean.exe to clean the registry, and then try reinstalling the distribution once more. Lastly, if none of the above solves the problem you might want to try reinstalling the OS (doing a "dirty" install at first, then a reformat and "clean install as a last resort) and then the distribution again.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
Download All
0 Kudos
Message 3 of 3
(3,450 Views)