02-18-2011 11:04 AM
02-18-2011 11:07 AM - edited 02-18-2011 11:07 AM
Hi Swen,
What do you mean with 'on the host side'?
No matter where the engine runs (windows or RT) the driver VI is the same, which means in either case the Init and Start case is executed.
Tom
02-18-2011 11:21 AM
02-18-2011 11:23 AM
02-18-2011 11:26 AM
02-18-2011 11:32 AM
Hey Swen,
there is no concept of a synchronized service between launching the custom device (CD) and the host system.
Once all items are deployed and ready to go, the deploy dialog will report that the deployment has been successful and the workspace is ready to go.
However, what we do have though is so called 'Action VIs' in System Explorer (SE). Each node withint your custom device may have those action VIs registered.
In your specific case I can think of two possible action VIs that might help you out here:
The AVC is ONLY executed when the system definition file (SDF) is compiled. Whether a SDF is compiled or not depends on what is currently running/available on the engine. Let's assume you run an SDF for the first time, the SDF will be compiled at this point. After some time you decide to stop the engine (undeploy) and then some time after you decide to run it again. In this case, the compilation will not happen since the SDF has not changed. Only if you open the SDF in SE, make a change and save it, the compilation is triggered on the next deployment.
The AVD is executed EVERY time the SDF is downloaded. This does not apply if you just disconnect and reconnect (since the SDF is already downloaded) though.
Let me know if one of those two might be of interest for you.
Tom
02-21-2011 02:37 AM
02-21-2011 09:55 AM
The Action VI on Download occurs during deployment, so at this time VeriStand shouldn't be publishing any state events. What type of system information are you looking to obtain?
02-22-2011 02:56 AM
Jarrod,
if I would configure one or more services to be started by VeriStand I would like to know about the systems current state inside of these services Is it idle/deploying/running etc. So again, are there any API calls or events with which I can get informations about VeriStands current state?