Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading file with VBAI

Hello,
 
I created a VI that read a file and then output the picture found.
when i'm calling this vi in VBAI 3.0 with Run Labview VI step nothing happen. i mean i do not see the picture.
could someone help me with this please? the VI is in LV 8.0
 
Regards,
 
Tchaou
0 Kudos
Message 1 of 5
(4,343 Views)
hello,would you mind giving me a hand?
i have a VBAI3.0  packet,when i install it,the keygen can't creat license file,i don't know if my keygen is rong,so can you send me the keygen for VBAI3.0.
 
 Thanks very much.
 my E-MAIL: vikyxu_1982@163.com
0 Kudos
Message 2 of 5
(4,319 Views)
Tchaou--

     I have taken a look at the VI picture that you provided. In order to do the exact same thing your VI is doing right from VBAI you could just use the simulate acquisition step.  This will simply load a file from the harddrive. 

     If you still would like to use a Run VI step for another purpose or were just testing things out,  you can still do this.  In order to pass an image from a VI to VBAI you need to give it the buffer location that VBAI is using. So you still need to load the simulate acquisition step, this will create a buffer.  Then in your VI, on the IMAQ create, add the buffer as a control so that it shows up on the front panel.  Then in VBAI when you reference the Run VI step you can configure a control to pull info from the VBAI script.  After you click configure, then set that control to "use measurement" and select the simulate acquisition or current image.  Then when you pass the image back from the VI it will show up in this buffer and you can continue your VBAI script. 

    That should work out, but if you have any questions just let us know.

Regards,

John H
Applications Engineer
National Instruments
0 Kudos
Message 3 of 5
(4,308 Views)
行风--

       When you purchased VBAI you should have recieved a serial number.  If the automatic activation is not working correctly then you can get an activation code from our website.  Open NI License Manager, then click on Display Computer Information.  Take the Computer ID and your serial number and go to www.ni.com/activate and enter your information. This will give you a 20 digit activation number.  Back in license manager you can enter this activation code by right-clicking the product and selecting activate.

       If you are having any issues after trying this approach, I would recommend contacting NI directly to get activated.  The contact information for customer service is:

Tel: (800) 531-5066
E-mail customer service
Fax: 512-683-8411

      In the future, please try to post in a thread with your same question or issue.  This keeps things organized and allows people with the same issues to communicate to each other.  If you do not find a thread about your issue, you can always just create your own.

Regards,

John H
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(4,307 Views)
John H
       thanks for your help!
    
    
0 Kudos
Message 5 of 5
(4,292 Views)