Online documentation, manuals and tutorials
< All Topics
Print

5.19. TRIGger

5.19. TRIGger

The BB3’s triggering system allows a change in output voltage, current or start internal data logging when receiving a trigger from selected source. Triggering the BB3 is a multi-step process and consists of the following steps:

  • An output has to be selected (the INSTrument:SELect command) following by configuring the BB3 for the triggered output level by using CURRent:TRIGgered and VOLTage:TRIGgered commands.
  • The source from which the BB3 will accept the trigger must be specified. The BB3 could accept e.g. a BUS (software) trigger or an IMMediate trigger from the remote interface.
  • The time delay between the detection of the trigger on the specified trigger source and the start of any corresponding output change can be programmed if needed. Such time delay is valid only for the BUS trigger source.
  • Trigger programming is completed by providing an INITiate[:IMMediate] command. If the IMMediate source is selected, the selected output is set to the triggered level immediately. But if the trigger source is the BUS, the BB3 is set to the triggered level after receiving the *TRG command.

 

SCPI command

Description

TRIGger

 

[:SEQuence]

 

[:IMMediate]

Starts the trigger immediately

:DELay {<delay>}

Sets the time delay between the detection of a trigger event and the start of any corresponding trigger action

:EXIT

 

:CONDition {<condition}

Sets channels condition when LIST execution stopped

:SOURce {<source>}

Sets the trigger source

:DLOG

 

[:IMMediate]

 

:SOURce {<source>}

Sets the internal data logger trigger source

5.19.1. TRIGger[:SEQuence][:IMMediate]

Syntax

TRIGger[:SEQuence][:IMMediate]

Description

This event command causes a defined LIST to immediately start without the selected trigger occurring.

Usage example

TRIG

Related Commands

*TRG

5.19.2. TRIGger[:SEQuence]:DELay

Syntax

TRIGger[:SEQuence]:DELay {<delay>}

TRIGger[:SEQuence]:DELay?

Description

This command sets the time delay between the detection of an event on the specified

trigger source and the start of any corresponding trigger action on the peripheral module output.

Parameters

Name

Type

Range

Default

<delay>

NR1|Discrete

0 – 3600|MIN|MAX

MIN

Return

The query command returns the programmed delay in seconds.

Usage example

TRIG:DEL 10

5.19.3. TRIGger[:SEQuence]:EXIT:CONDition

Syntax

TRIGger[:SEQuence]:EXIT:CONDition {<condition>}

TRIGger[:SEQuence]:EXIT:CONDition?

Description

This command sets channels condition when LIST execution is not prematurely stopped (e.g. with ABORt command or by user action).

Use [SOURce[<n>]]:LIST:COUNt to set finite number of LIST loops.

Parameters

Name

Type

Range

Default

 

<condition>

Discrete

OFF|FIRSt|LAST|STANdby

OFF

Return

The query command returns the programmed exit condition.

Usage example

TRIG:EXIT:COND STAN

Related Commands

ABORt

INITiate

[SOURce[<n>]]:LIST:COUNt

[SOURce[<n>]]:CURRent:MODE

[SOURce[<n>]]:VOLTage:MODE

5.19.4. TRIGger[:SEQuence]:SOURce

Syntax

TRIGger[:SEQuence]:SOURce {<source>}

TRIGger[:SEQuence]:SOURce?

Description

This command selects the source from which the BB3 will accept a trigger.

  • BUS – enables LAN and serial (via USB) triggering using the *TRG command.
  • IMMediate – the BB3 executes a complete trigger operation immediately after executing the INITiate command without delay.
  • MANual – enables triggering by selecting the encoder knob switch.
  • PIN<n> – selects a digital port pin configured as a trigger input. <n> specifies the pin number.

When the trigger source is set to BUS, the *WAI command can ensure the synchronization. After executing the *WAI command, the BB3 will only execute new command when all the pending operations are completed.

Also when the trigger source is set to BUS, you can use the *OPC command to report that the operation is completed. The *OPC? command will return “1” to the output buffer and the *OPC command will set the bit 0 (OPC bit, operation complete) in the standard event register when the operation is finished.

 

The wait for the BUS, EXTernal, or KEY trigger can be bypassed by sending the

TRIGger[:SEQuence][:IMMediate] command.

 

The APPLy command automatically sets the source to IMMediate.

Parameters

Name

Type

Range

Default

 

<source>

Discrete

BUS|IMM|MAN|PIN1|PIN2

Return

The query command returns the programmed trigger subsystem source.

Usage example

TRIG:SOUR BUS

TRIG:SOUR?

BUS

Related Commands

*OPC

*RST

*TRG

*WAI

ABORt

APPLy

INITialize

TRIGger[:SEQuence][:IMMediate]

5.19.5. TRIGger:DLOG[:IMMediate]

Syntax

TRIGger:DLOG[:IMMediate]

Description

The command sends an immediate trigger signal to the data logger. This will trigger the internal data log session regardless of the selected trigger source. You must initiate (see the INIT:DLOG command) the data logger before you trigger it.

Usage example

TRIG:DLOG

Related Commands

*TRG

INITialize:DLOG

5.19.6. TRIGger:DLOG:SOURce

Syntax

TRIGger:DLOG:SOURce {<source>}

TRIGger:DLOG:SOURce?

Description

The command selects the trigger source for the data logger in the same fashion as the TRIGger[:SEQuence]:SOURce command.

Parameters

Name

Type

Range

Default

 

<source>

Discrete

BUS|IMM|MAN|PIN1|PIN2

Return

The query command returns the programmed trigger subsystem source.

Usage example

TRIG:DLOG:SOUR PIN1

TRIG:SOUR?

PIN1

Related Commands

INITialize

TRIGger[:SEQuence]:SOURce

TRIGger:DLOG[:IMMediate]

 

Page content