Vishay Micro-Measurements
System 7000 Programmer’s Reference Manual
Page 84 of 142
Arguments:
CardNo
The card number (1-16).
ChannelNo
The channel number(1-8)
ScanRate
The Scanning rate, in samples per second. Valid values are:
2000, 1000, 500, 200, 100, 10
2048, 1024, 512, 256, 128, 64
Returns:
0 if Successful, otherwise an Error Code
Notes:
This will not affect the scan rate that has been configured via the
ConfigureScan
method.
This method requests the system to select the default filter based upon the selected scan rate. It
is possible to have aliasing due to your recording rate being very different then your scan rate.
(i.e. Your scan rate may be 2000 scans/sec, but, with a recording skip count set, your recording
rate may be 100 scans/sec.) To minimize the risk of aliasing you may find it useful, when
selecting a filter, to select a scan rate closer to your recording rate.
6.5.4.20
SetFIRFilterCoefficients Method
Syntax:
HRESULT _stdcall SetFIRFilterCoefficients(in long CardNo, in long ChannelNo, in long
NumTaps, in BSTR Coefficients, out retval long * result );
Description:
Sets the FIR filter coefficients for the selected card and channel.
Arguments:
CardNo
The card number (1-16).
ChannelNo
The channel number(1-8)
NumTaps
The number of taps for the filter.
This value must be set to 252.
Coefficients
A string containing the filter coefficients. Each coefficient must be represented
as an ASCII value, separated by carriage returns
Returns:
0 if Successful, otherwise an Error Code
Notes:
The default filter may be selected using the SetDefaultFilter method.
The carriage return character is represented by the ASCII character 0x13.