02-12-2015 04:48 AM
Hello,
is there a way to find the system defintion file that is currently deployed on a realtime target?
I know how to get the active project (using the GetActiveProjects method of the Factory class) and I could just open the project-xml file to look for the system definition. However, that is not a very elegant solution.
Can this be done using the official APIs?
Thanks
02-17-2015 02:14 AM
The Workspace API allows you to do so through the Get System State method. It returns the currently active SDF for the selected gateway. It implies that if the RT target is running a SDF on its own (after a reboot for instance), it will return nothing. I'm not sure if there's a way to get the deployed SDF without the help of the gateway 😕
Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.
02-17-2015 06:08 AM
The GetSystemState method does exactly what I was looking for, thanks again!
02-18-2015 02:43 AM
I'm glad this was what you were looking for 🙂
Please set the thread as answered if you get a chance to do it!
--Eric
Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.