supchurch:
It looks like the function you're calling, imaqGrab() is from the LabWindows/CVI IMAQ Vision API. This is a C API, not a C++ one, so the library won't throw exceptions and will use error codes to communicate problems instead. The IMAQ Vision CVI API exposes a set of functions for error management. You can take a look in the IMAQ Vision for LabWindows/CVI Function Reference under Function Types >> Error Management Functions for documentation on these functions. The Function Reference should be available on your start menu under Programs >> National Instruments >> Vision >> Documentation.
Also, there is a Developer Exchange Discussion Forum specifically dedicated to Vision; if you re-post your message there you should be able to get specifi
c help on the imaqGrab() function.
Hope this helps,
Chris W