EasyManuals Logo

Keysight Technologies N5166B CXG Programming Guide

Keysight Technologies N5166B CXG
398 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 #367 background imageLoading...
Page #367 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 367
Creating and Downloading User–Data Files
Save and Recall Instrument State Files
C# and Microsoft .NET Framework
The Microsoft .NET Framework is a platform for creating Web Services and
applications. There are three components of the .NET Framework: the common
language runtime, class libraries, and Active Server Pages, called ASP.NET.
Refer to the Microsoft website for more information on the .NET Framework.
The .NET Framework must be installed on your computer before you can run
the State_Files program. The framework can be downloaded from the Microsoft
website and then installed on your computer.
Perform the following steps to run the State_Files program.
1. Copy the State_Files.cs file from the CD–ROM programming examples
section to the directory where the .NET Framework is installed.
2. Change the TCPIP0 address in the program from TCPIP0::000.000.000.000
to your signal generator’s address.
3. Save the file using the .cs file name extension.
4. Run the Command Prompt program. Start > Run > "cmd.exe". Change the
directory for the command prompt to the location where the .NET
Framework was installed.
5. Type csc.exe State_Files.cs at the command prompt and then press the
Enter key on the keyboard to run the program. The following figure shows
the command prompt interface.
The State_Files.cs program is listed below. You can copy this program from the
examples directory on the signal generator’s Documentation CD–ROM.
The State_Files.cs example uses the ESG in the programming code but can
be used with X-Series signal generators.

Table of Contents

Other manuals for Keysight Technologies N5166B CXG

Questions and Answers:

Question and Answer IconNeed help?

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

Keysight Technologies N5166B CXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5166B CXG
CategoryPortable Generator
LanguageEnglish

Related product manuals