Note

The last query string can be handled without difficulty. However, should you request too many

 

queries, the system may return a "Query DEADLOCKED” error (-430). In that case, break the

 

long string into smaller parts.

 

 

Programming the Digital I/O Port

Digital control ports 1 and 2 are TTL outputs that can be programmed either high or low. Control port 3 can be programmed to be either a TTL input or a TTL output. Send a decimal parameter that translates into the desired straight binary code for these ports. (See DIG:DATA[:VAL] in "Chapter 3 - Language Dictionary" for the port bit configurations.)

DIG:DATA 3

Set ports 1 and 2 high and make 3 another output port.

DIG:DATA 7

Set ports 1 and 2 high and make 3 an input port.

DIG:DATA?

Read back the present port configuration.

System Considerations

The remainder of this chapter addresses some system issues concerning programming. These are power supply addressing and the use of the following types of GPIB system interfaces:

1.HP Vectra PC controller with Agilent 82335A GPIB Interface Command Library.

2.IBM PC controller with National Instruments GPIB-PCII Interface/Handler.

3.Agilent controller with Agilent BASIC Language System.

The GPIB Address

The power supply address cannot be set remotely; it must be set from the front panel. Once the address is set, you can assign it inside programs.

Setting the GPIB Address

Figure 4-6 in the power supply Operating Guide shows the ways the power supply can be connected to the GPIB bus. You can set up the GPIB address in one of three ways:

1.As a stand-alone supply (the only supply at the address). It has a primary address in the range of 0 to 30. For example:

5 or 7

2.As the direct supply in a serial link. It is the only supply connected directly to the GPIB bus. The primary address is unique and can be from 0 to 30. It is entered as an integer followed by a decimal separator. The secondary address always is 0, which may be added after the primary address. If the secondary address is omitted, it is assumed to be 0. For example:

5.0or 7.

3.As a linked supply in serial link. It gets its primary address from the direct supply. It has a unique secondary address that can be from 1 to 15. It is entered as an integer preceded by a decimal separator. For example:

.1 or .12

When you enter a secondary address, leading zeros between the decimal separator and the first digit are ignored. For example, .1, .01, and .001 are accepted as secondary address 1 and displayed as 0.01. Zeros following a digit are not ignored. Thus, .10 and .010 are both accepted as secondary address 10 and displayed as 0. 10.

Changing the Power Supply GPIB Address

Use the key and numerical keypad for entering addresses. The power supply is shipped with a 5 stand-alone address as the default. The general procedure for setting an address is:

18 Remote Programming

Page 18
Image 18
Agilent Technologies 669xA, 665xA manual System Considerations, Programming the Digital I/O Port, Gpib Address, Digdata?

668xA, 669xA, 667xA, 664xA, 665xA specifications

Agilent Technologies has long been a pioneer in the production of high-performance electronic test and measurement instruments, particularly in the field of power sources. Among its notable offerings are the Agilent 667xA, 669xA, 665xA, 664xA, and 668xA series of power supplies. These instruments are designed to provide stable, reliable power for a variety of applications, including electronic testing, industrial processes, and research laboratories.

The Agilent 667xA series is characterized by its programmability and advanced measurement functions. These power supplies support a wide range of output voltages and currents, allowing for flexible configurations that cater to different testing needs. The built-in measurement capabilities enable users to monitor the voltage, current, and power with high precision, which is essential for ensuring optimal performance in electronic applications.

The Agilent 669xA series stands out with its high-power outputs, making it suitable for demanding applications. These power supplies deliver high voltage and current levels, making them ideal for testing high-performance devices, such as power amplifiers and motor drives. Additionally, the 669xA series includes features such as overvoltage protection and complex output sequencing to enhance the safety and reliability of the testing process.

The Agilent 665xA and 664xA series focus on delivering high accuracy and excellent regulation. These models are particularly known for their low noise operation, which is critical for sensitive applications where precision is paramount. The integrated programming capabilities allow users to automate testing sequences, thus improving efficiency in research and development settings.

The 668xA series features advanced digital signal processing that enhances the precision and stability of the output. Users benefit from features like remote sensing and monitoring, allowing feedback adjustments that maintain output accuracy despite cable losses. Furthermore, the 668xA models can integrate seamlessly with various test environments thanks to their LAN, GPIB, and USB connectivity options.

Overall, the Agilent 667xA, 669xA, 665xA, 664xA, and 668xA power supplies provide a comprehensive range of solutions for diverse electronic testing needs. With their advanced features, superb measurement capabilities, and robust performance, these instruments empower engineers and researchers to conduct their work with confidence, precision, and efficiency.