Chapter 1 Getting Started

Using Commands to Control Key Functions (Examples)

Distributing of the Backup Oscillator (Option 010) Signal Only

Just apply ac power to the 58502A. After powerup, allow the oscillator to warm up for 5 minutes before using the signal. You do not have to send a command. The oscillator will provide the output signals.

Commands That Are Common to All Distribution Applications

Checking the Output Channels Status

To Use Unpacked Integer to Check Output Channels

Enter OUTP:QUES:UNP?, and press Return.

A string of 12 digits, consisting of 0s and 1s, is returned. The leftmost digit designates channel 1 and the rightmost digit stands for channel

12.A 0 indicates that the associated output is functional, while a 1 indicates an output fault. For example, the following string indicates that channels 2 and 7 are not functioning - 0,1,0,0,0,0,1,0,0,0,0,0.

To Use Packed Integer to Check Output Channels

Enter OUTP:QUES:PACK?, and press Return.

An array of Boolean returns. The returned string provides status on each 10 MHz output in a single packed integer. Each bit is associated with an output channel. The least significant bit = chan 1, next bit = chan 2, and so on. If a bit is 0, the output signal is present. Hence, a value of 0 shows indicates that all outputs are functioning. If there was no output from channels 2 and 3, the response would be:

6 (1*0 + 2*1 + 4*1 + 8*0 + ... = 6).

To Check the Alarm Status

Enter ALAR?, and press Return.

If 0 is returned, alarm is off. If 1 is returned, alarm is on.

To Check for Serial-Port Errors

Enter SYST:ERR?, and press Return.

An integer and quoted string are returned. The first parameter is the error number and the quoted string is the error description.

1-14

User’s Guide