My app uses DataSockets to communicate between a host and an RT board plugged into that host.
The examples all use the VI "Launch DS Server if Local URL.vi" to start up the DS Server if the URL is local, and if running on Windows. This code works by opening a VI reference to a hard-coded path: "vi.lib\Platform\dataskt.llb\DataSocket Server Control.vi".
My program does that and it works. But I need to build a compiled app, so the VI.library won't exist on my customer's machine.
I have read
this question and answer but I want to know more.
1... Why do they use this roundabout way of calling the VI ? Why not call the "Server Control" vi directly?
2... I can guarantee my app will be used on Windows only, and the connections I make will be on the local host. therefore I can safely bypass the checks. Any reason I can't simply place the SERVER CONTROL VI on my diagram, and be done with it? App or no app, this should work, right?