Notices RIGOL products are covered by P.R.C. and foreign patents, issued and pending. RIGOL reserves the right to modify or change parts of or all the specifications and pricing policies at the company’s sole decision. Information in this publication replaces all previously released materials.
RIGOL Document Overview This manual is your guide to programming the RIGOL DL3000 series programmable DC power supply. Main Topics in this Manual: Chapter 1 Programming Overview This chapter introduces how to set up remote communication between the electronic load and the PC, the remote control methods, the syntax, symbols, parameters, and abbreviation rules of the SCPI commands.
RIGOL Chapter 1 Programming Overview Chapter 1 Programming Overview This chapter introduces how to set up remote communication between the electronic load and the PC, the remote control methods, the syntax, symbols, parameters, and abbreviation rules of the SCPI commands.
Chapter 1 Programming Overview To Build Remote Communication DL3000 series electronic load can communicate with the PC via USB, LAN (option), RS232, or GPIB (extended using the USB-GPIB module) interface. Note: The RS232 protocol command ends with "\r\n" for the DL3000 series.
Chapter 4 in this manual. Send SCPI commands via the PC software You can use the PC software to send commands to control DL3000 remotely. RIGOL Ultra Sigma is recommended. You can download the software from RIGOL official website (www.rigol.com).
RIGOL Chapter 1 Programming Overview SCPI Command Overview SCPI (Standard Commands for Programmable Instruments) is a standardized instrument programming language that is built upon the existing standard IEEE 488.1 and IEEE 488.2 and conforms to various standards, such as the floating point operation rule in IEEE 754 standard, ISO 646 7-bit coded character set for information interchange (equivalent to ASCII programming).
RIGOL Chapter 1 Programming Overview Parameter Type The parameters contained in this manual can be divided into the following five types: Bool, Integer, Real, Discrete, and ASCII String. Bool The parameter can be set to ON (1) or OFF (0).
The status byte register is used to record advanced summary information, which is reported by other registers. The SCPI status system of the DL3000 is shown in Figure 1-2. Figure 1-2 SCPI Status System of the DL3000 Series DL3000 Programming Guide...
RIGOL Chapter 1 Programming Overview Questionable Status Register The SCPI status system of the DL3000 is shown in Figure 1-2. The questionable status register monitors the overall instrument condition, such as voltage/current control, OTP, OVP, OCP, and fan failure. You can send :STATus:QUEStionable[:EVENt]? command to read the register.
RIGOL Chapter 1 Programming Overview Standard Event Status Register The standard event status register records the following events that might occur on your instrument: power-on inspection, command syntax error, command execution error, self-test/calibration error, query error, or operation completed. All these events or any one of the events can be reported to Bit 5 (ESB, Event Summary Bit) of status byte register via the enable register.
Page 17
RIGOL Chapter 1 Programming Overview Table 1-3 Definitions for the bits in the status byte register and the decimal value that corresponds to the binary-weighted value Weight Name Description Not used Not used This bit is always set to 0.
RIGOL Chapter 2 Command System Chapter 2 Command System This chapter introduces the syntax, function, parameters, and usage of each command. Contents in this chapter: IEEE 488.2 Common Commands :STATus Commands :MEASure commands and :FETCh commands :TRIGger Commands ...
RIGOL Chapter 2 Command System *ESE Syntax *ESE <enable value> *ESE? Description Enables the bit in the enable register part of the standard event status register. Queries the enabled bit in the enable register part of the standard event status register.
RIGOL Chapter 2 Command System *ESR? Syntax *ESR? Description Queries the event status register of the standard event status register. Remarks The query returns a decimal value. It corresponds to the binary-weighted sum of all the bits in the enable register part of the standard event status register. The command also clears the status of the register.
RIGOL Chapter 2 Command System *OPC Syntax *OPC *OPC? Description After you run the command, Bit 0 (operation complete bit) in the event register part of the standard event status register is set to 1. Queries whether the *OPC command has been executed. If yes, it returns "1" in the output buffer.
RIGOL Chapter 2 Command System *PSC Syntax *PSC {0|1} *PSC? Description Enables (1) or disables (0) clearing of the enable register part of the status byte register and the standard event status register at power-on. Queries the state of enable register part when clearing of the enable register part of the status byte register and the standard event status register at power-on.
RIGOL Chapter 2 Command System *SRE Syntax *SRE <enable value> *SRE? Description Enables bits in the enable register part of the status byte register. Queries the bit enabled in the enable register part of the status byte register. The parameter <enable value> is a decimal value. It corresponds to the Remarks ...
RIGOL Chapter 2 Command System *TRG Syntax *TRG Description Generates a trigger action. Remarks The command is only applicable to the trigger system with the bus (software) trigger source (:STATus:QUEStionable:CONDition?) being selected. After you select the bus (software) trigger source, sending the command will trigger ...
RIGOL Chapter 2 Command System :STATus Commands Command List: :STATus:QUEStionable:CONDition? :STATus:QUEStionable:ENABle :STATus:QUEStionable[:EVENt]? :STATus:PRESet :STATus:OPERation:CONDition? :STATus:OPERation:ENABle :STATus:OPERation[:EVENt]? :STATus:QUEStionable:CONDition? Syntax :STATus:QUEStionable:CONDition? Description Queries the condition register of the questionable status register. Remarks The query returns a decimal value. It corresponds to the binary-weighted sum of all the bits in the register.
RIGOL Chapter 2 Command System :STATus:QUEStionable:ENABle Syntax :STATus:QUEStionable:ENABle <enable value> :STATus:QUEStionable:ENABle? Description Enables bits in the enable register part of the questionable status register. Queries the bit enabled in the enable register part of the questionable status register. Parameter Name...
RIGOL Chapter 2 Command System :STATus:PRESet Syntax :STATus:PRESet Description Clears all the bits in the event register part of the questionable status register. Remarks The event registers that have been cleared include query event enable register, channel summary event enable register, and operation event enable register. Other registers will not be affected by the command.
RIGOL Chapter 2 Command System :STATus:OPERation:ENABle Syntax :STATus:OPERation:ENABle <enable value> :STATus:OPERation:ENABle? Description Enables bits in the operation enable register of the questionable status register. Queries the bit enabled in the operation enable register of the questionable status register. Parameter Name...
RIGOL Chapter 2 Command System :FETCh:VOLTage:MAX? :MEASure:VOLTage:MAX? Syntax :FETCh:VOLTage:MAX? :MEASure:VOLTage:MAX? Description Reads the maximum input voltage of the instrument. Return The query returns a real number. Format :FETCh:VOLTage:MIN? :MEASure:VOLTage:MIN? Syntax :FETCh:VOLTage:MIN? :MEASure:VOLTage:MIN? Description Reads the minimum input voltage of the instrument.
RIGOL Chapter 2 Command System :FETCh:RESistance[:DC]? :MEASure:RESistance[:DC]? Syntax :FETCh:RESistance[:DC]? :MEASure:RESistance[:DC]? Description Reads the resistance of the instrument. Return The query returns a real number. Format Related [:SOURce]:RESistance[:LEVel][:IMMediate] Command :FETCh:POWer[:DC]? :MEASure:POWer[:DC]? Syntax :FETCh:POWer[:DC]? :MEASure:POWer[:DC]? Description Reads the input power of the instrument.
RIGOL Chapter 2 Command System :FETCh:DISChargingTime? :MEASure:DISChargingTime? Syntax :FETCh:DISChargingTime? :MEASure:DISChargingTime? Description Reads the discharge time of the battery. Return The query returns a real number. Format :FETCh:TIME? :MEASure:TIME? Syntax :FETCh:TIME? :MEASure:TIME? Description Reads the integration time of the instrument. Return It is the integration time of 10 PLC.
RIGOL Chapter 2 Command System :TRIGger Commands Command List: :TRIGger :TRIGger:SOURce :TRIGger Syntax :TRIGger[:IMMediate] Description When SCPI command trigger (Bus) is selected to be the trigger source, running the command will immediately initiate a trigger. Related :TRIGger:SOURce Command...
RIGOL Chapter 2 Command System [:SOURce]:INPut Syntax [:SOURce]:INPut[:STATe] {0|1|ON|OFF} [:SOURce]:INPut[:STATe]? Description Sets the input of the electronic load to be on or off. Queries whether the input of the electronic load is on or off. Remarks Once you power on the load, it will not sink the current immediately, and you need to ...
RIGOL Chapter 2 Command System activated list command. WAVe: indicates that the input regulation mode is determined by the waveform display command. BATTery: indicates that the input regulation mode is determined by the battery discharge command. OCP: indicates that the input regulation mode is determined by the OCP command. OPP: indicates that the input regulation mode is determined by the OPP command.
RIGOL Chapter 2 Command System the maximum value of the load's regulated current; and the parameter "DEFault" indicates querying the default value of the load's regulated current. Return The query returns a real number. Format Example :SOUR:CURR:LEV:IMM 3 /*Sets the load's regulated current in CC mode to be 3 A.*/ :SOUR:CURR:LEV:IMM? /*Queries the load's regulated current set in CC mode.*/...
RIGOL Chapter 2 Command System [:SOURce]:CURRent:SLEW:POSitive Syntax [:SOURce]:CURRent:SLEW:POSitive {<value>|MINimum|MAXimum|DEFault} [:SOURce]:CURRent:SLEW:POSitive? [MINimum|MAXimum|DEFault] Description Sets the rising rate in transient operation mode. Queries the rising rate set in transient operation mode. Remarks The rising rate of the load set in transient operation mode is the slew rate of the load ...
RIGOL Chapter 2 Command System [:SOURce]:CURRent:VON Syntax [:SOURce]:CURRent:VON {<value>|MINimum|MAXimum|DEFault} [:SOURce]:CURRent:VON? [MINimum|MAXimum|DEFault] Description Sets the starting voltage in CC mode. Queries the starting voltage set in CC mode. Remarks When the input voltage increases and reaches a value above the set starting voltage ...
RIGOL Chapter 2 Command System Remarks The current limit refers to the upper limit of the current working in CC mode. Its unit is A. In the setting command, the parameter "MINimum" indicates setting the minimum current; the parameter "MAXimum" indicates setting the maximum current; and the parameter "DEFault"...
RIGOL Chapter 2 Command System parameter "DEFault" indicates querying the default value of Level A. Return The query returns a real number. Format Example :SOUR:CURR:TRAN:ALEV 5 /*Sets Level A in transient operation mode to be 5 A.*/ :SOUR:CURR:TRAN:ALEV? /*Queries Level A set in transient operation mode.*/...
RIGOL Chapter 2 Command System Return The query returns a real number. Format Example :SOUR:CURR:TRAN:AWID 1 /*Sets the width of Level A in continuous or pulsed transient operation to be 1 ms.*/ :SOUR:CURR:TRAN:AWID? /*Queries the width of Level A in continuous or pulsed transient operation.*/...
RIGOL Chapter 2 Command System frequency; the parameter "MAXimum" indicates querying the maximum frequency; and the parameter "DEFault" indicates querying the default frequency. Return The query returns a real number. Format Example :SOUR:CURR:TRAN:FREQ 5 /*Sets the frequency in continuous mode to be 5 kHz.*/ :SOUR:CURR:TRAN:FREQ? /*Queries the frequency set in continuous mode.*/...
RIGOL Chapter 2 Command System Format Example :SOUR:CURR:TRAN:ADUT 50 /*Sets the duty cycle in continuous mode to be 50%.*/ :SOUR:CURR:TRAN:ADUT? /*Queries the duty cycle set in continuous mode.*/ Related [:SOURce]:CURRent:TRANsient:AWIDth Command [:SOURce]:VOLTage[:LEVel][:IMMediate] Syntax [:SOURce]:VOLTage[:LEVel][:IMMediate] {<value>|MINimum|MAXimum|DEFault} [:SOURce]:VOLTage[:LEVel][:IMMediate]? [MINimum|MAXimum|DEFault] Description Sets the load voltage in CV mode.
RIGOL Chapter 2 Command System [:SOURce]:VOLTage:VLIMt Syntax [:SOURce]:VOLTage:VLIMt {<value>|MINimum|MAXimum|DEFault} [:SOURce]:VOLTage:VLIMt? [MINimum|MAXimum|DEFault] Description Sets the voltage limit in CV mode. Queries the voltage limit set in CV mode. Remarks The voltage limit refers to the upper limit of the voltage working in CV mode. The unit ...
RIGOL Chapter 2 Command System Remarks The load resistance refers to the constant resistance in CR mode. Its unit is Ω. In the setting command, the parameter "MINimum" indicates setting the minimum load resistance; the parameter "MAXimum" indicates setting the maximum load resistance;...
RIGOL Chapter 2 Command System Return The query returns a real number. Format Example :SOUR:RES:VLIM 5 /*Sets the voltage limit in CR mode to be 5 V.*/ :SOUR:RES:VLIM? /*Queries the voltage limit set in CR mode.*/ [:SOURce]:RESistance:ILIMt Syntax [:SOURce]:RESistance:ILIMt {<value>|MINimum|MAXimum|DEFault}...
RIGOL Chapter 2 Command System [:SOURce]:POWer:VLIMt Syntax [:SOURce]:POWer:VLIMt {<value>|MINimum|MAXimum|DEFault} [:SOURce]:POWer:VLIMt? [MINimum|MAXimum|DEFault] Description Sets the voltage limit in CP mode. Queries the voltage limit set in CP mode. Remarks The voltage limit refers to the upper limit of the voltage working in CP mode. The unit ...
RIGOL Chapter 2 Command System current/voltage/resistance/power modes accurately and rapidly, which may be synchronized with internal or external signals. In this way, you can complete the sophisticated test. The list function supports CC, CV, CR, and CP modes. Return The query returns CC, CV, CR, or CP.
RIGOL Chapter 2 Command System [:SOURce]:LIST:STEP Syntax [:SOURce]:LIST:STEP {<value>|MINimum|MAXimum} [:SOURce]:LIST:STEP? [MINimum|MAXimum] Description Sets the number of steps executed in each cycle. Queries the number of steps executed in each cycle. Remarks Its range is from 2 to 512. The step value starts from 0.
RIGOL Chapter 2 Command System Example :SOUR:LIST:WID 3,3 /*Sets the width for Step 4 to 3 s.*/ :SOUR:LIST:WID? 3 /*Queries the width for Step 4.*/ [:SOURce]:LIST:SLEW Syntax [:SOURce]:LIST:SLEW <step>,<value> [:SOURce]:LIST:SLEW? <step> Description Sets the slew rate for CC mode in List operation.
RIGOL Chapter 2 Command System In the setting command, the parameter "MINimum" indicates setting a low range; the parameter "MAXimum" indicates setting a high range; and the parameter "DEFault" indicates setting the default range. In the query command, the parameter "MINimum" indicates querying a low range;...
RIGOL Chapter 2 Command System the parameter "DEFault" indicates querying the default voltage. Return The query returns a real number. Format Example :SOUR:BATT:VST 5 /*Sets the voltage at which the battery stops discharging in Battery mode to be 5 V.*/...
RIGOL Chapter 2 Command System [:SOURce]:BATTary:VON Syntax [:SOURce]: BATTary:VON {<value>|MINimum|MAXimum|DEFault} [:SOURce]: BATTary:VON? [MINimum|MAXimum|DEFault] Description Sets the starting voltage in Battery mode. Queries the starting voltage in Battery mode. Remarks The default unit for the starting voltage is V, and it ranges from 0 V to 150 V.
RIGOL Chapter 2 Command System [:SOURce]:BATTary:TENabstop Syntax [:SOURce]:BATTary:TENabstop {0|1|ON|OFF} [:SOURce]:BATTary:TENabstop? Description Sets the discharge cut-off time switch of the electronic load. Queries the on/off status of the discharge cut-off time of the electronic load. Return 0 (OFF) or 1 (ON)
RIGOL Chapter 2 Command System Return The query returns a real number. Format Example :SOUR:OCP:VON 5 /*Sets the starting voltage in OCP mode to be 5 V.*/ :SOUR:OCP:VON? /*Queries the starting voltage in OCP mode.*/ [:SOURce]:OCP:VONDelay Syntax [:SOURce]:OCP:VONDelay {<value>|MINimum|MAXimum|DEFault} [:SOURce]:OCP:VONDelay? [MINimum|MAXimum|DEFault] Description Sets the delay time of the starting voltage in OCP mode.
RIGOL Chapter 2 Command System [:SOURce]:OCP:ISTep Syntax [:SOURce]:OCP:ISTep {<value>|MINimum|MAXimum|DEFault} [:SOURce]:OCP:ISTep? [MINimum|MAXimum|DEFault] Description Sets the step current in OCP mode. Queries the step current in OCP mode. Remarks The step current is called the step value of the current in OCP mode. The default unit ...
RIGOL Chapter 2 Command System OCP mode. The default unit for the value is A. In the setting command, the parameter "MINimum" indicates setting the minimum value of the maximum current; the parameter "MAXimum" indicates setting the maximum value of the maximum current; and the parameter "DEFault" indicates setting the default value of the maximum current.
RIGOL Chapter 2 Command System In the query command, the parameter "MINimum" indicates querying the minimum protection voltage; the parameter "MAXimum" indicates querying the maximum protection voltage; and the parameter "DEFault" indicates querying the default protection voltage. Return The query returns a real number.
RIGOL Chapter 2 Command System Return The query returns a real number. Format Example :SOUR:OPP:VON 5 /*Sets the starting voltage in OPP mode to be 5 V.*/ :SOUR:OPP:VON? /*Queries the starting voltage in OPP mode.*/ [:SOURce]:OPP:VONDelay Syntax [:SOURce]:OPP:VONDelay {<value>|MINimum|MAXimum|DEFault} [:SOURce]:OPP:VONDelay? [MINimum|MAXimum|DEFault] Description Sets the delay time of the starting voltage in OPP mode.
RIGOL Chapter 2 Command System [:SOURce]:OPP:PSTep Syntax [:SOURce]:OPP:PSTep {<value>|MINimum|MAXimum|DEFault} [:SOURce]:OPP:PSTep? [MINimum|MAXimum|DEFault] Description Sets the step power in OPP mode. Queries the step power in OPP mode. Remarks The step power is called the step value of the power in OPP mode. The default unit ...
RIGOL Chapter 2 Command System mode. The default unit for the value is W. In the setting command, the parameter "MINimum" indicates setting the minimum value of the maximum power; the parameter "MAXimum" indicates setting the maximum value of the maximum power; and the parameter "DEFault" indicates setting the default value of the maximum power.
RIGOL Chapter 2 Command System In the query command, the parameter "MINimum" indicates querying the minimum protection voltage; the parameter "MAXimum" indicates querying the maximum protection voltage; and the parameter "DEFault" indicates querying the default protection voltage. Return The query returns a real number.
RIGOL Chapter 2 Command System Related [:SOURce]:FUNCtion:MODE Command [:SOURce]:WAVe:TSTep Syntax [:SOURce]:WAVe:TSTep{1|10} [:SOURce]:WAVe: TSTep? Description Sets the time step scale in the waveform display interface. Queries the set time step scale. Remarks The time step scale includes *1 and *10. When the time step is set to "*1", it ...
RIGOL Chapter 2 Command System :SYSTem Commands Command List: :SYSTem:KEY :SYSTem:ERRor? :SYSTem:VERSion? :SYSTem:IDN :SYSTem:KEY Syntax :SYSTem:KEY <keyval> Description Simulates the keys on the front panel remotely. Remarks keyval is the key value. For its detailed key name, refer to the following table.
Identification string contains four comma separated fields and conforms to the IEEE-488 standards. After the system is reset, the identification string will be cleared. Example SYSTem:IDN:SET RIGOL,DL3031A,DL3000A000001,00.01.00.04.05 /*Defines the manufacturer, the product model, the serial number, and the firmware version.*/...
RIGOL Chapter 2 Command System :LXI Commands Command List: LXI:IDENtify[:STATE] LXI:MDNS[:ENABle] LXI:RESet LXI:RESTart LXI:IDENtify[:STATE] Syntax LXI:IDENtify[:STATE] {0|1|ON|OFF} LXI:IDENtify[:STATE]? Description Sets the LXI identifier in the interface to be on or off. Queries the state of the LXI identifier in the interface.
RIGOL Chapter 2 Command System LXI:RESet Syntax LXI:RESet Description Restores the LAN settings to defaults. Remarks The default state of LAN is as follows: DHCP:ON AutoIP:ON ManualIP:OFF LXI:RESTart Syntax LXI:RESTart Description Applies the currently set parameters. DL3000 Programming Guide 2-53...
To obtain the option license, first purchase the required option to obtain the key, and then use the key to generate the option license according to the following steps. Log in to the RIGOL official website (www.rigol.com), click SERVICE Software License Register to enter the "Registered product license code" interface.
RIGOL Chapter 3 Application Instances Chapter 3 Application Instances This chapter provides the application instances of the SCPI commands. The main functions of the load can be realized through a series of SCPI commands. Note: The instances in this chapter take DL3031A as an example. The range of certain parameters for other models may be different.
Page 74
RIGOL Chapter 3 Application Instances (15) :SOUR:LIST:SLEW 2,0.2 /*Sets the slew rate at Step 3 to be 0.2 A/μs.*/ (16) :TRIG:SOUR MANU /*Sets the trigger source of the load to be manual. Pressing the TRAN key can enable the trigger.*/ (17) :SOUR:INP:STAT 1 /*Sets the input of the load to be on.*/...
Chapter 4 Programming Instances Chapter 4 Programming Instances This chapter illustrates how to program DL3000 series with SCPI commands based on NI-VISA in Excel, MATLAB, LabVIEW, Visual C++, and Visual C#. NI-VISA (National Instrument-Virtual Instrument Software Architecture), developed by NI (National Instrument), provides an advanced programming interface to communicate with various instruments through their bus lines.
Page 76
RIGOL Chapter 4 Programming Instances Obtain the USB VISA descriptor of the load. Press Utility, and then the VISA descriptor is displayed at the bottom of the interface. The VISA descriptor of the load used in this instance is USB0::0x1AB1::0x0E11::DL3000A000001::INSTR.
RIGOL Chapter 4 Programming Instances Excel Programming Instance Program used in this instance: Microsoft Excel 2007 Function realized in this example: sending the *IDN? command and reading the instrument information. Create a new Excel file that enables the Macros, and name it "DL3000_Demo_Excel.xlsm".
Page 78
RIGOL Chapter 4 Programming Instances Select Tools(T) in the Microsoft Visual Basic menu bar and click References. In the displayed dialog box, select VISA Library, and click OK to refer to the VISA Library. Remarks: If you cannot find VISA Library in the left section of the above dialog box, please follow the method below to find it.
Page 79
RIGOL Chapter 4 Programming Instances Click View Code under Developer menu to enter the interface of Microsoft Visual Basic. Add the following codes and save the file. Note: If the Excel file created at Step 2 does not enable the Macros, a prompt message "The following features cannot be saved in macro-free workbooks"...
%display the device information already read Save the M file to the current path. In this instance, the M file is named as "dl3000_Demo_MATLAB.m". Run the M file and the running results are displayed as follows: IDN= RIGOL TECHNOLOGIES,DL3031A,LS000001,00.01.00.04.05 DL3000 Programming Guide...
RIGOL Chapter 4 Programming Instances LabVIEW Programming Instance Program used in this example: LabVIEW 2010 Function realized in this instance: search for the instrument address, connect to the instrument, send and read commands. Run LabVIEW 2010, and then create a VI file named DL_Demo_LABVIEW.
Page 85
RIGOL Chapter 4 Programming Instances Run the program, and then the following interface is displayed below. Click the VISA resource name from the drop-down list under Address, and click Connect to connect the instrument. Then, input *IDN? in the Command field. Click Write to write the command to the instrument. If it is a query command, click Read, and then the query result will be displayed in the Return field.
RIGOL Chapter 4 Programming Instances Visual C++ Programming Instance Program used in this example: Microsoft Visual C++6.0 Function realized in this example: sending the *IDN? command and reading the instrument information. Run Microsoft Visual C++6.0. Create a MFC project based on a dialog box.
Page 87
RIGOL Chapter 4 Programming Instances Select Include files from the drop-down list under Show directories for. Double click the empty space under Directories to enter the specified path of Include files: C:\Program Files\IVI Foundation\VISA\WinNT\include. Click OK to close the dialog box.
Page 88
RIGOL Chapter 4 Programming Instances Add codes. Double-click Send and Read to enter the programming environment. Declare the VISA library "#include <visa.h>" in the header file and then add the following codes: ViSessiondefaultRM, vi; charbuf [256] = {0}; CStrings,strTemp; char* stringTemp;...
Page 89
RIGOL Chapter 4 Programming Instances strTemp = strTemp + "\n"; stringTemp = (char *)(LPCTSTR)strTemp; viPrintf (vi,stringTemp); //read results viScanf (vi, "%t\n", &buf); //display the results UpdateData (TRUE); m_receive = buf; UpdateData (FALSE); viClose (vi); viClose (defaultRM); Save, compile, and run the project to obtain a single exe file. When the electronic load is successfully connected to the PC, select "*IDN?"...
RIGOL Chapter 4 Programming Instances Visual C# Programming Instance Program used in this instance: Microsoft Visual Studio 2010 Function realized in this example: sending the *IDN? command and reading the instrument information. 1. Run Microsoft Visual Studio 2010, and create a project. Search for visa32.cs from the VISA installation directory and add it to the project.
Page 91
RIGOL Chapter 4 Programming Instances viError = visa32.viOpenDefaultRM(out viDefRm); viError = visa32.viOpen(viDefRm, cDEVICE_INSTR, 0, 5000, out viSession); visa32.viPrintf(viSession, "*IDN?\n"); byteReadBuf = new byte[128]; visa32.viRead(viSession, byteReadBuf, 128, out retCnt); strIdn = ""; for ( i = 0; i < retCnt; i++ ) strIdn = strIdn + Convert.ToChar(byteReadBuf[i]);...
RIGOL Chapter 5 Appendix Chapter 5 Appendix Appendix A: Default Settings Note*: These parameters will not be affected by the default setting operations. You can restore the instruments to factory defaults by doing either of the following operations: Send the *RST command.
Page 94
RIGOL Chapter 5 Appendix Trigger Source TRAN Range A_Level B_Level Rising slew rate 0.001 A/μs Falling slew rate 0.001 A/μs Trigger Source TRAN List Mode Range Circle Steps Last State Trigger Source TRAN Step Value Step Duration Step Slew 0.001 A/μs...
Page 95
RIGOL Chapter 5 Appendix Mode Current Range 60 A Maximum Value 10 A Minimum Value Pass_Tip Fail_Tip Pass_Sound Fail_Sound CC+CV Current C_Range 60 A Voltage V_Range 150 V V_Limit 155 V C_Limit 70 A System Language* 简体中文 Power-on Default Beeper...
Chapter 5 Appendix Appendix B: Warranty RIGOL warrants that the product mainframe and product accessories will be free from defects in materials and workmanship within the warranty period. If a product proves defective within the warranty period, RIGOL guarantees free replacement or repair for the defective product.
Need help?
Do you have a question about the DL3000 Series and is the answer not in the manual?
Questions and answers