Write-only
About Triggering

ManualTrigger Method


Description

Triggers the analyzer when TriggerSetup.Source = naTriggerManual.

Note: An SMC Fixed Output measurement cannot be triggered using this command. For more information, see the example program.

 VB Syntax

app.ManualTrigger [sync],[timeout]

Variable

(Type) - Description

app

An Application (object)

[sync]

(boolean) - Optional argument.
A variable set to either True or False.

True - The analyzer waits until the trigger is completed to process subsequent commands.
False
- Subsequent commands are processed immediately (the default setting).

timeout

(long) - Optional argument.
If
sync is true, timeout sets the amount of time the PNA will wait until continuing program execution. Units are milliseconds. A value of -1 (the default setting) causes the PNA to wait indefinitely.

If sync is False, the timeout setting is ignored.

Return Type

Not Applicable

Default

Not Applicable

Examples

' After Manual trigger is executed, the PNA will wait 1 second to continue program execution
Dim wait as Boolean
wait = True
app.ManualTrigger wait, 1000

C++ Syntax

HRESULT ManualTrigger(VARIANT_BOOL bSynchronize, long timeout)

Interface

IApplication