D – Example Programs

BASIC

The BASIC for controllers and BASIC for Windows both provide access to GPIB functions at the operating system level. This makes it unnecessary to have the header files required in front of DOS applications programs. Also, you do not have to be concerned about controller "hangups" as long as your program includes a timeout statement. Because the dc source can be programmed to generate SRQ on errors, your program can use an SRQ service routine for decoding detected errors. The detectable errors are listed in Appendix C.

Example 2. Controller Using BASIC

1000

!Dc source at stand-alone address = 706

1005

OPTION

BASE 1

 

1010

DIM Codes$[80],Response$[80],Mode$[32]

 

1015

!

 

 

1020

!Program dc source to CV mode with following voltage and current

1025

OUTPUT

706;"VOLTAGE MAX;CURRENT MAX"

 

1030

!

 

 

1035

!Query

dc source outputs and print to screen

1040

OUTPUT

706;"MEASURE:VOLTAGE?;CURRENT?"

!Query output levels

1045

ENTER 706;Vout,Iout

 

1050

PRINT "The output levels are ";Vout;" Volts and ";Iout" Amps"

1055

!

 

 

1060

!Program current triggered level to a value insufficient to maintain

1065

!supply within its CV operating characteristic

1070

OUTPUT

706;"CURR:TRIG MIN"

 

1075

!

 

 

1080

!Set operation status mask to detect mode change from CV to CC

1085

OUTPUT

706;"STAT:OPER:ENAB 1024;PTR 1024"

1090

!

 

 

1095

!Enable Status Byte OPER summary bit

 

1100

OUTPUT

706;"*SRE 128"

 

1105

!

 

 

1110

!Arm trigger circuit and send trigger to dc source

1115

OUTPUT

706;"INITIATE:SEQUENCE1;TRIGGER"

1130

!Poll for interrupt caused by change to CC mode and print to screen

1135

Response=SPOLL(706)

 

1140

IF NOT

BIT (Response,7) THEN GOTO 1130

!No OPER event to report

1145

OUTPUT

706;"STAT:OPER:EVEN?"

!Query status operation register

1150

ENTER 706;Oevent

!Read back event bit

1155

IF BIT(Oevent,10) THEN PRINT "Supply switched to CC mode."

1160

!

 

 

1165

!Clear

status

 

1170

OUTPUT

706;"*CLS"

 

1175

!

 

 

1180

!Disable output and save present state in location 2

1185

OUTPUT

706;"OUTPUT OFF;*SAV 2"

 

1190

END

 

 

168

Page 168
Image 168
Agilent Technologies D, 66311B, 66309B, 66111A manual Example 2. Controller Using Basic, 168

66111A, 66309B, 66311B, D specifications

Agilent Technologies D,c,83440b is an advanced electronic measurement solution designed for engineers and scientists who require precise and reliable performance in their testing environments. This modular test system offers a comprehensive suite of features that cater to a wide range of applications, from high-frequency testing to complex signal analysis.

One of the main features of the D,c,83440b is its impressive frequency range, allowing users to conduct tests across a wide spectrum of signals. The system is capable of handling frequencies up to 26.5 GHz, making it ideal for RF and microwave applications. This broad range ensures that users can work with a variety of devices, including communication systems, radar, and satellite technology.

In addition to its frequency capabilities, Agilent Technologies has engineered the D,c,83440b with exceptional dynamic range and low noise figures. This ensures that even the smallest signals can be accurately measured, allowing for greater precision in testing. The full spectrum analysis feature enables users to capture transient events and analyze them in real-time, which is crucial for troubleshooting and performance evaluations.

The D,c,83440b is built on a modular platform, allowing users to customize their systems according to specific testing needs. This modularity not only enhances flexibility but also simplifies maintenance and upgrades. Users can easily swap out different modules without the need for extensive system reconfiguration, which can significantly reduce downtime in testing environments.

Another standout characteristic of the D,c,83440b is its user-friendly interface. With a large, high-resolution display and intuitive controls, engineers can quickly navigate through settings and data, streamlining the testing process. This ease of use is complemented by powerful software solutions that can automate test sequences, aiding in efficiency and accuracy.

The integration of advanced digital signal processing technologies further enhances the capabilities of the D,c,83440b. These technologies enable more sophisticated measurements and improved signal integrity, which is essential for modern communication systems.

In summary, the Agilent Technologies D,c,83440b is a multifaceted electronic measurement solution that boasts a wide frequency range, excellent dynamic range, modular design, and user-friendly interface. This combination of features makes it suitable for various applications, ensuring that engineers and scientists have the tools they need to succeed in their testing and measurement endeavors.