
6-10
PCI-AOB8/12 (16/12) User’s Guide
ä
ä
ä
ä
Generate Frequency
The Generate Frequency function will generate a square wave (0 to +5V) with the desired
frequency. The Base Address of the card as well as the frequency are required as input to the
function. The counter can generate a frequency with a range of 1Hz to 250KHz. The square wave
can be read on the CLOCK OUT pin of the card.
void generatefrequency(unsigned BaseAddress, unsigned long
frequency);
ä
ä
ä
ä
Pulse Width
The Pulse Width function will measure the width of an applied event from its rise to its fall
(effectively one half the period). The Base Address of the card is required as input to the
function. The signal should be applied to the CLOCK IN pin of the card. Software latency will be
affected by the operating system and will set a limit on the precision of the measurement.
unsigned pulse_width(unsigned BaseAddress);
Summary of Contents for PCI-AOB16/12
Page 1: ...www kontron com PCI AOB8 12 16 12 User s Guide Manual PN 00650 151 2A May 2002...
Page 6: ...vi PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Page 8: ...viii PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Page 10: ...x PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Page 14: ...xiv PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Page 16: ...xvi PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Page 22: ...xxii PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Page 46: ...Chapter 4 Address Selection...
Page 66: ...Chapter 7 Software...
Page 68: ...Chapter 8 Calibration...