Data Connection Processing Event Synchronization

Data Connection Processing Event Synchronization

Last updated: December 3, 2008

Description

Using the call processing subsystem overlapped command synchronization commands, you can query the test set to find out when an overlapped command operation is done (:DONE?, :OPC?), force the test set to not execute any more commands until an overlapped command operation has completed (:WAIT), or simply force an overlapped command to behave as a sequential command (:SEQ).

Pending Operation Flags

Associated with each overlapped command, the test set maintains a binary indicator known as a pending operation flag. A pending operation flag is set true when the operation started by the overlapped command is executing, and is set false when the operation is no longer executing.

In addition to the call processing subsystem overlapped commands, the test set also provides the measurement-related INITiate overlapped commands. For more details on these commands see INITiate .

Call Processing Subsystem Overlapped Command Synchronization Commands

Overlapped Commands
Command Purpose Of Command

Example

:DONE?

Returns a 0 if the associated command's pending operation flag is true, or a 1 if it is false.

 
OUTPUT 714;"CALL:DCON:ARM:DONE?"

This example queries whether the data connection state change detector has been successfully armed.

:SEQuential

Forces an overlapped command to execute in a sequential manner. No subsequent commands are executed until the pending operation flag for this operation is false.

 
OUTPUT 714;"CALL:FUNC:DATA:STAR:SEQ"

This example commands the test set to start a data connection. A data connection must be established before any GPRS or EGPRS measurements can be made. :SEQ ensures that no other commands are executed until the pending operation flag associated with the CALL:FUNCtion:DATA:STARt command is false.

:WAIT

Forces the test set to wait until the associated command's pending operation flag is false before executing any more commands.

 
OUTPUT 714;"CALL:DCON:ARM:WAIT?"

This example prevents the test set from executing the next command until the data connection state change detector has been armed.

:OPComplete?

Places a 1 in the test set's output queue when the associated command's pending operation flag goes false. Controlling program hangs on this query until the 1 is retrieved.

 
OUTPUT 714;"CALL:FUNC:DATA:STAR:OPC?"

This example hangs program execution until the :OPC query's until a 1 is placed in the test set's output queue.

Data Connection Processing Subsystem Overlapped Commands

Data Connection Processing Command Purpose Of Command

Pending Operation Flag (POF) is false when

CALL:FUNCtion:DATA:STARt

See CALL:FUNCtion:DATA:START .

Attempts to start the data connection.

The connection status is any non-transitory state (that is Idle, Attached or Transferring).

CALL:DCONnected:ARM[:IMMediate]

See CALL:DCONnected:ARM[:IMMediate] .

Arms the data connection state change detector.

The data connection state change detector has been disarmed.

Related Topics


Data Connection Processing State Synchronization

Measurement Event Synchronization

Test System Synchronization Overview