LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Grab images.

Hi! I'm trying to grab images with my NI PCI-1407 board, but I see only the first image...
The code of the Grab button is:
 
   int CVICALLBACK Grab (int panel, int control, int event,
  void *callbackData, int eventData1, int eventData2)
{
 switch (event)
  {
  case EVENT_COMMIT:
  
   // Configura l'acquisizione.
  
   imaqSetupGrab(session1, IMAQ_NO_RECT);
   
   // Grab.
   
   imaqGrab(session1, image, FALSE);
   
   // Visualizzazione delle immagini.
   
   imaqDisplayImage(image, 0, TRUE);
   break;
  }
 return 0;
0 Kudos
Message 1 of 1
(2,694 Views)