background image

Summary of Contents for DP2000 Series

Page 1: ......

Page 2: ...ce RIGOL shall not be liable for either incidental or consequential losses in connection with the furnishing use or performance of this manual as well as any information contained Any part of this doc...

Page 3: ...13 4 1 2 ANALyzer CURRent MEASure TYPE 14 4 1 3 ANALyzer CURRent THRE 14 4 1 4 ANALyzer SAVE ROUTe 15 4 1 5 ANALyzer SAVE STATe 16 4 1 6 ANALyzer STATe 17 4 1 7 ANALyzer TYPE 18 4 2 APPLy Commands 18...

Page 4: ...2 MEMory CDIRectory 39 4 7 3 MEMory DELete 40 4 7 4 MEMory DISK 41 4 7 5 MEMory LOAD 41 4 7 6 MEMory LOCK 42 4 7 7 MEMory MDIRectory 43 4 7 8 MEMory STORe 43 4 7 9 MEMory VALid 44 4 8 OUTPut Commands...

Page 5: ...n VOLTage PROTection TRIPped 67 4 10 STATus Commands 68 4 10 1 STATus OPERation CONDition 68 4 10 2 STATus OPERation ENABle 69 4 10 3 STATus OPERation EVENt 70 4 10 4 STATus PRESet 70 4 10 5 STATus Q...

Page 6: ...cate RS232 PBIT 89 4 11 7 4 SYSTem COMMunicate RS232 SBIT 89 4 11 8 SYSTem ERRor NEXT 90 4 11 9 SYSTem KLOCk STATe 90 4 11 10 SYSTem LANGuage TYPE 91 4 11 11 SYSTem LOCal 92 4 11 12 SYSTem POWEron 92...

Page 7: ...4 12 21 TIMEr TEMPlet SYMMetry 115 4 12 22 TIMEr TEMPlet WIDTh 116 4 12 23 TIMEr TEMPlet STAIr 117 4 12 24 TIMEr TRIG 117 4 13 TRIGger Commands 118 4 13 1 TRIGger IN ENABle 118 4 13 2 TRIGger IN IMME...

Page 8: ...register and the decimal values corresponding to their binary weights 10 Table 3 4 Definitions of the bits in the standard event register and the decimal values corresponding to their binary weights 1...

Page 9: ...The front panel key is denoted by the menu key icon For example the indicates the Utility shortcut key 2 Menu The menu function key is denoted by the format of Menu Name Bold Character Shading in the...

Page 10: ...V 3 A 6 V 5 A Range 2 1 32 V 2 A 32 V 2 A 6 V 10 A optional Note 1 The CH3 of DP2000 series has two ranges 6 V 5 A and 6 V 10 A optional When it switches to 6 V 10 A both CH1 and CH2 switch to 32 V 2...

Page 11: ...y a space For example ANALyzer TYPE type ANALyzer TYPE ANALyzer is the root keyword of the command TYPE is the second level keyword The command line starts with a colon and different levels of keyword...

Page 12: ...query returns COM or CURR 3 Integer Unless otherwise specified the parameter can be any integer NR1 format within the effective value range CAUTION Do not set the parameter to a decimal otherwise erro...

Page 13: ...of ASCII characters For example MEMory DELete filename Wherein filename can be set to NEW RSF Command Abbreviation All the commands are case insensitive They can all be in upper case or in lower case...

Page 14: ...he SCPI status system Event Register An event register is a read only register that reports defined status within the power supply Bits in an event register are latched Once an event bit is set subseq...

Page 15: ...onds to the binary weighted sum of the bits you wish to enable in the register Multiple Logical Output It is only applicable to multi channel models Take DP2031 as an example The three logical outputs...

Page 16: ...er The questionable status register provides information about questionable status of the power supply bit4 TEMPerature reports the over temperature state bit11 FAN reports the fan failure state and b...

Page 17: ...tion of the channel questionable status register and channel questionable status SUMMARY register group 14 15 Not used 0 Always be 0 Channel Questionable Status Register The channel questionable statu...

Page 18: ...the current becomes unregulated Sending STATus QUEStionable INSTrument ISUMmary n EVENt will read the channel questionable status SUMMARY register of the corresponding channel The definitions of the b...

Page 19: ...tandard event register and the decimal values corresponding to their binary weights are as shown in the table below An error condition bit2 bit3 bit4 or bit5 of the standard event register will record...

Page 20: ...it The definitions of the bits in the status byte register and the decimal values corresponding to their binary weights are as shown in the table below Table 3 5 Definitions of the bits in the status...

Page 21: ...The table below lists the default units of different parameters Type Default Unit Time s Voltage V Current A Power W 4 1 ANALyzer Commands ANALyzer commands are used to set the analyzer parameters ex...

Page 22: ...EASure TYPE Syntax ANALyzer CURRent MEASure TYPE ch ch ANALyzer CURRent MEASure TYPE Description Sets or queries the analysis object of the pulse current analysis Parameter Name Type Range Default ch...

Page 23: ...se In the analysis process the analyzer records the number of pulses below the threshold and the most recent pulse width below this threshold Return Format The query returns the on off state of the up...

Page 24: ...ename which cannot be omitted Return Format The query returns the path where the log file is currently saved for example C RA ROF Examples ANALyzer SAVE ROUTe C RA ROF Sets the current saved path of t...

Page 25: ...Te 1 Turns on the logger ANALyzer SAVE STATe Queries the on off state of the logger The query returns 1 4 1 6 ANALyzer STATe Syntax ANALyzer STATe bool ANALyzer STATe Description Sets or queries the r...

Page 26: ...terfaces For multi channel models you can select the specified channel and set the voltage and current in a single command If the setting values are within the parameter ranges of the corresponding ch...

Page 27: ...Range Default source Discrete CH1 CH2 CH3 volt Real Please refer to Table 4 9 Ranges and default values of voltage current corresponding to each channel of DP2031 series curr Real Please refer to Tab...

Page 28: ...mat The query returns a string If only source is specified the query returns the specified channel name rated voltage current the voltage setting value and current setting value For example the query...

Page 29: ...its in the standard event register and the decimal values corresponding to their binary weights For example if query error and execution error currently occur in the instrument the bit2 query error bi...

Page 30: ...responding to their binary weights please refer to Definitions of the bits in the standard event register and the decimal values corresponding to their binary weights For example to enable bit2 query...

Page 31: ...er The query returns 20 4 3 4 IDN Syntax IDN Description Queries the instrument s identification string Parameter None Remarks None Return Format The query returns the ID string in the format of Rigol...

Page 32: ...send OPC after a command that loads a query response in the instrument s output buffer query data you can use the OPC bit to determine when the message is available Return Format The query returns 1...

Page 33: ...es OPT Queries the installation status of the options The query returns DP2000 HADC DP2000 10A 4 3 7 PSC Syntax PSC bool PSC Description Enables or disables the function of clearing the enable registe...

Page 34: ...ate from the internal memory Parameter Name Type Range Default n Discrete 0 1 2 3 4 5 6 7 8 9 Remarks This command recalls a previously stored state from the power supply s internal memory Using numbe...

Page 35: ...memory with the specified filename RIGOLn RSF Parameter Name Type Range Default n Discrete 0 1 2 3 4 5 6 7 8 9 Remarks The command saves the current instrument state in the specified location overwrit...

Page 36: ...and their corresponding decimal values please refer to Status Byte Register For example to enable the bit3 QUES and bit4 MAV in the Status Byte enable register set enable_value to 24 23 24 After the...

Page 37: ...ing to their binary weights please refer to Definitions of the bits in the Status Byte register and the decimal values corresponding to their binary weights For example if questionable state currently...

Page 38: ...at None Examples TRG Generates an event trigger 4 3 14 TST Syntax TST Description Queries the self test result of the instrument Parameter None Remarks The power supply performs a power on self test T...

Page 39: ...er commands 4 4 INSTrument Commands INSTrument commands are used to select the channel to be programmed or query the channel currently selected 4 4 1 INSTrument NSELect Syntax INSTrument NSELect n INS...

Page 40: ...e Discrete CH1 CH2 CH3 CH1 Remarks This command functions the same as INSTrument NSELect and INSTrument SELEct Return Format The query returns the channel name and its rated voltage current For exampl...

Page 41: ...ry returns CH2 32V 3A 4 5 LIC Commands LIC commands are used to install options 4 5 1 LIC SET Syntax LIC SET license Description Installs the option Parameter Name Type Range Default license ASCII str...

Page 42: ...root directory of the USB storage device You can send OPT to query the installation of the specified option Return Format None Examples None 4 5 2 LIC INSTall Syntax LIC INSTall license Description I...

Page 43: ...ory of the USB storage device You can send OPT to query the installation of the specified option Return Format None Examples None 4 6 MEASure Commands MEASure commands are used to query the voltage cu...

Page 44: ...ALL CH1 Queries the voltage current and power measured at the output terminal of CH1 The query returns 2 0000 0 0500 0 100 4 6 2 MEASure SCALar CURRent DC Syntax MEASure SCALar CURRent DC source Descr...

Page 45: ...esent series loop PARallel Queries the total power of the present parallel loop If source is omitted the command queries the power measured at the output terminal of the channel currently selected You...

Page 46: ...tage measured at the output terminal of CH1 The query returns 2 0000 4 7 MEMory Commands MEMory commands are used to save the file to the specified location in internal external memory and delete read...

Page 47: ...RIGOL0 BMP cc RSF wherein RIGOL0 BMP represents bitmap file and cc RSF represents state file Examples MEMory CATalog Queries the names of files in the current path The query returns RIGOL0 BMP cc RSF...

Page 48: ...meter Name Type Range Default filename ASCII string Refer to Remarks Remarks filename is the name of the file to be deleted the filename uses the file type as the suffix for example STA RSF or the nam...

Page 49: ...E 4 7 5 MEMory LOAD Syntax MEMory LOAD filename Description Reads the specified file stored in the current directory including state file RSF and Arb file RTF Parameter Name Type Range Default filena...

Page 50: ...ASCII string Refer to Remarks Remarks filename must be an existing filename with suffix in C disk Only C disk supports file lock function The command is valid only when the specified file exists You c...

Page 51: ...racter takes two bytes Folders cannot be created in C disk If the current path is C disk send this command and a prompt message will be displayed Return Format None Examples MEMory MDIRectory NEW Crea...

Page 52: ...internal memory Return Format None Examples MEM STOR NEW RSF Saves the state file in the current location and sets the filename to NEW RSF 4 7 9 MEMory VALid Syntax MEMory VALid filename Description...

Page 53: ...annel OVP OCP Available Range OVP OCP Default Value DP2031 Range1 CH1 32 V 3 A 1 mV to 35 2 V 1 mA to 3 3 A 35 2 V 3 3 A CH2 32 V 3 A 1 mV to 35 2 V 1 mA to 3 3 A 35 2 V 3 3 A CH3 6 V 5 A 1 mV to 6 6...

Page 54: ...y returns CV 4 8 2 OUTPut MODE Syntax OUTPut MODE source Description Queries the output mode CV CC or UR for the specified channel Parameter Name Type Range Default source Discrete CH1 CH2 CH3 Remarks...

Page 55: ...hen the actual output current reaches the OCP level You can send OUTPut OCP CLEar to clear the OCP event that occurred on the specified channel If source is omitted the command queries the output mode...

Page 56: ...CP CLEar source Description Clears an overcurrent protection OCP event occurred on the specified channel Parameter Name Type Range Default source Discrete CH1 CH2 CH3 Remarks Before executing the comm...

Page 57: ...the time in milliseconds default that the overcurrent protection OCP is temporarily disabled Parameter Name Type Range Default source Discrete CH1 CH2 CH3 value Real 0 to 1000 ms 10 ms lim Discrete M...

Page 58: ...OCP QUES or OUTPut OCP ALAR to query whether an OCP event occurred on the specified channel If source is omitted the command executes the corresponding operation on the current channel Return Format T...

Page 59: ...on on the current channel You can select MINimum to set the minimum OCP level or MAXimum to set the maximum OCP level You can also send SOURce n CURRent PROTection LEVel to set the OCP level for the s...

Page 60: ...ES source Description Queries whether an overvoltage protection OVP event occurred on the specified channel Parameter Name Type Range Default source Discrete CH1 CH2 CH3 Remarks The overvoltage protec...

Page 61: ...ted the command clears an OVP event that occurred on the current channel You can also send SOURce n VOLTage PROTection CLEar to clear an OVP event that occurred on the specified channel and enable the...

Page 62: ...urn Format The query returns 1 or 0 Examples OUTP OVP CH1 1 Enables the OVP function for CH1 OUTP OVP CH1 Queries the OVP on off state for CH1 The query returns 1 4 8 13 OUTPut OVP VALue Syntax OUTPut...

Page 63: ...ied channel Return Format The query returns the OVP level for example 8 800 Examples OUTP OVP VAL CH1 8 8 Sets the OVP level of CH1 to 8 8 V OUTP OVP VAL CH1 Queries the OVP level of CH1 The query ret...

Page 64: ...g the channel output please make sure that the current setting will not affect the devices connected to the power supply If source is omitted the command executes the corresponding operation on the cu...

Page 65: ...or 0 Examples OUTP TRAC ON Enables the tracking function for CH2 OUTP TRAC Queries the on off state of the tracking function The query returns 1 4 9 SOURce Commands SOURce commands are used to set the...

Page 66: ...WN is selected the command steps up or down the current according to the step size set in SOURce n CURRent LEVel IMMediate STEP INCRement You can also send APPLy to set the current for the specified c...

Page 67: ...A Select UP or DOWN and executes SOURce n CURRent LEVel IMMediate AMPLitude and the instrument will step up or down the current by the step size set in this command Return Format The query returns th...

Page 68: ...ommand clears an OCP event occurred on the current channel You can send OUTPut OCP CLEar command to clear an OCP event that occurred on the specified channel Return Format None Examples CURR PROT TRIP...

Page 69: ...he channel currently selected You can also send OUTPut OCP VALue to set the OCP level for the specified channel Return Format The query returns the OCP level for example 2 0000 Examples CURR PROT 2 Se...

Page 70: ...T STAT Queries the on off state of the OCP function for the current channel The query returns 1 4 9 6 SOURce n CURRent PROTection TRIPped Syntax SOURce n CURRent PROTection TRIPped Description Queries...

Page 71: ...on lim Discrete MINimum MAXimum DEFault amp Discrete UP DOWN Remarks If SOURce n or n is omitted the command sets the corresponding parameter for the channel currently selected When voltage is selecte...

Page 72: ...Description Sets or queries the step size of voltage for the specified channel Parameter Name Type Range Default n Integer 1 2 3 voltage Real 0 to the maximum voltage value of the specified channel Pl...

Page 73: ...e Range Default n Integer 1 2 3 Remarks You can send SOURce n VOLTage PROTection TRIPped to query whether an OVP event occurred on the specified channel Before executing the command make sure to remov...

Page 74: ...rent protection lim Discrete MINimum MAXimum Remarks When OVP SOURce n VOLTage PROTection STATe is enabled the output is disabled automatically if the actual output voltage reaches the OVP level curre...

Page 75: ...her an OVP event occurred on the specified channel If SOURce n or n is omitted the command sets the corresponding parameter of the channel currently selected You can also send OUTPut OVP STATe to enab...

Page 76: ...nt has occurred on the specified channel You can send SOURce n VOLTage PROTection CLEar to clear an OVP event that occurred on the specified channel Return Format The query returns 1 or 0 Examples VOL...

Page 77: ...t value Integer Refer to Remarks Remarks The value is a decimal value which corresponds to the binary weighted sum of the bits to be enabled in the enable register of the Operation Status register Whe...

Page 78: ...lue which corresponds to the binary weighted sum of the bits in the register For example the query might return 17 Examples STAT OPER Queries the value of the event register of the Operation Status re...

Page 79: ...te of the corresponding bit to the Status Byte register When enable value is set to 0 executing this command will clear the enable register of the Questionable Status register Return Format The query...

Page 80: ...NSTrument ENABle Syntax STATus QUEStionable INSTrument ENABle enable value STATus QUEStionable INSTrument ENABle Description Enables the bits in the enable register of the Questionable Status register...

Page 81: ...event register of the channel Questionable Status register Parameter None Remarks Executes this command and the query returns a decimal value corresponding to the binary weighted sum of all bits set...

Page 82: ...shown in the table below Returned Value Description 0 The output is off 1 The output is in CC constant current mode 2 The output is in CV constant voltage mode 3 The output is in UR unregulated mode R...

Page 83: ...able Status SUMMARY register Enable the bits in the enable register of the specified channel Questionable Status SUMMARY register and the system will report the state of the corresponding bit to the c...

Page 84: ...Y register Executes this command and the query returns a decimal value corresponding to the binary weighted sum of all bits set in the register and clear the status of the register This event register...

Page 85: ...Description Issues a single beep immediately Parameter None Remarks None Return Format None Examples None 4 11 2 SYSTem BEEPer STATe Syntax SYSTem BEEPer STATe bool SYSTem BEEPer STATe Description Se...

Page 86: ...Tem BRIGhtness lim Description Sets or queries the brightness of the LCD screen Parameter Name Type Range Default brightness Integer 1 to 100 50 factory lim Discrete MINimum MAXimum Remarks MINimum an...

Page 87: ...ormat The query returns an integer for example 7 Examples SYST COMM GPIB ADDR 7 Sets the GPIB address SYST COMM GPIB ADDR Queries the GPIB address The query returns 7 4 11 5 SYSTem COMMunicate LAN 4 1...

Page 88: ...al IP When operating in Auto IP mode the instrument automatically acquires the IP address from 169 254 0 1 to 169 254 255 254 and subnet mask 255 255 0 0 according to the current network configuration...

Page 89: ...uch as the IP address to the instrument When all the three configuration modes are set to On the priority of parameter configuration is DHCP Auto IP and Manual IP The three IP configuration modes cann...

Page 90: ...uire a valid address from your network administrator After sending the command execute SYSTem COMMunicate LAN APPLy to apply the network parameters currently set Return Format The query returns the DN...

Page 91: ...YSTem COMMunicate LAN APPLy to apply the network parameters currently set Return Format The query returns the IP address for example 172 16 3 128 Examples SYST COMM LAN DNS 172 16 3 128 Sets the IP ad...

Page 92: ...ault gateway to 172 16 3 1 SYST COMM LAN GATE Queries the current default gateway The query returns 172 16 3 1 4 11 5 7 SYSTem COMMunicate LAN MAC Syntax SYSTem COMMunicate LAN MAC Description Queries...

Page 93: ...configuration is DHCP Auto IP and Manual IP Therefore to use the Manual IP configuration mode DHCP SYSTem COMMunicate LAN DHCP STATe and Auto IP SYSTem COMMunicate LAN AUTOip STATe should be set to O...

Page 94: ...id subnet mask from your network administrator After sending the command you must execute SYSTem COMMunicate LAN APPLy to apply the network parameters currently set Return Format The query returns the...

Page 95: ...s At this point you can press the output on off key only to disable channel output You can only use the specified command to disable the remote lock mode Return Format The query returns LOCal REMote o...

Page 96: ...19200 SYST COMM RS232 BAUD Queries the baud rate of the RS232 interface The query returns 19200 4 11 7 2 SYSTem COMMunicate RS232 DBIT Syntax SYSTem COMMunicate RS232 DBIT databit SYSTem COMMunicate...

Page 97: ...to None Odd or Even Return Format The query returns NONE ODD or EVEN Examples SYST COMM RS232 PBIT ODD Sets the parity check to Odd SYST COMM RS232 PBIT Queries the parity check The query returns ODD...

Page 98: ...r is replaced with 350 Queue overflow No additional errors are stored until you remove errors from the queue Errors are retrieved in first in first out FIFO order The error queue is cleared when power...

Page 99: ...y only to disable channel output You can also send SYSTem RWLock to enable or disable remote lock Return Format The query returns 1 or 0 Examples SYST KLOC STAT ON Enables the remote lock SYST KLOC ST...

Page 100: ...ode all the keys on the front panel are disabled except for the output on off key of each channel power switch key and At this point you can press the output on off key only to disable channel output...

Page 101: ...les SYST POWE LAST Sets the instrument to use the system configuration before the last power off at power on SYST POWE Queries the instrument configuration to be used at power on The query returns LAS...

Page 102: ...mode At this point all the keys on the front panel cannot be used except for the output on off key of each channel power switch key and You can send SYSTem LOCal return the power supply from remote m...

Page 103: ...SYST RWL ON Enables the remote lock 4 11 16 SYSTem SAMPling Syntax SYSTem SAMPling mode SYSTem SAMPling Description Sets or queries the sampling mode Parameter Name Type Range Default mode Discrete AU...

Page 104: ...ing mode When the instrument operates in parallel mode internal the sampling mode is fixed to high range current mode If you want to use external parallel connection you need to set the sampling mode...

Page 105: ...arge in order to ensure that the load acquires the correct voltage drop this series power supply provides the Sense remote sense working mode In this mode the instrument detects the voltage at the loa...

Page 106: ...Examples SYST SYNC ON Enables the on off sync function SYST SYNC Queries the state of the on off sync function The query returns 1 4 11 20 SYSTem TMODe Syntax SYSTem TMODe trackmode SYSTem TMODe Descr...

Page 107: ...or INDEPENDENT Examples SYST TMOD SYNC Enables the track mode SYST TMOD Queries the on off status of the track mode The query returns SYNCHRONOUS 4 11 21 SYSTem TLOCk Syntax SYSTem TLOCk bool SYSTem...

Page 108: ...turn 1999 0 Examples SYST VERS Queries the present SCPI version of the system The query returns 1999 0 4 12 TIMEr Commands TIMEr commands are used to set the parameters and on off state of the arbitra...

Page 109: ...nction when the total number of groups is complete At this point the state of the power supply is decided by the setting in TIMEr ENDState Return Format The query returns I or N value for example N 20...

Page 110: ...own output automatically once output is completed LAST the instrument stays in the output state of the last group after the output is completed The total number of groups in timing output the number o...

Page 111: ...Format The query returns an integer between 1 and 512 for example 25 Examples TIME GROUP NUM Queries the number of output groups The query returns 25 4 12 5 TIMEr GROUP INDEx Syntax TIMEr GROUP INDEx...

Page 112: ...he current channel time Real Up to 3600 s groupcount Integer 1 to 512 1 Remarks volt curr and time are the voltage current and time of the group and their units are V A and s respectively groupcount i...

Page 113: ...1 1 Sets the parameters of the group currently edited to 0 5 V 1 A and 1 s TIMEr GROUP INDEx 2 Sets the index number of the group currently edited to 2 TIME GROUP PARA 5 5 2 1 Sets the parameters of t...

Page 114: ...groups and repetition cycle currently set when the waveform output is enabled SINGle The instrument will output a single set of data in order each time the waveform output is enabled Return Format Th...

Page 115: ...G is set to BUS you also need to send TRG to enable the output When the run mode TIMEr RUN is set to Single SINGle turning on the selected channel and the generator TIME ON the instrument will output...

Page 116: ...rameters set cannot reach the minimum due to the characteristic of the exponential function itself The range of the parameters created is related to the fall index currently set The larger the fall in...

Page 117: ...the Time Interval to 15 s TIME TEMP INTE Queries the Time Interval currently set The query returns 15 000 4 12 13 TIMEr TEMPlet INVErt Syntax TIMEr TEMPlet INVErt bool TIMEr TEMPlet INVErt Description...

Page 118: ...ect is set to Voltage V this command sets the maximum voltage value when the object is set to Current C this command sets the maximum current value When the selected template is Pulse this command set...

Page 119: ...emplate is Pulse this command sets or queries the low level MINimum and MAXimum indicate the minimum and maximum current voltage available Return Format The query returns the minimum voltage or curren...

Page 120: ...range of the selected channel At this point you can send TIMEr TEMPlet MAXValue and TIMEr TEMPlet MINValue to set the maximum and minimum values of current respectively Return Format The query returns...

Page 121: ...d time interval TIMEr TEMPlet INTErval The number of points within a period period time interval Return Format The query returns a real number ranging from 0 001 to 3600 for example 15 000 Examples TI...

Page 122: ...he total number of points currently set The query returns 80 4 12 19 TIMEr TEMPlet RISERate Syntax TIMEr TEMPlet RISERate value TIMEr TEMPlet RISERate Description Sets or queries the rise index of Exp...

Page 123: ...e Default temp Discrete SINE PULSE RAMP UP DN UPDN RISE FALL SINE Remarks None Return Format The query returns SINE PULSE RAMP UP DN UPDN RISE or FALL Examples TIME TEMP SEL UP Selects the Stair Up te...

Page 124: ...EMPlet WIDTh Syntax TIMEr TEMPlet WIDTh value TIMEr TEMPlet WIDTh Description Sets or queries the Positive Pulse Width of Pulse Parameter Name Type Range Default value Real Up to 3600 s 1 s Remarks Pu...

Page 125: ...ycle val should be smaller than the number of the group of parameters TIMEr TEMPlet POINTs Return Format The query returns the number of steps between the maximum and minimum for the waveform for exam...

Page 126: ...r the selected channel is turned on the instrument will output waveforms based on the set run mode TIMEr RUN when TRG is received Return Format The query returns MANUAL or BUS Examples TIMEr TRIG BUS...

Page 127: ...g in TRIGger IN RESPonse Return Format The query returns 1 or 0 Examples TRIG IN D1 ON Enables the trigger input function for D1 TRIG IN D1 Queries the on off state of the trigger input function for D...

Page 128: ...nel currently selected as the source under control when the trigger condition TRIGger IN TYPE is met OutFlip ALTER Toggles the channel output state when the trigger condition TRIGger IN TYPE is met Th...

Page 129: ...contains multiple channels the channels are separated by commas For example the query might return CH1 or CH1 CH2 Examples TRIG IN SOUR D1 CH1 CH2 Sets the source under control of D1 trigger input to...

Page 130: ...put The query returns FALL 4 13 6 TRIGger OUT POLArity Syntax TRIGger OUT POLArity d pol TRIGger OUT POLArity d Description Sets or queries the output response of the trigger output for the specified...

Page 131: ...e CH1 CH2 CH3 CH1 Remarks You can select any one of CH1 CH2 and CH3 as the control source of trigger output Return Format The query returns the name of the control source selected for example CH1 Exam...

Page 132: ...nal according to the settings in TRIGger OUT POLArity when the specified control source TRIGger OUT SOURce is turned on Return Format The query returns 0 or 1 Examples TRIG OUT D1 ON Enables the trigg...

Page 133: ...the instrument communicates with the PC via the USB interface Connect the USB Device interface on the rear panel of the instrument to the PC by using the USB cable After the instrument is properly co...

Page 134: ...Diagram in the Window menu to create event structure 4 Add events including connecting instrument write operation read operation and exit Programming Examples 126 Copyright RIGOL TECHNOLOGIES CO LTD A...

Page 135: ...a Connect the instrument including error processing b Write operation including error judgment Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 127...

Page 136: ...c Read operation including error processing Programming Examples 128 Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved...

Page 137: ...d Exit Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 129...

Page 138: ...ing Example Program used in this example Visual Basic 6 0 Function realized in this example turn on the power supply s three channels with their color displayed Enter the Visual Basic 6 0 programming...

Page 139: ...the dialog box click on the General tab and select Form1 from the drop down button under Startup Object 5 Double click CH1 to enter the programming environment Add the following codes to control CH1 C...

Page 140: ...above CH1 turns yellow b Click CH2 to turn on CH2 and the label above CH2 turns blue c Click CH3 to turn on CH3 and the label above CH3 turns rosy The results are as shown in the figure below 5 4 Visu...

Page 141: ...Options dialog box Then click the Directories tab 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...

Page 142: ...he layout interface for adding controls is as follows 6 Modify the control attributes a Name Text as Command b Open the Data item in the Com box attribute and input the following command manually IDN...

Page 143: ...nter the programming environment Declare the include visa h of the VISA library in the header file and then add the following codes ViSession defaultRM vi char buf 256 0 CString s strTemp char stringT...

Page 144: ...Temp char LPCTSTR strTemp viPrintf vi stringTemp Read the results viScanf vi t n buf Display the results UpdateData TRUE m_receive buf UpdateData FALSE viClose vi viClose defaultRM 9 Save compile and...

Page 145: ......

Reviews: