5.8. INSTrument
5.8. INSTrument
Each channel of the BB3 is considered as separate (logical) instrument, which is required by the SCPI standard. The INSTrument subsystem provides a mechanism to identify and select instruments and establish coupling to simplify programming of more channels at once.
SCPI command |
Description |
INSTrument |
|
Selects the output to be programmed |
|
Returns a quoted string of the list of valid choices for the instrument channels |
|
Returns a list of string – number pairs |
|
:COUPle |
|
Selects independent, common ground-tracking, split rail-tracking, parallel-tracking, or series-tracking mode |
|
Selects a coupling between channels trigger systems |
|
:DISPlay |
|
Sets full scale value |
|
Selects output value on the specified display trace |
|
Swaps positions of selected output values |
|
:YT |
|
Selects YT view sample duration |
|
Selects the output to be programmed |
5.8.1. INSTrument[:SELect]
Syntax |
INSTrument[:SELect] {<channel>} INSTrument[:SELect]? |
|||
Description |
This command selects the output to be programmed by the output identifier. The outputs of the BB3 are considered as separate logical instruments. The INSTrument command provides a mechanism to identify and select an output. When one output is selected, the other output is unavailable for programming until selected. The following commands are affected by the INSTrument command: SOURce, MEASure, and CALibration. |
|||
Parameters |
Name |
Type |
Range |
Default |
<channel> |
Channel |
CH1|CH2|CH3|CH4|CH5|CH6 |
– |
|
Return |
Query returns the currently selected output by the INSTrument[:SELect] or INSTrument:NSELect command. The returned value is (@ncc), where n is the instrument slot number and cc is the instrument channel number. |
|||
Usage example |
Select power channel and determine its position in slot 1: INST CH1 INST:SEL? (@101)
Select AO1 channel on the SMX46 module installed in slot 3: INST (@301) |
|||
Related Commands |
INSTrument:CATalog? INSTrument:CATalog:FULL? INSTrument:NSELect |
5.8.2. INSTrument:CATalog?
Syntax |
INSTrument:CATalog? |
Description |
This query returns a comma-separated list of strings which contains the names of all logical instruments. If no logical instruments are defined, a single null string is returned.
Returned names can only be used with the INSTrument[:SELect] command. |
Usage example |
INST:CAT? "CH1","CH2","CH3","CH4" |
Related Commands |
INSTrument[:SELect] INSTrument:CATalog:FULL? INSTrument:NSELect |
5.8.3. INSTrument:CATalog:FULL?
Syntax |
INSTrument:CATalog:FULL? |
Description |
Use this query to get a list of string – number pairs. The string contains the name of the logical instrument. The immediately following NR1-formatted number is its associated logical instrument number. All response data elements are comma separated. If no logical instrument is defined, a null string followed by a zero is returned.
Returned logical instrument numbers can only be used with the INSTrument:NSELect command. |
Usage example |
INST:CAT:FULL? "CH1",1,"CH2",2 |
Related Commands |
INSTrument[:SELect] INSTrument:CATalog? INSTrument:NSELect |
5.8.4. INSTrument:COUPle:TRACking
Syntax |
INSTrument:COUPle:TRACking {<type>} INSTrument:COUPle:TRACking? |
|||
Description |
This command selects how channel’s outputs will be internally connected:
When channels are coupled, resulting output will be present on different output terminals as indicated with red module’s OE LED instead of green OE LED. Coupled channels in series or parallel will be seen as single channel. Therefore the following commands will affect the both channel regardless of which channel is currently selected using the INSTrument[:SELect] or INSTrument:NSELect command):
The following channel specific commands will generate a device specific error 312 when channels are coupled:
Channels coupled in parallel could have only one down-programmer circuit active that is on the channel 1. State of the channel 2 down-programmer will always be off regardless of what is set with the OUTPut:DPRog command.
If channels are calibrated (CAL:STAT? 1) a max. value of the channel that has lower calibrated value will be used as a reference and multiplied by two. For example, if channel 1 max. voltage is 39.98 V and channel 2 max. voltage is 40.00 V the new max. value for the SERies-tracking will become 79.96 V instead of 80.00 V.
Two conditions requires special attention: that is entering CC mode while channels are coupled in SERies or entering CV mode when PARallel coupling is active. For example when coupled in SERies and output voltage is set to 60 V and current to 1.7 A with connected load of 1 Ω the power module will enters the CC mode of operation (see OUTPut:MODE?) and output voltage will drop to 1.7 V. Coupling mechanism will set both channels to 30 V (initally set value divided by two) but that value cannot be maintained on any output and there is no warranty that new voltage will be equally shared between channels (i.e. 1.7 / 2 = 1.35 V per channel). It’s even possible that outputs become unbalanced in a way that one of the channels becomes negative like -0.6 V on one channel and +2.3 V on another that still resulting in required +1.7 V limited by max. current. To avoid such situation coupling mechanism also include balancing to ensure that such deviation when one channel is pushed to sink instead of source power is rectified. That is accomplished by calculating and set more appropriate output voltage values during the CC mode of operation. The measured output voltage (using the MEASure[:SCALar][:VOLTage][:DC]? Command) will return that newly programmed value, that could be e.g. 30.93 V instead of 60 V. When output come back to CV mode of operation (e.g. load is disconnected), initial set 60 V will be measured again.
Execution of this command also affects bit 8 (PARAlell) or bit 9 (SERies) of the Operation status register (see Section 3.3).
At *RST, channels will be uncoupled (NONE). |
|||
Parameters |
Name |
Type |
Range |
Default |
<type> |
Discrete |
NONE|CGND|SRAil|PARallel|SERies |
NONE |
|
Return |
Query returns the currently selected output coupling state. |
|||
Usage example |
INST:COUP:TRAC SER VOLT 70 VOLT? 70.00 INST:COUP:TRAC PAR CURR 9 CURR? 9.00 |
|||
Errors |
312,"Cannot execute when the channels are coupled" |
|||
Related Commands |
*SAV MEASure[:SCALar]:CURRent[:DC] MEASure[:SCALar][:VOLTage][:DC] OUTPut:DPRog OUTPut:MODE? OUTPut:TRACk[:STATe] |
5.8.5. INSTrument:DISPlay:SCALe[<n>]
Syntax |
INSTrument:DISPlay:SCALe[<n>] {<value>} INSTrument:DISPlay:SCALe[<n>]? |
|||
Description |
This command sets the full scale vale of YT and bar graph views on the display position (trace) defined with [<n>]. |
|||
Parameters |
Name |
Type |
Range |
Default |
<value> |
Discrete|NR2 |
AUTO|LIMit|MAXimum |
– |
|
Return |
Query returns the currently selected full scale value on the selected display position (trace). |
|||
Usage example |
INST:DISP:SCAL2? "LIM" |
|||
Errors |
-222,"Data out of range" |
|||
Related Commands |
DISPlay:VIEW |
5.8.6. INSTrument:DISPlay:TRACe[<n>]
Syntax |
INSTrument:DISPlay:TRACe[<n>] {<value>} INSTrument:DISPlay:TRACe[<n>]? |
|||
Description |
This command sets the output value that will be displayed on the display position (trace) defined with [<n>]. This command affects only display modes 2, 3 and 4 (see the DISPlay:VIEW command). An attempt to select the same value on both positions (traces) will generate an execution error. |
|||
Parameters |
Name |
Type |
Range |
Default |
<value> |
Discrete |
VOLTage|CURRent|POWer |
– |
|
Return |
Query returns the currently selected displayed output value on the selected display position (trace). |
|||
Usage example |
INST:DISP:TRAC2? "CURR" |
|||
Errors |
-200,"Execution error" |
|||
Related Commands |
DISPlay:VIEW INSTrument:DISPlay:TRACe:SWAP INSTrument:DISPlay:YT:RATE |
5.8.7. INSTrument:DISPlay:TRACe:SWAP
Syntax |
INSTrument:DISPlay:TRACe:SWAP |
Description |
Use this command to swap output values display positions. |
Usage example |
INST:DISP:TRAC1? "VOLT" INST:DISP:TRAC2? "CURR" INT:DISP:TRAC:SWAP INST:DISP:TRAC1? "CURR" INST:DISP:TRAC2? "VOLT" |
Related Commands |
DISPlay:VIEW INSTrument:DISPlay:TRACe[<n>] {<value>} INSTrument:DISPlay:YT:RATE |
5.8.8. INSTrument:DISPlay:YT:RATE
Syntax |
INSTrument:DISPlay:YT:RATE {<duration>} INSTrument:DISPlay:YT:RATE? |
|||
Description |
This command sets the sample duration in seconds when YT (mode 4, see the DISPlay:VIEW command) display view is selected. |
|||
Parameters |
Name |
Type |
Range |
Default |
<duration> |
NR2 |
0.02 – 300 |
0.1 |
|
Return |
The query command returns the programmed sample duration in seconds. |
|||
Usage example |
INST:DISP:YT:RATE 10 |
|||
Related Commands |
DISPlay:VIEW INSTrument:DISPlay:TRACe[<n>] {<value>} INSTrument:DISPlay:TRACe:SWAP |
5.8.9. INSTrument:COUPle:TRIGger
Syntax |
INSTrument:COUPle:TRIGger {<mode>} INSTrument:COUPle:TRIGger? |
|||
Description |
Not implemented yet
This command defines a coupling between channels trigger systems. Use ALL parameter to couple or NONE to remove coupling.
At *RST, trigger systems are uncoupled. |
|||
Parameters |
Name |
Type |
Range |
Default |
<mode> |
ChannelList |
ALL|CH1|CH2|CH3|CH4|CH5|CH6|NONE |
ALL |
|
Return |
This query returns the currently coupled output. |
|||
Usage example |
INST:SEL CH1 VOLT:TRIG 12 CURR:TRIG 1.5 INST:SEL CH2 VOLT:TRIG 5 CURR:TRIG MAX INST:COUP:TRIG ALL TRIG:SOUR IMM INIT |
|||
Related Commands |
*RST INSTrument:COUPle:TRACking |
5.8.10. INSTrument:NSELect
Syntax |
INSTrument:NSELect {<channel>} INSTrument:NSELect? |
|||
Description |
This command is used in conjunction with the SELect command. It serves the same purpose, except that it uses a numeric value instead of the identifier used in the SELect command. |
|||
Parameters |
Name |
Type |
Range |
Default |
<channel> |
NR1 |
1 – 6 |
– |
|
Return |
When queried it returns the logical instrument number of the currently selected BB3 channel. Note that the numbering used for logical instruments directly corresponds to the numbers used in status reporting for multiple instruments; specifically the STATus:QUEStionable:INSTrument and STATus:OPERation:INSTrument commands. |
|||
Usage example |
INST:NSEL 2 INST:NSEL? 2 |
|||
Related Commands |
STATus:QUEStionable:INSTrument STATus:OPERation:INSTrument |