You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
videoInput VI;
int numDevices = VI.listDevices();
if (numDevices > 0) {
int vidDevice = 0;
VI.setupDevice(vidDevice); // Freezes here
int width = VI.getWidth(vidDevice);
int height = VI.getHeight(vidDevice);
int size = VI.getSize(vidDevice);
} else {
printf("No camera devices available.\n");
}
The text was updated successfully, but these errors were encountered:
I successfully built videoInput within my
dll
library but when the program runs, it freezes at setting up the camera:No more outputs from the console since then. I found that it's this line that hangs up:
Any clues why this happens? I'm using Windows 11.
Code to reproduce the issue:
The text was updated successfully, but these errors were encountered: