2 - Introduction to Programming

FUNCTION gets$

‘ Get a new line feed terminated string from device #1

C$ = “”

‘ Set C$ to null

WHILE c$ <> CHR$ (10)

‘ Set loop to stop at Line Feed

C$ = INPUT$ (1, #1)

‘ Read 1 bit into file #1

Resp$ = resp$ + c$

‘ Concantenate bit with previous bits

WEND

‘ End of WHILE loop

gets$ = resp$

‘ Assign response to gets$

END FUNCTION

 

RS-232 Troubleshooting

If you are having trouble communicating over the RS-232 interface, check the following:

The computer and the dc source must be configured for the same baud rate, parity, number of data bits, and flow control options. Note that the dc source is configured for 1 start bit and 1 stop bit (these values are fixed).

The correct interface cables or adaptors must be used, as described under RS-232 Connector. Note that even if the cable has the proper connectors for your system, the internal wiring may be incorrect.

The interface cable must be connected to the correct serial port on your computer (COM1, COM2, etc.).

Introduction to SCPI

SCPI (Standard Commands for Programmable Instruments) is a programming language for controlling instrument functions over the GPIB. SCPI is layered on top of the hardware-portion of IEEE 488.2. The same SCPI commands and parameters control the same functions in different classes of instruments. For example, you would use the same DISPlay command to control the dc source display and the display of a SCPI-compatible multimeter.

Conventions Used in This Guide

Angle brackets

<

>

Items within angle brackets are parameter abbreviations. For example,

 

 

 

 

<NR1> indicates a specific form of numerical data.

Vertical bar

 

 

Vertical bars separate alternative parameters. For example, NORM TEXT

 

 

 

 

indicates that either "TEXT" or "NORM" can be used as a parameter.

Square Brackets

[

]

Items within square brackets are optional. The representation [SOURce:].

 

 

 

 

VOLTage means that SOURce: may be omitted.

Braces {

}

 

 

Braces indicate parameters that may be repeated zero or more times. It is

 

 

 

 

used especially for showing arrays. The notation <A>{<,B>} shows that

 

 

 

 

parameter "A" must be entered, while parameter "B" may be omitted or

 

 

 

 

may be entered one or more times.

Boldface font

 

 

 

Boldface font is used to emphasize syntax in command definitions.

 

 

 

 

TRIGger:COUNt:CURRent <NRf> shows command definition.

Computer font

 

 

Computer font is used to show program lines in text.

 

 

 

 

TRIGger:COUNt:CURRent 10 shows a program line.

12

Page 12
Image 12
Agilent Technologies 6633B Introduction to Scpi, RS-232 Troubleshooting, Conventions Used in This Guide, Boldface font

6613C, 66312A, 6631B, 6611C, 6614C specifications

Agilent Technologies, a leader in electronic test and measurement solutions, offers a range of power supplies designed to meet various application needs. Notable models include the 6632B, 6634B, 66332A, 6633B, and 6612C. Each of these units provides unique features and technologies that cater to researchers, engineers, and technicians in the industry.

The Agilent 6632B is a single-output DC power supply that delivers up to 30V and 3A. It is known for its excellent load regulation and low noise, making it ideal for sensitive electronic testing. The model includes built-in voltage and current measurement capabilities, allowing users to monitor output conditions in real time. The 6632B is commonly used in laboratory environments, educational institutions, and manufacturing lines.

Moving to the 6634B, this model offers dual-output capabilities with a maximum output of 30V and 6A. This versatility enables simultaneous powering of two different devices or circuit sections. It also features parallel and series operation options, allowing users to create a custom power supply configuration for specific applications. With a programmable interface, the 6634B simplifies test automation, ensuring efficiency in extensive testing scenarios.

The Agilent 66332A stands out with its precision and high performance. This power supply provides three outputs—two programmable and one fixed—yielding flexible power configurations. Its intuitive user interface allows easy adjustment of voltage and current settings. The device is equipped with extensive protection features to safeguard both the power supply and the connected load against faults. It is an excellent choice for complex testing setups that require reliable power.

The 6633B model offers a high-performance power supply with dual outputs, similar to the 6634B but with enhanced specifications. It can provide up to 40V and 2A per channel, delivering precision for demanding applications. This model is particularly suited for industries focused on high-reliability applications, such as telecommunications and aerospace.

Lastly, the Agilent 6612C is a compact and lightweight power supply providing single-output up to 60V and 2A. This model is designed for simplicity and ease of use, making it an excellent choice for portable applications. The 6612C’s unique characteristics include a compact design and user-friendly controls, which facilitate operation in field settings.

In summary, Agilent Technologies’ power supply models—6632B, 6634B, 66332A, 6633B, and 6612C—offer an array of features that cater to a wide range of testing and research needs, ensuring reliable power delivery in various contexts.