Dear new,
Thank you for contacting National Instruments.
To address your question, I'm assuming you're doing Remote Data Acquisition (RDA), a functionality included with LabVIEW, LabWindows/CVI and VI Logger. I found a resource that makes me wonder if what you're attempting to accomplish is possible. I've attached it with this posting.
Under "RDA Installation Considerations", this tutorial states the following. You can power on and off the RDA Clients without affecting the state of the RDA Servers to which the client has assigned local device numbers. Also, you can load and unload the Remote Device Access Server, but you must refresh MAX and click the Test Resources button to reconnect the remote device from the RDA Client to the RDA Server (Th
is I don't think you can do programmatically). In addition, it adds if you assign a local device number to a remote device, NI-DAQ attempts to connect to the RDA Server each time it loads in the RDA Client. If the RDA Server is powered off, the RDA Client appears to stall during this process. This stalling is the timing out of the attempt to connect to the server computer. When the connection fails, any attempt to use the remote device will result in a -10340 (noConnectError) status error code, and you must repeat the configuration process (I also don't think you can do this programmatically).
Let me know if you have any further questions or if this does not resolve your issue.
Thanks again and have a great day!
Chad AE
Applications Engineer - National Instruments