cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Using the same camera

¡Resuelto!
Ir a solución

I am using VBAI 2012, yes i am applying different voltages at each test step DC 6V-75V-120, then AC 230V twice for phase then 400V twice for phase, then i test for resistance/continuity and diode test so i will see patterns and characters for these steps. Your help is greatly appreciated.

 

Damien

 

 

0 kudos
Mensaje 11 de 42
2.298 Vistas

Here's an example of how you might do it with the state diagram and Calculator step used to help make the logic decisions. I used an OCR step to read the picture, but it might be better/more robust to use various pattern matching steps and based on which one has the best score, this will decide which picture is shown. Anyway, hope this helps. I attached the vbai inspection.

 

Thanks,

Brad

0 kudos
Mensaje 12 de 42
2.294 Vistas

Hi Brad,

 

Thank you for your efforts in assisting me. The attachment you posted, they files are labview.vi's. The VBAI inspection is that the interface.vi? All the vi's i can open with labview, the only vi i can run is called the VBAI interface but my question is can i see these steps in VBAI?  Do i just save the other vi's to my project folder etc. Also when i run the VBAI is there an input i need to alter/name to pick up my camera.

 

The other 4 vi's do i need to make changes to these?

 

Thanks very much Brad.

 

0 kudos
Mensaje 13 de 42
2.282 Vistas

With the vi's are they generated through vision builder? How can i implement this to my overall project. I have attached my main.vi to date where i have individual states start up,init/etc however in the Test step state i do my camera inspection, could you outline or have a look at my vi and suggest where to use this VBAI interface vi. Thanks

 

Damien

0 kudos
Mensaje 14 de 42
2.280 Vistas

Hey Brad,

 

The file extension you provide with your post is *vbai i ry to open it with vision builder but as they are vi's they only open in labview.

 

Apologies for all the questions.

 

Damien

0 kudos
Mensaje 15 de 42
2.275 Vistas

For some reason the forum downloads my attachment as a zip, but it's really a VBAI inspection, so just change the extension from .zip to .vbai after you download and then you can open the inspection.

0 kudos
Mensaje 16 de 42
2.265 Vistas

Hi Brad i can open that VBAI now thank you very much. To implement this in my labview code how would i  assign values to the variables and what VBAI.vi blocks would i require to open the inspection and run it send the results to a db and close the inspection after the test steps. Thanks very much for your help.

 

Damien

0 kudos
Mensaje 17 de 42
2.261 Vistas

Check out the example in your <VBAI Folder>\API Examples\LabVIEW\LabVIEW API Example (Local).vi.

 

Hope this helps,

Brad

Mensaje 18 de 42
2.258 Vistas

Thanks for your help in this. In terms of the original problem. When i migrated the VBAI to labview i ran the vi and i ran in a loop using my basler camera. In the inspect state exec 2 there is a cluster parameters 1  where the camera is named cam2 name basler. When i stop running the vi and try to rerun it the vi uses my laptop camera even though the parameter is still cam2. Thanks for all your help Brad top guy.

 

Damien

0 kudos
Mensaje 19 de 42
2.257 Vistas

So are you still planning on migrating your inspection to LV? I thought you wanted to do it all in VBAI? If you do migrate to LV, did you debug to see why it uses a different camera on the second run...I haven't reproduced anything like that here. Not sure which route your going, but hopefully you have the tools to solve your application either way now.

 

Thanks,

Brad

0 kudos
Mensaje 20 de 42
2.249 Vistas