DscCounterSetRateSingle

Universal Driver Documentation
This function is similar to dscCounterSetRate() except that it operates only on the specified counter or counter combination (instead of all onboard counters.)

Function Definition

 #define COUNTER_0	0x01
 #define COUNTER_1	0x02
 #define COUNTER_2	0x04
 #define COUNTER_0_1	0x08
 #define COUNTER_1_2	0x10
 #define COUNTER_0_1_2	0x20

BYTE dscCounterSetRateSingle(DSCB board, float rate, DWORD ctr);

Function Parameters

NameDescription
boardThe handle of the board to operate on
rateDesired rate for the A/D counter/timer circuit
ctrThe desired counter or counter combination to program.

Return Value

Error code or 0.


This page was last modified 12:00, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.