From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i read external .vascr file ?


I want to in the case of the program structure does not change, only change from vascr (Vision Assistant), apply the program changes, just update vascr file for program use

0 Kudos
Message 1 of 6
(4,568 Views)
Could not understand your question

But you can directly use Vision assistant and call vascr file in LabVIEW vision assistant express VI (Although you can modify the script with express VI as well)..!
0 Kudos
Message 2 of 6
(4,562 Views)
First not sure whether i understood question clearly
-So you want to update the vision assistant script to modify something but not code?
-To my knowledge, you can only open vision script with Vision Assistant only.
Thanks
uday
0 Kudos
Message 3 of 6
(4,560 Views)

When I build a program, just want to change from the outside .vascr, so that the original program without the changes, it has been updated.

In other words, I just want to change the visual parameters from the outside, in order to modify the program

0 Kudos
Message 4 of 6
(4,556 Views)
use case structure with several .vascr, file then you can switch between them
0 Kudos
Message 5 of 6
(4,553 Views)

The closest to what you describe can be done by using the Vision Assistant Express VI.

When you drop the Vision Assistant Express VI, it launches Vision Assistant and you can create your vision processing algorithm.

When you close Vision Assistant, the software will generate the code implementing your algorithm, as well as the vascr file in the Express VI.

To update the vascr file and code generated in the Express VI, just double click on it. You will be able to edit your script in Vision Assistant.

 

However, there is no way to programatically open a vascr file and run it (ie, you can't have a path to a vascr file on your diagram, open it and run it).

 

What you describe is possible with another software called Vision Builder AI, and a feature called the Vision Builder AI API.

 

Hope that makes sense.

 

Christophe

 

0 Kudos
Message 6 of 6
(4,536 Views)