I have run into a problem using the IviPwrMeter interface provided with Compliance Package version 3.2. After re-initializing my instrument driver after a previous initialilze and close the driver returns error code 0xBFFA1190 when IviPwrMeter_LockSession is called. I reduced my application code to the following four lines and used a newly generated specific driver simulated and referenced with my driver session name and still I receive this error. The session handle is valid at all times and no other calls return an error. I can't see that this is a result of anything I have done. Is this a bug in IviPwrMeter? I am unable to revert to an older version of ICC because of linkage to many other drivers and applications I would surely regret uninstalling ang reinstalling. Thanks.
error = IviPwrMeter_init (<driver session name>, VI_FALSE, VI_FALSE, &vi);
error = IviPwrMeter_close (vi);
error = IviPwrMeter_init (<driver session name>, VI_FALSE, VI_FALSE, &vi);
error = IviPwrMeter_LockSession (vi, &callerHasLock));