EasyManuals Logo

Keysight Technologies 6811C Programming Guide

Keysight Technologies 6811C
315 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
Introduction to Programming 2
Keysight Models 6811C, 6812C, and 6813C Programming Guide 33
RS-232 Programming Example
The following program illustrates how to program the ac source using RS-232 to
set the output voltage and frequency and to read back the model number and
output voltage.
' Program to write and read via RS232
' Configure serial port (e.g. COM1) for:
' Bits per second: select 9600 baud (or desired baudrate)
' Start bits: select 1
' Data bits: select 8
' Stop bits: select 2
' Parity: select None
' Flow control: select None
' Send line feed [Enter]
' Reserve 1000 character buffer for serial I/O
'
' Ensure identical baud and parity settings on ac source
(Default - Baudrate: 9600, Parity: None)
'
' Send SCPI commands
*RST ' Resets the ac source
VOLT 60 ' Set voltage to 60 volts
FREQ 50 ' Set frequency to 50 hertz
OUTPUT ON ' Turn on the output
*IDN? ' Query the ac source identification string
[Wait for response]
MEAS:VOLT:AC? ' Query the ac source voltage

Table of Contents

Other manuals for Keysight Technologies 6811C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies 6811C and is the answer not in the manual?

Keysight Technologies 6811C Specifications

General IconGeneral
BrandKeysight Technologies
Model6811C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals