02-10-2012 05:46 PM
Can a build executable with Vision components be run on a non-vision system with limited functionality?
Meaning:
I code a program that has mutilple functions - one of which is Vision. I want to send this code to a system that doesn't have the Vision RTE and have it run in a limited-use mode, being able to run all other functions except the Vision stuff.
I would assume this would be accomplished using the Conditional Disable Structure, but I don't know what Condition to use.
02-11-2012 12:23 PM
Conditional Disable structures are evaluted at compile time, not at run time, so you'd need two separate executables. I don't know what error you get when you try to run your executable when the vision run-time is not available. If it's an error you can catch in your LabVIEW code, then you should be able to catch that error and proceed. If your code won't even load, then you'll need to do more work. One possibility is to load the Vision-specific VIs by reference only after you check if the Vision components are available.