Step 11. End the connection

Last Updated: August 29, 2007

This topic describes the method used to end the connection:

For more information on the conventions used in the programming examples click here.

General Information About This Step

In this step you end the wireless device transmission. Refer to the following sections for more details:

End the Wireless Device Transmission

You must send the necessary test mode commands to the wireless device to end its transmission. These commands are specific to your wireless device.

Partially Preset the Test Set

At this point, it is good practice to partially preset the test set by sending the SYSTem:PRESet3 command. This command stops all measurement processes, but does not reset all parameter values to their defaults.

' After you have sent the necessary test mode commands to the wireless device

' to end its transmission, send this preset command to partially preset the

' test set without resetting the parameter values to defaults.

TestSet.WriteString("SYSTem:PRESet3")

Close the Connection to the Test Set

When your program no longer needs a remote connection to the test set, it is important to close the connection using the FormattedIO488 object’s Close method.  

 ' Close IO interface to test set

TestSet.IO.Close()

 

Go to Control Program Example in Visual Basic .NET