The Yokogawa WT1806E power analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 91 commands for it, 16 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the WT1806E on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your Yokogawa WT1806E and writes the report from the measured results.
With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Yokogawa WT1806E's VISA address
# Paste the address of your Yokogawa WT1806E (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000 # ms
print(inst.query("*IDN?")) # identify the instrument
inst.write(":INPut:NULL:STATe ON") # Null On
print(inst.query(":NUMeric:NORMal:VALue?")) # Read Numeric Value
inst.close()Describe the test; TestFlow's agent uses this command set to drive your Yokogawa WT1806E and writes the report from the measured results.
Describe the test in a sentence, for example “null on on the WT1806E, then read numeric value and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.
91 commands in 15 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| :NUMeric:FORMat ASCii | Set Numeric Data Format ASCII. Sets the numeric data query response format to ASCII (NR3 scientific notation). | None |
| :NUMeric:FORMat FLOat | Set Numeric Data Format Float. Sets the numeric data query response format to IEEE single-precision floating point binary block. | None |
| NUMeric:NORMal:ITEM<Item_Number> <Function>,<Element> | Set Numeric Item. Assigns a measurement function and element to numeric data output item number 1-1000 for later retrieval with Read_Numeric_Value. | Number; Text: URMS,UMN,UDC,URMN,UAC,IRMS,IMN,IDC,IRMN,IAC,P,S,Q,LAMBDA,PHI,FU,FI,UPPEAK,UMPEAK,IPPEAK,IMPEAK,CFU,CFI,PC,PPPEAK,PMPEAK,TIME,WH,WHP,WHM,AH,AHP,AHM,WS,WQ; Number: 1,2,3,4,5,6 |
| :NUMeric:NORMal:NUMber <Count> | Set Numeric Item Count. Sets the number of numeric data items (1 to 1000, or ALL) returned by the Read_Numeric_Value query. | Number |
| :NUMeric:HOLD ON | Numeric Hold On. Holds all numeric measurement data internally at its current values so a consistent snapshot can be read across multiple queries. | None |
| :NUMeric:HOLD OFF | Numeric Hold Off. Releases the numeric data hold feature so data updates normally again. | None |
| :NUMeric:NORMal:VALue? | Read Numeric Value. Returns the numeric data for the configured output items (all items 1 to Set_Numeric_Item_Count, or a single item if an item number argument is given). | None |
| :NUMeric:NORMal:ITEM1? | Read Numeric Item Definition. Queries the function/element assigned to numeric data item 1 (used to confirm what Read_Numeric_Value item 1 represents). | None |
| NUMeric:NORMal:ITEM1 URMS,1 | Measure URMS E1. Assigns RMS voltage of element 1 to numeric item 1 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM2 IRMS,1 | Measure IRMS E1. Assigns RMS current of element 1 to numeric item 2 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM3 P,1 | Measure Active Power E1. Assigns active power (P) of element 1 to numeric item 3 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM4 S,1 | Measure Apparent Power E1. Assigns apparent power (S) of element 1 to numeric item 4 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM5 Q,1 | Measure Reactive Power E1. Assigns reactive power (Q) of element 1 to numeric item 5 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM6 LAMBDA,1 | Measure Power Factor E1. Assigns power factor (Lambda) of element 1 to numeric item 6 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM7 PHI,1 | Measure Phase Angle E1. Assigns phase angle (Phi) between voltage and current of element 1 to numeric item 7 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM8 FU,1 | Measure Voltage Freq E1. Assigns voltage frequency of element 1 to numeric item 8 for subsequent Read_Numeric_Value queries. | None |
| NUMeric:NORMal:ITEM9 FI,1 | Measure Current Freq E1. Assigns current frequency of element 1 to numeric item 9 for subsequent Read_Numeric_Value queries. | None |
| :NUMeric:NORMal:PRESet <Pattern> | Set Numeric Preset Pattern. Loads a factory preset pattern of numeric data output items (Pattern 2, the default, gives URMS/UMN/UDC/UAC/IRMS/IMN/IDC/IAC/P/S/Q/LAMBDA/PHI/FU/FI per element). | Number: 1,2,3,4 |
| :NUMeric:LIST:ITEM<Item_Number> <Function>,<Element> | Set Harmonic List Item. Assigns a harmonic measurement function to harmonic numeric list item 1-64, element defaults to 1 (requires /G5 or /G6 option). | Number: 1-64; Text: U,I,P,S,Q,LAMBda,PHI,PHIU,PHII,Z,RS,XS,RP,XP,UHDF,IHDF,PHDF; Number: 1,2,3,4,5,6 |
| :NUMeric:LIST:NUMber <Count> | Set Harmonic List Count. Sets the number of harmonic list data items (1 to 64) returned by the Read_Harmonic_List_Value query (requires /G5 or /G6 option). | Number |
| :NUMeric:LIST:VALue? | Read Harmonic List Value. Returns the harmonic measurement numeric list data (TOTal, DC, and each harmonic order up to the configured maximum order) for the configured list items (requires /G5 or /G6 option). | None |
| NUMeric:NORMal:ITEM10 WH,1 | Measure Watt Hours E1. Assigns accumulated watt-hours (WH) of element 1 to numeric item 10 for subsequent Read_Numeric_Value queries after integration. | None |
| NUMeric:NORMal:ITEM11 AH,1 | Measure Amp Hours E1. Assigns accumulated amp-hours (AH) of element 1 to numeric item 11 for subsequent Read_Numeric_Value queries after integration. | None |
| NUMeric:NORMal:ITEM12 TIME,1 | Measure Elapsed Integration Time. Assigns the elapsed integration time (seconds) to numeric item 12 for subsequent Read_Numeric_Value queries. | None |
| Command | What it does | Arguments |
|---|---|---|
| :INPut:WIRing <System> | Set Wiring Single Element. Sets the wiring system for a 1-element model or all elements at once: P1W2=1-phase 2-wire, P1W3=1-phase 3-wire, P3W3=3-phase 3-wire, P3W4=3-phase 4-wire, V3A3=3-phase 3-wire 3V3A method. | Text: P1W2,P1W3,P3W3,P3W4,V3A3 |
| :INPut:SYNChronize:ELEMent<Element> <Source> | Set Element Sync Source. Sets the synchronization (zero-cross detection) source of the specified element to a voltage input, current input, external clock, or none. | Number: 1,2,3,4,5,6; Text: U1,U2,U3,U4,U5,U6,I1,I2,I3,I4,I5,I6,EXTernal,NONE |
| :INPut:VOLTage:AUTO:ELEMent<Element> ON | Voltage Auto Range On Element. Enables voltage auto-ranging for the specified element. | Number: 1,2,3,4,5,6 |
| :INPut:VOLTage:AUTO:ELEMent<Element> OFF | Voltage Auto Range Off Element. Disables voltage auto-ranging for the specified element. | Number: 1,2,3,4,5,6 |
| :INPut:VOLTage:RANGe:ELEMent<Element> <Voltage> | Set Voltage Range Element. Sets the voltage measurement range of the specified element (available values depend on crest factor setting, CF3 or CF6/6A). | Number: 1,2,3,4,5,6; Text: 0.75V,1.5V,3V,5V,6V,7.5V,10V,15V,30V,50V,60V,75V,100V,150V,300V,500V,600V,1000V |
| :INPut:CURRent:AUTO:ELEMent<Element> ON | Current Auto Range On Element. Enables current auto-ranging for the specified element. | Number: 1,2,3,4,5,6 |
| :INPut:CURRent:AUTO:ELEMent<Element> OFF | Current Auto Range Off Element. Disables current auto-ranging for the specified element. | Number: 1,2,3,4,5,6 |
| :INPut:CURRent:RANGe:ELEMent<Element> <Current> | Set Current Range Element. Sets the current measurement range of the specified element (available values depend on crest factor setting and input element rating). | Number: 1,2,3,4,5,6; Text: 5mA,10mA,20mA,25mA,50mA,100mA,200mA,250mA,500mA,1A,2A,2.5A,5A,10A,20A,25A,50A |
| :INPut:CFACtor <Value> | Set Crest Factor. Sets the crest factor to 3 or 6 (6 allows a wider peak measurement range at reduced resolution). | Number: 3,6 |
| :INPut:FILTer:LINE:ELEMent<Element> <Frequency> | Set Line Filter Element. Sets or disables the line filter (cutoff frequency) for the specified element to reduce noise on the measured waveform. | Number: 1,2,3,4,5,6; Text: OFF,0.1KHZ,1KHZ,10KHZ,100KHZ,300KHZ,1MAHZ |
| :INPut:FILTer:FREQuency:ELEMent<Element> <Frequency> | Set Freq Filter Element. Sets or disables the frequency measurement filter (cutoff frequency) for the specified element. | Number: 1,2,3,4,5,6; Text: OFF,100HZ,1KHZ |
| :INPut:SCALing:VT:ELEMent<Element> <Ratio> | Set VT Ratio Element. Sets the VT (voltage transformer) scaling ratio of the specified element (0.0001 to 99999.9999). | Number: 1,2,3,4,5,6; Number |
| :INPut:SCALing:CT:ELEMent<Element> <Ratio> | Set CT Ratio Element. Sets the CT (current transformer) scaling ratio of the specified element (0.0001 to 99999.9999). | Number: 1,2,3,4,5,6; Number |
| :INPut:SCALing:STATe:ELEMent<Element> ON | Scaling On Element. Enables VT/CT/power-coefficient scaling for the specified element. | Number: 1,2,3,4,5,6 |
| :INPut:SCALing:STATe:ELEMent<Element> OFF | Scaling Off Element. Disables VT/CT/power-coefficient scaling for the specified element. | Number: 1,2,3,4,5,6 |
| :INPut:NULL:STATe ON | Null On. Enables the NULL (zero-offset) feature. | None |
| :INPut:NULL:STATe OFF | Null Off. Disables the NULL (zero-offset) feature. | None |
| :INPut:POVer? | Read Peak Overrange. Queries the bitmapped peak over-range status for all voltage/current elements and auxiliary channels. | None |
| Command | What it does | Arguments |
|---|---|---|
| :SYSTem:DPOint <Type> | Set Data Point. Sets the decimal point character (period or comma) used when saving data in ASCII/CSV format. | Text: PERiod,COMMa |
| :SYSTem:RESolution <Digits> | Set Numeric Resolution. Sets the numeric data display resolution to 4 or 5 significant digits. | Number: 4,5 |
| :SYSTem:MODel? | Read Model. Queries the instrument model text (e.g. "WT1806E") shown on the System Overview screen. | None |
| :SYSTem:SERial? | Read Serial Number. Queries the instrument serial number shown on the System Overview screen. | None |
| :SYSTem:SUFFix? | Read Suffix Code. Queries the suffix code describing installed hardware options (element ranges and option codes). | None |
| :SYSTem:DATE <Date> | Set System Date. Sets the system date as a "YY/MM/DD" string. | Text |
| :SYSTem:TIME <Time> | Set System Time. Sets the system time as an "HH:MM:SS" string. | Text |
| :SYSTem:KLOCk ON | Key Lock On. Locks the front panel keys to prevent local operator input. | None |
| :SYSTem:KLOCk OFF | Key Lock Off. Unlocks the front panel keys. | None |
| Command | What it does | Arguments |
|---|---|---|
| :MEASure:AVERaging:TYPE <Type> | Set Averaging Type. Sets the averaging method to exponential (attenuation constant) or linear (moving average). | Text: EXPonent,LINear |
| :MEASure:AVERaging:COUNt <Count> | Set Averaging Count. Sets the averaging coefficient: 2 to 64 for exponential (attenuation constant) type, 8 to 64 for linear (moving average count) type. | Number |
| :MEASure:AVERaging:STATe ON | Averaging On. Enables measurement averaging. | None |
| :MEASure:AVERaging:STATe OFF | Averaging Off. Disables measurement averaging. | None |
| MEASure:EFFiciency:ETA1 <Numerator>,<Denominator> | Set Efficiency Equation. Sets the efficiency (Eta1) equation numerator and denominator, each chosen from P1-P6, PA, PB, PC, PM (motor output), or UDEF1/UDEF2. | Text; Text |
| :MEASure:EFFiciency:ETA1? | Read Efficiency ETA1. Queries the configured efficiency (Eta1) equation definition. | None |
| Command | What it does | Arguments |
|---|---|---|
| :INTEGrate:MODE <Mode> | Set Integration Mode. Sets the integration mode: Normal (stops at timer), Continuous (auto-restarts), or their real-time-scheduled variants. | Text: NORMal,CONTinuous,RNORmal,RCONtinuous |
| INTEGrate:TIMer1 <Hours>,<Minutes>,<Seconds> | Set Integration Timer. Sets the integration timeout duration (0 to 10000 hours, 0-59 minutes, 0-59 seconds). | Number; Number; Number |
| :INTEGrate:STARt | Integration Start. Starts integration (elapsed-time energy accumulation) on all elements. | None |
| :INTEGrate:STOP | Integration Stop. Stops integration on all elements. | None |
| :INTEGrate:RESet | Integration Reset. Resets the accumulated integrated value on all elements to zero. | None |
| :INTEGrate:STATe? | Read Integration State. Queries the integration status: RESet, READy, STARt, STOP, ERRor, or TIMeup. | None |
| Command | What it does | Arguments |
|---|---|---|
| :STORe:STARt | Store Start. Begins storing numeric data to the instrument's internal storage per the configured storage mode. | None |
| :STORe:STOP | Store Stop. Stops the numeric data storage operation. | None |
| :STORe:RESet | Store Reset. Resets the numeric data storage feature. | None |
| :STORe:STATe? | Read Store State. Queries the storage state: RESet, READy, STARt, STOP, COMPlete, CONVert, or CLOSe. | None |
| :STORe:SMODe <Mode> | Set Store Mode. Sets the numeric data storage trigger mode. | Text: MANual,RTIMe,INTEGrate,EVENt,SINGle |
| :STORe:FILE:NAME <Name> | Set Store File Name. Sets the file name used when saving stored numeric data. | Text |
| Command | What it does | Arguments |
|---|---|---|
| HARMonics1:ORDer <Min>,<Max> | Set Harmonic Order Range. Sets the minimum (0 or 1) and maximum (1 to 500) harmonic order analyzed by harmonic measurement group 1 (requires /G5 or /G6 option). | Number; Number |
| :HARMonics1:PLLSource <Source> | Set Harmonic PLL Source. Sets the PLL synchronization source used for harmonic analysis group 1 (requires /G5 or /G6 option). | Text: U1,U2,U3,U4,U5,U6,I1,I2,I3,I4,I5,I6,EXTernal |
| :HARMonics1:THD <Method> | Set Harmonic THD Method. Sets whether total harmonic distortion (THD) is computed against the total RMS value or the fundamental component (requires /G5 or /G6 option). | Text: TOTal,FUNDamental |
| Command | What it does | Arguments |
|---|---|---|
| :RATE <Rate> | Set Data Update Rate. Sets the data update interval (measurement rate), or Auto to synchronize to the input signal frequency. | Text: AUTO,50MS,100MS,200MS,500MS,1S,2S,5S,10S,20S |
| :RATE:AUTO:TIMeout <Seconds> | Set Data Update Timeout. Sets the timeout used when the data update interval (RATE) is set to Auto. | Number: 1,5,10,20 |
| Command | What it does | Arguments |
|---|---|---|
| :HOLD ON | Hold On. Enables the output data hold feature for display and communication (freezes displayed/queried values). | None |
| :HOLD OFF | Hold Off. Disables the output data hold feature, allowing measurement data to update again. | None |
| Command | What it does | Arguments |
|---|---|---|
| :COMMunicate:REMote ON | Remote On. Sets the instrument to remote mode (front panel operation disabled except LOCAL). | None |
| :COMMunicate:REMote OFF | Remote Off. Sets the instrument to local mode (front panel operation enabled). | None |
| Command | What it does | Arguments |
|---|---|---|
| :STATus:ERRor? | Read Error. Reads the oldest error code and message from the error queue (returns 0,"No error" if the queue is empty). | None |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *OPT? | Read Options Installed. Queries the installed hardware options (e.g. EX6, B5, G5, V1, DA, MTR, PD2). | None |
| *CAL? | Zero Calibration. Executes zero-level compensation calibration and returns 0 for success or 1 if an error was detected. | None |
| *TRG | Trigger Single. Executes a single measurement update (same as pressing the SINGLE key). | None |
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial number, firmware version). | None |
| *RST | Reset. Resets the instrument settings to factory default values (excludes communication settings). | None |
| *CLS | Clear Status. Clears the standard event register, extended event register, and error queue. | None |
| *TST? | Self Test. Performs a self-test of internal memory and returns 0 for pass or 1 for failure. | None |
| *OPC? | Operation Complete. Returns ASCII 1 once the most recently issued overlap command has completed. | None |
| *WAI | Wait To Continue. Holds execution of the next command until the current overlap command completes. | None |
This reference is generated from TestFlow's instrument library, which is drafted from Yokogawa's programming documentation for the WT1806E and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Yokogawa's programming manual: check it before you rely on an edge case. Last updated November 12, 2026.
Yes. The Yokogawa WT1806E accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 91 SCPI commands for it: 16 queries that read values or state, and 75 settings and actions.
Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, :INPut:NULL:STATe ON and :NUMeric:NORMal:VALue?.
:NUMeric:NORMal:VALue? (read numeric value). Returns the numeric data for the configured output items (all items 1 to Set_Numeric_Item_Count, or a single item if an item number argument is given). The full list of queries is in the command reference on this page, grouped by subsystem.
Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Yokogawa WT1806E through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.