08-03-2018 02:11 AM
Good morning,
I'm using cvi 2015, vision 2015 and builder 2015 with windows 10.
After running vbaiRunInspectionOnce, I request the image from the vbai with the vbaiGetInspectionImage function, then save it with the imaqWritePNGFile2 function.
The operation is performed successfully but is definitely too slow.
I write the times to give an idea of the thing:
vbaiRunInspectionOnce (Builder_session, TIMEOUT_LAUNCH); about 0.7 sec.
vbaiGetInspectionImage (Builder_session, NULL, 1, 1, image_snap, & newImage); about 0.7 sec.
imaqWritePNGFile2 (image_merge, picture_file, 500, NULL, FALSE); about 0.7 sec.
These times are long considering that I have to perform 11 different steps.
A colleague who uses the same hardware and same software versions of mine gets the image and saves it in 0.1 sec.
avete suggerimenti per ottenere gli stessi risultati?
Thanks
Luca
09-04-2018 08:05 AM
Hi Luca,
you said that your collegue obtains different results with the same HW\SW configuration.
This seems to be strange... are you sure there are no differences between the 2 machines and the code they're executing? i would also say that Windows is a not-deterministic Operating System so the function can take different time on different execution (not fixed jitter).