53131A, 53132A, 53181A VISA and VC++ 6.0 Console Rise and Fall Time Example Program
This program shows two different ways to make risetime and falltime measurements for the
53131A and 53132A Counters. One way triggers the counter at the 5% and 85% value of the
input signal (default values are 10% and 90%). The other way uses the 0.5V low and 4.5V
high voltage values of the signale (default values are 0V and 5V). With the risetime and
falltime functions, the counter automatically makes the channels 1 and 2 a common input
configuration. The returned measurements are output on the computer console.
The program requires a 1kHz 5Vpeak signal, or similar, connected to Ch 1.
The program requires that VISA is installed in your computer. VISA comes with the
Agilent I/O Library. Also link visa32.lib file and include the visa.h file in the
project.
The program was developed in Microsoft® Visual C++ version 6.0
Date: June 9, 2004
Version: 1.0.0.1
Language: Microsoft® Visual C++ version 6.0
Operating System: Windows® 98, 95, NT 4.0, 2000, XP
VISA Version: Use Agilent I/O Library version M.01.01.04 or above
Update Information
Version 1.0.01 made corrections on reading returned data from the counters
Microsoft, Windows, NT, XP are registered trademarks of Microsoft Corporation
Copyright © 2004 Agilent Technologies Inc. All rights reserved.
You have a royalty-free right to use, modify, reproduce and distribute these example
files (and/or any modified version) in any way you find useful, provided that you
agree that Agilent has no warranty, obligations or liability for any Sample
Application Files.
Agilent Technologies will not modify the program to provide added
functionality or construct procedures to meet your specific needs.