I have seen this error before when the camera was not properly connected to the IMAQ board, so you may want to check your connections.
If this is not the problem, try running the diagnostics on the board in Measurement & Automation Explorer (MAX) and make sure the board passes all tests.
Also, what version of the NI-IMAQ driver are you using? The most current version is NI-IMAQ 2.6. If you do not already have it, you can download the 2.6 driver from our website at http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0D10?opendocument&node=132070_US.
If the problem persists, please contact NI support for further troubleshooting.
Best regards,
D. Putnam
Applications Engineer
National Instruments