b_rani -
Error -1074396157 (as mentioned in the documentation) corresponds to "Unlicensed copy of IMAQ Vision." This could happen because you were using IMAQ Vision in evaluation mode, and the 30 days have expired. If you run the NI License Manager, you should be able to see the status of your licenses and figure out what's going on.
Greg Stoll
IMAQ R&D
National Instruments
Greg Stoll
LabVIEW R&D