background image

Signametrics                                                       

36 

 

Value 

Meaning 

DMM_OKAY 

Operation successfully completed. 

Negative Value

 

Error code 

Example

 

double  Mx; int status = DMMGetMax(0, &Mx); 

 

DMMGetMaxStr 

Description

 

Returns the maximum as a formatted string.

 

 

#include "SMU2060.H" 

 int 

DMMGetMaxStr

(

int

 

nDmm,

 LPSTR

 

lpszReading

Remarks

 

This function is the string version of 

DMMGetMax

.  It returns the result as a string 

formatted for printing. The print format is determined by the range and function. See 

DMMGetMax

 for more details. 

 

Parameter 

Type/Description 

nDmm

 

int

   Identifies the DMM. 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 length is OK. 

Value 

Meaning 

DMM_OKAY 

Valid return. 

Negative Value

 

Error code 

Example

 char 

cBuf[64]; 

int status = DMMGetMaxStr(0, cBuf); 

 

DMMGetMin 

Description 

Get Minimum reading history. 

 
#include "SMU2060.H" 

 
 int 

DMMGetMin(int 

nDmm

, double  *

lpdMax

Remarks

 

This function returns a double floating value that is the minimum (of the Min/Max 
function) value since either a function change, range change or a call to the 

DMMClearMinMax

() function was made. This value is updated every time a 

measurement is performed using 

DMMRead

DMMReadStr

 or 

DMMReadNorm

.  

 

Содержание SMU2055

Страница 1: ...Operator s Manual Model SMU2055 6 Digit USB Digital Multimeter Signametrics Corporation April 2010 Compatible with Rev 1 62 Hardware...

Страница 2: ...rom of the use of or inability to use Signametrics products even if Signametrics Corporation has been advised of the possibility of such damages Because some States do not allow the exclusion or limit...

Страница 3: ...MM INPUT TERMINALS 15 3 6 DMM REAR PANEL 15 3 7 STARTING THE CONTROL PANEL 16 3 8 USING THE CONTROL PANEL 16 4 0 DMM OPERATION AND MEASUREMENT TUTORIAL 18 4 1 VOLTAGE MEASUREMENT 18 4 1 1 DC Voltage M...

Страница 4: ...etSupplyV 39 DMMGetStoredReading 39 DMMGetType 40 DMMGetVer 40 DMMInit 41 DMMIsAutoRange 41 DMMIsInitialized 42 DMMIsRelative 42 DMMOpenUSB 43 DMMRead 43 DMMReadNorm 44 DMMReadNsamples 45 DMMReadStr 4...

Страница 5: ...5 Signametrics 5 11 1 Measurement and Source Functions 58 5 11 2 Range Values 58 5 11 3 Measurement Rate parameters 59 6 CALIBRATION 60 7 0 WARRANTY AND SERVICE 62 8 0 ACCESSORIES 62...

Страница 6: ...crews are required for safety reasons Warning Check to see that all measurement wires are separated from the USB communication cable If measurement wires come into contact with the USB cable this may...

Страница 7: ...xpressed 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 Input Resistance 24 V 240...

Страница 8: ...007 350 m 240 k 240 0000 k 100 m 10 A 0 008 3 2 0 012 4 0 02 5 2 4 M 2 400000 M 1 1 A 0 02 40 0 03 50 0 04 70 24 M 24 0000 M 100 100 nA 0 2 400 0 3 500 0 4 600 1 With reading rate set to 2 sec and wi...

Страница 9: ...5 220 V 0 4 0 35 mV 240 mV 50 kHz 100 kHz 2 0 6 mV 2 1 0 8 mV 2 2 1 mV 10 Hz 20 Hz 3 2 mV 3 3 2 2 mV 3 5 2 5 mV 20 Hz 47 Hz 0 45 1 3 mV 0 47 1 5 mV 0 5 1 7 mV 47 Hz 10 kHz 0 07 1 mV 0 075 1 1 mV 0 08...

Страница 10: ...3 A 0 12 4 A 2 4 mA 1 kHz 10 kHz 0 12 4 A 0 14 4 A 0 22 4 A 10 Hz 20 Hz 1 8 30 A 2 6 30 A 2 8 30 A 20 Hz 47 Hz 0 6 30 A 0 9 30 A 1 0 30 A 47 Hz 1 kHz 0 07 10 A 0 15 20 A 0 16 30 A 24 mA 1 kHz 10 kHz 0...

Страница 11: ...l in the Control Panel These products are capable of continuous measurement as well as data transfer rates of up to 250 readings per second rps In general to achieve 6 1 2 Digits of resolution the rat...

Страница 12: ...Mode input from Voltage HI or LO relative to Earth Ground Safety Designed to IEC 1010 1 Installation Category II Calibration Calibrations are performed by Signametrics in a computer at 23 C internal t...

Страница 13: ...0 6 ft USB 2 0 AM BM cable SMU CBL6ft 3 ft USB 2 0 AM BM cable SMU CBL3ft 10 ft USB 2 0 AM BM cable SMU CBL10ft DMM Probe kit SM PRK 38 50 Deluxe Probe kit SM PRD 95 00 Shielded SMT Tweezers Probes SM...

Страница 14: ...are sure you wish to install this driver Continue the installation Afterwards you should now see a screen that indicates the drivers have been sucsessfully installed on this computer 3 3 Installing th...

Страница 15: ...est When in 4 Wire resistance measurement mode it serves as the positive terminal of the current source The maximum input across V 2 and V 2 is 240 VDC or 240 VAC V 2 This is the negative terminal for...

Страница 16: ...tes you may have to hold down the left mouse button longer than usual for the program to acknowledge the mouse click Note The SMU2055 front panelstarts up in DCV and 240 V range If the DMM is operated...

Страница 17: ...Hz of operation when setting it as certain rates have better noise rejection at either 50 or 60 Hz See Specifications for details When measuring VAC values there is no point setting the Rate to a val...

Страница 18: ...will read whatever charge is associated with the signal conditioning of the DMM As this electrical charge accumulates the DMM will change ranges 4 1 2 True RMS AC Voltage Measurements ACV is specified...

Страница 19: ...F errors See section 4 3 5 for details 4 3 1 2 Wire Ohm Measurements In the 2 Wire resistance measurement the DMM sources current and measure resuting voltage The DMM measure Resistance using six rang...

Страница 20: ...d set relative to clear the DMM offset prior to the measurement To calculate worst case error count all relay contacts which are in series with the measurement V V terminals in 2 Wire and I I terminal...

Страница 21: ...first time the DMM is used It may contain calibration records for several DMM s SMU2060 LIB The Windows import library Install in a directory pointed to by your LIB environment variable SMU2060 DLL Th...

Страница 22: ...Set With C or Similar Software The SMU2055 uses the SMU2060 driver package Install the SMU2060 H and USBMMUser H header file in a directory that will be searched by your C C compiler for header files...

Страница 23: ...nd SimplePanel frm It has a panel that contains two objects a Text Box to display the DMM readings and a Command Button that acts as a reading trigger Global bas module file contents Option Explicit D...

Страница 24: ...OHMreading short ret i DMMSetFunctions 0 OHMS2W DMMSetAutoRange 0 TRUE to settle auto range and function changes ignore three readings for i 0 i 4 i ret DMMReadNorm 0 OHMreading return ret function m...

Страница 25: ...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...

Страница 26: ...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 DMMCloseUSB...

Страница 27: ...ErrString Description Return the string describing the warning or error code include SMU2060 H int DMMErrString int iErrorCode LPSTR lpszError int iBuffLength Remarks This function returns a string co...

Страница 28: ...ocation of a DMM in the PCI system tree This function actually scans the hardware rather then look up the information in the registry Parameter Type Description nDmm int Identifies the DMM DMMs are nu...

Страница 29: ...e Example char cBuf 64 int status status DMMGetCalDate 0 cBuf DMMGetdB Description Get dB deviation from the reading at the time relative was activated include SMU2060 H int DMMGetdB int nDmm double l...

Страница 30: ...the location of the DMM in the USB structure include SMU2060 h int DMMGetDevLocation int nDmm LPCSTR lpszLoc Remarks This service function retrieves the location of the USB DMM specified by nDmm in th...

Страница 31: ...Error code Example double error int status DMMGetDeviation 0 error DMMGetDeviatStr Description Get percent deviation from the reading at the time relative was activated include SMU2060 H int DMMGetDe...

Страница 32: ...s or the string length is OK Value Meaning DMM_OKAY Valid return Negative Value Error code Example char cBuf 64 int status DMMGetDiffMnMxStr 0 cBuf DMMGetFunction Description Get DMM function code inc...

Страница 33: ...This function returns the hardware version A returned value of 0 corresponds to Rev_ 1 corresponds to Rev_A 2 to Rev_B etc Parameter Type Description nDmm int Identifies the DMM DMMs are numbered star...

Страница 34: ...ID code include SMU2060 H int DMMGetID int nDmm Remarks This function returns the DMM identification code Each DMM has a unique ID code that must match the calibration file card_ID field in SM60CAL D...

Страница 35: ...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...

Страница 36: ...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...

Страница 37: ...more details Parameter Type Description nDmm int Identifies the DMM DMMs are numbered starting with zero lpszReading LPSTR Points to a buffer at least 64 characters long to hold the result Return Val...

Страница 38: ...west range Parameter Type Description nDmm int Identifies the DMM DMMs are numbered starting with zero Return Value Integer value corresponding to the currently set DMM range or an error code Value Me...

Страница 39: ...his voltage is stored at a double precision location pointed to by lpdVoltage Parameter Type Description nDmm int Identifies the DMM DMMs are numbered starting with zero lpdVp tage LPSTD Points to a d...

Страница 40: ...ption Get the type of the DMM include SMU2060 H int DMMGetType int nDmm Remarks This function returns a value identifying the DMM model Parameter Type Description nDmm int Identifies the DMM DMMs are...

Страница 41: ...ds the appropriate calibration record for the respective DMM from the file specified by lpszCa followed by self calibration If the calibration record is outdated it opens a warning window If an error...

Страница 42: ...lized int nDmm Remarks This function returns the status of the DMM If TRUE the DMM has been initialized and is active If FALSE the DMM is not initialized To use the DMM it must be initialized using DM...

Страница 43: ...which open the USB bus for the SMU2055 Not for user application include SMU2060 H int DMMOpenUSB int nDmm Remarks This function is limited for servicing the DMM It has no use in normal DMM operation...

Страница 44: ...e 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 su...

Страница 45: ...gative Full Scale or overrange Negative Value Error code DMM_OKAY No error Example int status DMMReadNsamples 0 100 DMMReadStr Description Return the next reading from the DMM formatted for printing i...

Страница 46: ...starting with zero bAuto int Determines whether or not autoranging is done The value TRUE 1 enables autoranging FALSE 0 disables it Return Value The return value is one of the following constants Val...

Страница 47: ...e used by the DMM for the present function The table of values is defined by the _240mV _2400uA etc In general the lowest range is 0 next is 1 etc Each function has a pre defined number of ranges as s...

Страница 48: ...E_250 Some of the rates have specific power line rejection as indicated in the specification part of this manual See DMM Parameter Type Description nDmm int Identifies the DMM DMMs are numbered starti...

Страница 49: ...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 Description Terminate D...

Страница 50: ...ning DMM_OKAY Valid return Negative Value Error code Example int err Err AC_zero 0 FALSE disable AC Zero DMMLoadCalFile Description Reload calibration record from file include SMU2060 H int DMMLoadCal...

Страница 51: ...sets the currently set gain Sets the gain of the the currently selected function and range The gain is returned as double precision floating point number Gaint This function is useful while performai...

Страница 52: ...ouble gain GetGain 0 gain read gain GetOffset Description Retrieve currently set gain include SMU2060 H include UseroDMM h int GetOffset int nDmm doulbe lpdOffset Remarks This function returns the cur...

Страница 53: ...d 31 Return Value Integer error code Value Meaning DMM_OKAY Operation successfully completed Negative Value Error code Example SetFcomp 0 12 set the frequency compensation SetOffset Description Set th...

Страница 54: ...be active or inactive Allowed values are TRUE of FALSE Return Value The return value is one of the following constants Value Meaning DMM_OKAY Valid return Negative Value Error code Example int err Err...

Страница 55: ...completed Negative Value Error code Example int i GrdXingTest 0 1 3 Test Guarded controller WrCalFileToStore Description Transfer the contents of a cal file to the on board cal store include SMU2060...

Страница 56: ...ode int Sets the file creation mode lpszCal LPCSTR Points to the name of the file containing the calibration constants for the DMM Calibration information is normally read from the file named SM60CAL...

Страница 57: ...pe in EEProm ERROR_READBYTES 18 unexpected number of bytes read ERROR_WRITEBYTES 19 unexpected number of bytes written ERROR_DTYPE 20 invalid input bad DMM Type parameter ERROR_READ_EEPROM 21 invalid...

Страница 58: ..._VER 126 MCU Firmwhare does not support operation 5 11 Parameter List The following definitions are from the DMMUser H file 5 11 1 Measurement and Source Functions The following list contains values t...

Страница 59: ...s Use DMMSetRate and DMMGetRate to set and retrieve the currently set measurement rate define RATE_p5 0 0 5rps with 50 60Hz rejection define RATE_1 1 1rps with 60Hz line rejection define RATE_2 2 2rps...

Страница 60: ...ce 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 240nA...

Страница 61: ...2 3rd of the top of each range Calibration of your SM SMU2055 60 64 is best performed using calibration software available from Signametrics When using multiple DMMs in a single chassis the SM60CAL D...

Страница 62: ...cts 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 months in...

Отзывы: