08-05-2009 03:02 PM
Has any tried to calibrate & adjust a digitizer using the NI-SCOPE niScope_Cal* calls? I've written a small program utilizing all of the C calls (as per the NI 5154 cal procedure). The performance verification routines went fairly smoothly, but I've run into problems with the adjustment routine.
After the range cal is performed, the program errors when niScope_CalVCXO is called. If I simply try to do a range cal & end the cal session, I get another error. Furthermore, my PXI-5154 will no longer self-cal in MAX--or anywhere else.
I've attached the NI Spy files for the different errors (error during VCXO adjustment, error during CalEnd, & error during SelfCal). Can anyone help me out?
08-07-2009 04:47 PM
Hi Brian,
Please try modifying your C routine to use "TRIG" in place of "VAL_EXTERNAL" for the external trigger calibration which runs just prior to the Adjust VCXO step. I believe this should allow you to successfully complete the calibration procedure.
This behavior has been reported to R&D with corrective action request #182189. Please let me know if you are able to calibrate your module(s) in the meantime using the suggested work-around.
I apologize for any inconvenience this has caused you.
- Jennifer O.
Product Support Engineer - High Speed Digitizers
08-10-2009 07:07 AM
I changed the second argument passed to niscope_CalAdjustRange() from NISCOPE_VAL_EXTERNAL (which is a #define for "VAL_EXTERNAL") to "TRIG" when adjusting the trigger input and everything now works as it should.
Thanks!