Agilent Technologies E1364A Verification Tests C Programs, Functional Verification Test

Page 47

Appendix A

Verification Tests - C Programs

Functional Verification Test

This program is designed to do the Functional Verification Test found in

Chapter 2, "Verification Tests."

Example This example sends a *IDN? command to the switch. This test can be used to verify that the switch is connected properly and is responding to a basic command.

#include <stdio.h> #include <sicl.h>

#define ADDR "hpib7,9,15"

/* Address of device */

main ()

 

{

 

INST id;

/* Define id as an instrument */

char a[256] = {0};

/* Result variable */

id = iopen (ADDR);

/* Open instrument session */

ipromptf(id, "*IDN?\n", "%t", a);

/* Self test command */

printf("\n %s", a);

/* Print result */

getchar();

/* Pause */

iclose (id);

/* Close instrument session */

}

 

Appendix A

Example C Programs 47

Image 47 Contents
Serial Numbers Agilent E1364A Channel Form C Switch ModulePage Contents Appendix B. Backdating Information Exclusive Remedies WarrantyLimitation Of Warranty CertificationDocumentation History Safety SymbolsModel Number Manufacturer’s NameManufacturer’s Address Declares, that the product Product NamePage Page Page Introduction Agilent E1364A Form C Switch ModuleGeneral Information Chapter Safety ConsiderationsChapter General Information Initial Incoming Inspection Guidelines Inspection/ShippingPackaging/Shipping Guidelines Environment Switch DescriptionTemperature Humidity Requirements Recommended Model Use Recommended Test EquipmentGeneral Information Chapter Verification Tests Operation Verification Functional VerificationPerformance Verification 1a. Agilent E1364A Test Fixture Schematic1b. Agilent E1364A Test Fixture Test 2-1 Closed-Channel Resistance Test Normally Closed Resistance Test Next 530 540 END Test 2-2 DC Isolation Test Normally Closed to Chassis 1. Hardware Connections DC Isolation Test NC Channels to Chassis Example DC Isolation Test Verification Tests Chapter Test Accuracy Ratio TAR Performance Test RecordPerformance Test Record for the E1364A Switch Module Page 1 Performance Test Record for the E1364A Switch Module Page 2 Maximum Uncert Test Measured Description MinimumTest Measured Description Minimum Reading Maximum Uncert Performance Test Record for the E1364A Switch Module Page 4Verification Tests Chapter Number Replaceable Parts ListsPart Qty Part Description Replaceable Parts Chapter E1364A Terminal Block Replaceable Parts Replaceable Parts Chapter Service Identifying the Problem Troubleshooting TechniquesE1364A Tests/Checks Test/Check Reference Designator Testing the AssemblyESD Precautions Repair and Maintenance GuidelinesFunctional Verification Test Verification Tests C ProgramsExample Closed Channel Resistance Test Performance Verification TestsClose instrument session Example DC Isolation Test Iclose dm Example C Programs Appendix a Reference Part Qty Part Description Designator Number Replaceable Parts ListQty Part Description Part NumberAgilent E1364A Reference Designators Figure B-1. E1364A Component Assembly Parts Figure B-2. E1364A Terminal Module Replaceable Parts Page Page Copyright Agilent Technologies, Inc