LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with the pixel depth and NI-IMAQ 3.5

Hello

I wrote another question, related with this dude, so i'll try to ask in another way.

I'm working in a machine vision application, i begun the development working with Labwindows/CVI 7, a PCI-1409 board (drivers NI-IMAQ 2.5.1), and the IMAQ Vision 6.0, in Windows 2000 Professional. To this point i didn't have any problem.

Recently i received the LabWindows/CVI 8 so i installed on the computer, and i upgraded the drivers to the NI-IMAQ 3.5, so when i run the application it had changed the pixel depth from 8 bits (that i was working with) to 10 bits, i changed it in the MAX, but this changes were not applied when i run the application. I've run the application in debug mode and used the next code:

imgGetAttribute (sessionID, IMG_ATTR_PIXDEPTH, &pixelDepth);

but it returns pixelDepth = 10, even if i've changed this to 8 bits in the MAX (and saved after the changes)

How can i solve this?

Thanks

Juan
0 Kudos
Message 1 of 1
(2,820 Views)