Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5361

problem debug

$
0
0

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
 }

 

 


Viewing all articles
Browse latest Browse all 5361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>