LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to embed configuration of datasocket manager into the application builder

hi
iam building a project that uses Datasocket
how can i make the configuration of the datasocket manager avalible in the installer?
and another quistion how can i make the datasocket server run automaticly when the customer run the application i made
thanx alot
0 Kudos
Message 1 of 6
(3,021 Views)

hi there

1. see http://digital.ni.com/public.nsf/allkb/70E9EC9C17D0561A86256FCD0073D9BB. be sure to add DataSocket support to your installer.

2. call ..\National Instruments\LabVIEW X.Y\vi.lib\platform\dataskt.llb\DataSocket Server Control.vi to start the server

 
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 6
(3,015 Views)
thanx alot that was helpful
but how come the datasocket server control.vi is not on the function pallete
or am i blind ?
0 Kudos
Message 3 of 6
(3,008 Views)
i forgot something
i made some configuration in datasocket manager adn saved it
but in the customer computer the datasocket is not conifigured as i wanted
how can i export that configuration to the installer
0 Kudos
Message 4 of 6
(3,009 Views)
hi there
 
the DataSocket Server Control.vi is part of the Old-School llb for datasocket handling. since LV 6.1 or something datasocket handling is performed by the DataSocket Open/Read/Write/Close functions in the datasocket palette. they just forgot to put the vi inside this palette too (at least they put the DataSocket Select URL.vi to the palette..)
 
i think the datasocket configuration is saved in cwdssini.dss in the datasocket directory (just see the date and time of the file when you save a configuration). add a copy of this file to the additional files list of your installer (see attachment).
 
 
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 5 of 6
(2,997 Views)
many regards
0 Kudos
Message 6 of 6
(2,984 Views)