Is There a LabVIEW Function to Call SCXI_Cal_Constants For Use With the SCXI-1122 Calibration Procedure?Hardware: SCXI>>Modules>>SCXI-1122
Problem: My company is a calibration service provider, and I am in the process of calibrating the SCXI-1122 for a customer. However, the official SCXI-1122 Calibration Procedure suggests that I call the SCXI_Cal_Constants function, which is a C function. I would rather use LabVIEW to do this. Is there an existing LabVIEW function to call SCXI_Cal_Constants, for the SCXI-1122 Calibration Procedure? If so, has this LabVIEW function been officially verified by R&D? Solution: Yes, the function needed is "SCXI Cal Constants.VI" found in LabVIEW under the All Functions>>NI Measurements>>Data Acquisition>>Calibration and Configuration palette. Confusion may arise with the functionality of this VI, due to a Call Library Function Node that calls "SCXI_Cal_ConstantsInterface" in the lvdaq library, instead of calling SCXI_Cal_Constants directly. SCXI_Cal_ConstantsInterface is a wrapper function that is used to call the SCXI_Cal_Constants function. The reason a wrapper function is needed as opposed to calling the SCXI_Cal_Constants directly, is to accomodate datatypes specific to LabVIEW. The use of wrapper functions in LabVIEW is very common, in order to convert datatypes (i.e. clusters) that are specific to LabVIEW, to a suitable datatype for use in C. So, using "SCXI Cal Constants.VI" in LabVIEW to call the wrapper function "SCXI_Cal_ConstantsInterface" is a valid alternative to calling the SCXI_Cal_Constants function directly in C, which is the method listed in the documentation. Please note that the SCXI-1122 Calibration Procedure uses Traditional NI-DAQ function calls. Currently, there is not an official NI procedure for calibrating the SCXI-1122 with DAQmx. Related Links: Attachments:
Report Date: 03/11/2005 Last Updated: 04/05/2005 Document ID: 3JADQNFQ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
