04-15-2014 06:51 AM
Hello Brad
on calling
rw = vbaiGetInspectionImage(Cam.Session, NULL, 1, 1, Cam.imPicture, &Flag);
I get a error code -354713. Do you have any idea why this is coming?
best regards
Oliver
04-15-2014 06:59 AM
Hello Brad
I got it, my mistake
calling
//
rw = vbaiGetInspectionImage(Cam.Session, NULL, 1, 1, Cam.imPicture, &Flag);
always gave back a NULL on the Flag, I didn't realize that I forgot to define the imPicture.
By adding:
// Create an image
Cam.imPicture = imaqCreateImage(IMAQ_IMAGE_U8, 0);
I got back a picture !!! 🙂
OK, I can confirm that it is possible to get a picture from a real time server with the same cmds.
thanks a lot for your help
greetings
Oliver
04-15-2014 07:08 AM