01-30-2007 12:54 PM
01-31-2007 05:18 PM
Hello Tchaou,
Calling a LabVIEW vi from VBAI is normally very straightforward. There is nothing extra in VBAI that you need to install for this functionality. One thing I would like to point out is that with VBAI 3.0, you will need to use vi’s created in LabVIEW 8.0.1. Please ensure that this is the case. You can also take a look at the Chocolates Inspection.vbai example inspection in VBAI. It calls a LabVIEW vi, and you may be able to apply the configuration there to your code. Also take a look at the help for the Run LabVIEW VI step in VBAI. In here it lists information about getting Run LabVIEW VI to function properly. One thing that it notes is that you will need to save a vi for distribution if you are using it on a remote target, such as the CVS 1450. Please let us know if you have further questions.
Regards,02-23-2007 08:46 AM
02-23-2007 10:26 AM
02-23-2007 01:34 PM
Hi Christophe,
Thanks a lot for your answer. Now things are clear in my head and i know what i can to do next.
Best Reagards
Tchaou
02-27-2007 02:09 PM
02-27-2007 03:23 PM
02-27-2007 03:53 PM
Hi Christophe,
here is the subVI that i'm using. sure the VI is not broken but on the user interface VI when the program is executed i can read on the running button:"wait for the SubVi to run". Could you please look up on the print screen i attached (precedent mail) if that's the way i should insert the code weither i should insert the setup code to run the SubVi.
regards,
Tchaou
02-27-2007 04:04 PM
I think you forgot to attach the subVI. Did you save it in the same llb as the custom step llb? It would be easier for me to debug if you actually sent your custom step LLB and all its dependencies.
Inserting the code that you want to run at each iteration in the "Execution" case is the right thing to do. You don't have to create additional Error clusters and it is recommended that you use the ones that are already on the User Interface to connect in and out of your VI.
Best regards,
Christophe
NI Vision R&D
02-27-2007 04:46 PM