LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Limiting functionality of a built EXE when run on a non-Vision system?

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.

0 Kudos
Message 1 of 2
(2,047 Views)

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.

0 Kudos
Message 2 of 2
(2,041 Views)