ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

migrated from VBAI to labview 8.2.

I’m fairly new at these vision programs and need some advise.  I have migrated from VBAI to LabView 8.2.  However I can’t seem to get the LV program to work like VBAI program works.  The LV program gets stuck in a loop processing the same photo rather than the entire folder of 25.  The other problems are: It will not show the photo; it will fail all photos, and will not log results.

I am running the LV 8.2, Vision Acquisition 8.2, and VBAI 3.0

0 Kudos
Message 1 of 6
(3,330 Views)
Hi Davis,

it's much easier to give some advise when you would attach your vi 😉
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,321 Views)
This vi was generated by the migration process. 
0 Kudos
Message 3 of 6
(3,309 Views)
Hi Davis,

now I only not those dozen of sub-vi's.
Please use 'save as' and 'Duplicate hierarchy' to get all sub-vi's. Zipping them into one archive to allow easy attaching in the forum.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,304 Views)
0 Kudos
Message 5 of 6
(3,278 Views)
Hi Davis,

I'm not experienced in VBAI and IMAQ, but in your code I couldn't find any function to load your JPG photos...
There's only an 'IMAQ Create' in the initialize-sequence, which generates an empty image. So it seems you have to attach your own code here 😉
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 6
(3,273 Views)