Hello
im new on labwindows traying to excute this code but i have problem debuging i dont now why , help pleas thks
code :
#include "niimaq.h"
#include "nivision.h"
main ()
{
//declare variables
INTERFACE_ID iid;
SESSION_ID sid;
Int8* ImaqBuffer=NULL; //NI-IMAQ image
Image* myImage = NULL; //IMAQ Vision image
//Initialize interface and session
imgInterfaceOpen ("img0", &iid);
imgSessionOpen (iid, &sid);
imgSnap (sid, (void **)&ImaqBuffer); //NI-IMAQ function
myImage = imaqSnap (sid, myImage, IMAQ_NO_RECT); //IMAQ Vision function
}