background image

27                                                        

Signametrics

 

DMMCalibrate 

Description 

Internally calibrate the DMM. 

 
#include "SM2060.h" 

 int 

DMMCalibrate

(

int nDmm

Remarks

 

This function performs self calibration of the various components of the DMM, as well 
as an extensive self test. At the end of this operation it returns the DMM to the current 
operating mode. Using this function periodically, or when the DMM internal temperature 
varies, will enhance the accuracy of the DMM. Using this function does not remove the 
requirement to perform periodic external calibration. 

Parameter 

Type/Description 

nDmm

 

int

   Identifies the DMM.  DMMs are numbered starting with zero. 

Return Value

 

The return value is one of the following constants. 

 

Value 

Meaning 

DMM_OKAY 

DMM is OK. 

Negative Value 

Error 

Example

 

status = DMMCalibrate(0); /* a quick internal cal.*/ 

 
Comments

 

This performs an internal DMM calibration and is the same as the 

S-Cal

 command in the 

VB Control Panel.  It is not related to the external calibration represented in the 

SM60CAL.DAT 

file. 

 

DMMCleanRelay 

Description 

Service function that cleans specified relay. 

 
#include "SM2060.h" 

 
 int 

DMMCleanRelay(int 

nDmm, int iRelay, int iCycles

Remarks

 

This function cleans 

iRelay

 by vibrating the contact 

iCycles

 times. This function is useful 

for removing oxides and other deposits from the relay contacts. DC Current 
measurements are particularly sensitive to K2 contact resistance and therefore should be 
cleaned periodically. It is also useful for making sound in computer without a speaker. 

 

Parameter 

Type/Description 

iRelay 

int 

The relay to clean. 1 for K2, 2 for K2 and 3 for K3. 

iCycles 

int 

The number of times the relay contact is shaken. 1 to 1000. 

nDmm

 

int

   Identifies the DMM. DMMs are numbered starting with zero. 

 

 

Return Value

 

Integer error code.. 

Summary of Contents for SMX2055

Page 1: ...Operator s Manual Model SMX2055 5 Digit Digital PXI Multimeter January 2010 Driver compatibility Rev 1 60...

Page 2: ...arising out of the use of or inability to use Signametrics products even if Signametrics has been advised of the possibility of such damages Because some states do not allow the exclusion or limitatio...

Page 3: ...LING THE SOFTWARE 12 3 4 DMM INPUT CONNECTORS 13 3 5 STARTING THE CONTROL PANEL 13 3 5 USING THE CONTROL PANEL 14 4 0 DMM OPERATION AND MEASUREMENT TUTORIAL 16 4 1 VOLTAGE MEASUREMENT 16 4 1 1 DC Volt...

Page 4: ...itialized 42 DMMIsRelative 42 DMMOpenPCI 43 DMMRead 43 DMMReadNorm 44 DMMReadStr 45 DMMSetAutoRange 45 DMMSetFunction 46 DMMSetRange 46 DMMSetRate 47 DMMSetRelative 48 DMMTerminate 48 5 7 CALIBRATION...

Page 5: ...in lethal voltages occurring within your PC Be sure to check your installation before closing the cover on your personal computer Warning Check to see that no loose wires or ribbon cables infringe up...

Page 6: ...that can be detected is expressed by the corresponding resolution for the range 2 1 DC Voltage Measurement Input Characteristics Input Resistance 240 mV 2 4 V Ranges 10 G with typical leakage of 50pA...

Page 7: ...0 1 A 0 06 200 24 M 24 0000 M 100 100 nA 0 2 25 k 1 With measurement rate set to 2rps or lower rate within one hour from Zero Relative control 2 Test voltages are 2 4V max with the exception of the 24...

Page 8: ...kHz 50 kHz 0 45 2mV 20 Hz 47 Hz 0 85 20mV 24V 10 kHz 50 kHz 0 2 15mV 20 Hz 47 Hz 0 85 200mV 240V 10 kHz 50 kHz 0 15 100mV 1 Select measurement rates that are lower than 1 10th of the signal frequency...

Page 9: ...t Function Test Currents Five Current sources voltage compliance 4 V Accuracy of reading Volts 1 Range Full Scale 5 Digits Resolution One Year 23 C 10 C 0 1 A 0 022 15 V 1 A 0 018 12 V 10 A 0 015 10 V...

Page 10: ...300 VDC 250 VAC from Earth Ground Maximum Input Volt x Hertz 8x106 Volt x Hz normal mode input across Voltage HI LO 1x106 Volt x Hz Common Mode input from Voltage HI or LO relative to Earth Ground Saf...

Page 11: ...tacking Double Banana shielded cable 48 SM CBL48 43 00 Mini DIN Trigger 6 Wire Ohms connector SM2060 CON7 14 00 Lab View VI s library SM204x llb free Extended 3 Year warrantee does not include calibra...

Page 12: ...xtreme care when plugging the DMM module s into a PCI bus slot If possible choose an empty slot away from any high speed boards e g video cards or the power supply Please be patient during the install...

Page 13: ...en in the 2 Wire or 4 Wire resistance mode the maximum input allowed before damage occurs is 100 volts V This is the negative terminal for all Volts 2W and diode test It is also the Source low for 4W...

Page 14: ...Using the Control Panel Figure 3 2 The Control Panel The three main groups include Measure Source and Range buttons The Range buttons are context sensitive such that only 240m 2 4 24 and 240 appear w...

Page 15: ...riate range in the lower part of the Windows panel Autoranging is best used for bench top application and is not recommended for an automated test application due to the uncertainty of the DMM range a...

Page 16: ...ng measurements Signametrics offers several high quality probes that are optimal for low level measurements Note The front panel powers up in 8rps DCV 240 V range If the DMM is operated in Autorange w...

Page 17: ...ment function See figure 4 2 for connection The Current functions are protected with a 2 5 A 250 V fuse The 2 4mA and 24mA ranges utilize a 10 shunt while the 240mA and 2 4A ranges use a 0 1 shunt In...

Page 18: ...nts All resistance measurement modes are susceptible to Thermo Voltaic Thermal EMF errors See section 4 3 5 for details 4 3 1 2 Wire Ohm Measurements The DMM measure using 240 to 24 M ranges Use the V...

Page 19: ...These error voltages can be caused by poor test leads relay contacts and other elements in the measurement path They affect all measurement methods including 2 Wire and 4 Wire To quantify this error c...

Page 20: ...e The DMM measures diode voltage at a selected current The available source currents for diode I V characterization include five DC current values 100 A 1 A 10 A 100 A and 1 mA The SMX2064 have an add...

Page 21: ...tion information for each DMM Do not write into this file unless you are performing an external calibration This file is normally placed at the C root directory by the setup program and should be left...

Page 22: ...followed by calibration data card_id 8123 type 2055 calibration_date 06 15 2005 ad A D compensation Set during manufacturing 72 0 20 0 1 0 vdc VDC 240mV 2 4V 24V 330V ranges 1st entry is Offset the 2...

Page 23: ...ons accept a DMM number parameter This value nDmm is used to identify the DMM number in a multiple DMM system This value will be 0 1 2 n Most functions return an error or warning code which can be ret...

Page 24: ...M60CAL dat initialize SM2055 and read calibration file if i 0 MessageBox 0 Initialization ERROR Startup SM2060 DLL MB_OK Error DMMSetFunction nDmm VDC Set to DCV function DMMSetRange nDmm _24V and to...

Page 25: ...Function DMMSetFunction Lib SM2060 dll ByVal nDmm As Long ByVal nFunc As Long As Long Declare Function DMMSetRange Lib SM2060 dll ByVal nDmm As Long ByVal nRange As Long As Long Declare Function DMMR...

Page 26: ...ret DMMReadNorm 0 OHMreading return ret function measure_vdc purpose measure DC Volts int measure_vdc double Vreading short ret i DMMSetFunctions 0 VDC DMMSetAutoRange 0 TRUE to settle auto range and...

Page 27: ...a quick internal cal Comments This performs an internal DMM calibration and is the same as the S Cal command in the VB Control Panel It is not related to the external calibration represented in the S...

Page 28: ...M DMMs are numbered starting with zero Return Value Integer error code Value Meaning DMM_OKAY Operation successfully completed Negative Value Error code Example int status DMMClearMinMax 0 DMMClosePCI...

Page 29: ...alue is one of the following constants Value Meaning DMM_OKAY Operation successfully terminated Negative Value Error code Example DMMDelay 1 2 wait for 1 2 Sec DMMErrString Description Return the stri...

Page 30: ...selected DMM It provides means to relate the physical card location to the nDmm value by detecting the location of a DMM in the PCI system tree This function actually scans the hardware rather then lo...

Page 31: ...ng at the time relative was activated include SM2060 h int DMMGetdB int nDmm double lpdDev Remarks This function returns a double floating value that is the dB deviation relative to the reading made j...

Page 32: ...pdDev Remarks This function returns a double floating value that is the percent deviation relative to the reading made just before the relative function was activated DMMSetRelative This function is u...

Page 33: ...alue Error code Example char cBuf 64 int strLength DMMGetDeviatStr 0 cBuf DMMGetDiffMnMxStr Description Returns the difference between the max and min values as string include SM2060 h int DMMGetDiffM...

Page 34: ...alue Meaning Positive value See DMMUser h for function range codes Negative Value Error code Example if DMMGetFunction VDC printf VDC Function selected DMMGetGrdVer Description Get DMM firmware versio...

Page 35: ...value Hardware version code Negative Value Error code Example int HWVer DMMGetHwVer 0 DMMGetID Description Get DMM ID code include SM2060 h int DMMGetID int nDmm Remarks This function returns the DMM...

Page 36: ...integer where the year is stored Return Value Integer error code or Value Meaning DMM_OKAY Operation was successful DMM_E_DMM Invalid DMM number Example int month day year status status DMMGetManDate...

Page 37: ...DMMs are numbered starting with zero lpszReading LPSTR Points to a buffer at least 64 characters long to hold the result Return Value The return value is one of the following constants or the string l...

Page 38: ...as a string formatted for printing The print format is determined by the range and function See DMMGetMin for more details Parameter Type Description nDmm int Identifies the DMM DMMs are numbered sta...

Page 39: ...t the currently set reading rate include SM2060 h int DMMGetRate int nDmm double lpdRate Remarks This function returns a double floating rate in readings per second See DMMSetRate for details Paramete...

Page 40: ...Error code Example int DMMtype DMMGetType 0 DMMGetVer Description Get DMM software driver version include SM2060 h int DMMGetVer int nDmm double lpfResult Remarks This function returns the DMM softwar...

Page 41: ...ror code is returned Parameter Type Description nDmm int Identifies the DMM DMMs are numbered starting with zero lpszCal LPCSTR Points to the name of the file containing the calibration constants for...

Page 42: ...ust be initialized using DMMInit or DMMQuickInit functions This function is used for maintenance and is not needed under normal operation Parameter Type Description nDmm int Identifies the DMM DMMs ar...

Page 43: ...e SM2060 h int DMMOpenPCI int nDmm Remarks This function is limited for servicing the DMM It has no use in normal DMM operation See also DMMClosePCI function Parameter Type Description nDmm int Identi...

Page 44: ...re numbered starting with zero lpdResult double Points to the location to hold the next reading Return Value The return value is one of the following constants Value Meaning DMM_OKAY DMM initialized s...

Page 45: ...uffer at least 64 characters long to hold the converted result The return value will consist of a leading sign a floating point value in exponential notation and a units specifier Return Value The ret...

Page 46: ...re defined constant corresponding to the desired function Return Value The return value is one of the following constants Value Meaning DMM_OKAY DMM initialized successfully Negative Value Error code...

Page 47: ...iRate Remarks This function sets the rate at which the DMM makes measurements The allowed values are defined in the DMMUser h file The rate iRate can be set from 1rps RATE_1 to 100rps RATE_100 Some o...

Page 48: ...Return Value The return value is one of the following constants Value Meaning DMM_OKAY DMM mode changed successfully Negative Value Error code Example status DMMSetRelative 0 TRUE DMMTerminate Descri...

Page 49: ...lue The return value is one of the following constants Value Meaning DMM_OKAY Valid return Negative Value Error code Example int err Err AC_zero 0 FALSE disable AC Zero DMMLoadCalFile Description Relo...

Page 50: ...is the gain associated with the currently selected function and range The value should be the same as that set in the calibration record for this function and range The gain is returned as a 64 bit d...

Page 51: ...g with zero Return Value The return value is one of the following constants Value Meaning lpdOffset double Points to the location to hold the offset DMM_OKAY Valid return Negative Value Error code Exa...

Page 52: ...mple SetOffset 0 11212 0 Assert the offset factor Linearize_AD Description Activate Deactivate A D linearization correction include SM2060 h include UseroDMM h int Lineaize_AD int nDdmm int bLinerize...

Page 53: ...e A D raw counts It is useful for retrieving the offset parameter for various functions including VDC 2 W and 4 W ohms and DC current It is limited for service use Parameter Type Description nDmm int...

Page 54: ...9 Error Codes Operation of the DMM may be impaired should be aborted or is not possible following an Error Use the DMMErrString function to retrieve the string describing the error DMM_OKAY 0 no error...

Page 55: ...range which is normal DMM_E_FUNC 102 Invalid function value used DMM_E_RNG 103 Invalid range value used DMM_E_IS_INIT 105 Dmm already initialized in use ERR_FUNC 107 Illegal function selection ERR_PA...

Page 56: ...nA define _D1u 1 1uA define _D10u 2 10uA define _D100u 3 100uA define _D1m 4 1mA 5 11 3 Measurement Rate parameters The following list contains the definitions for the available Apertures Use DMMSetRa...

Page 57: ...0 Place holder vac VAC 1st line DC offset Than offset gain and freq each range240mV to 330V 0 Place holder 0 84 1 015461 23 0 0043 1 0256 23 0 0 1 02205 0 0 0 1 031386 0 0 1 0 0 Place holder idc IDC 2...

Page 58: ...2 3rd of the top of each range Calibration of your SM SMX2055 60 64 is best performed using calibration software available from Signametrics When using multiple DMMs in a single chassis the SM60CAL D...

Page 59: ...s products at customer s expense Within the USA Signametrics will ship serviced or replaced unit at Signametrics expense Warranty extensions are available at the time of purchase for terms up to 36 mo...

Reviews: