キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Using the same camera

解決済み
解決策を見る

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 件の賞賛
メッセージ11/42
2,136件の閲覧回数

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 件の賞賛
メッセージ12/42
2,132件の閲覧回数

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 件の賞賛
メッセージ13/42
2,120件の閲覧回数

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 件の賞賛
メッセージ14/42
2,118件の閲覧回数

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 件の賞賛
メッセージ15/42
2,113件の閲覧回数

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 件の賞賛
メッセージ16/42
2,103件の閲覧回数

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 件の賞賛
メッセージ17/42
2,099件の閲覧回数

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

 

Hope this helps,

Brad

メッセージ18/42
2,096件の閲覧回数

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 件の賞賛
メッセージ19/42
2,095件の閲覧回数

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 件の賞賛
メッセージ20/42
2,087件の閲覧回数