Vishay Micro-Measurements System 7000 Programmer’s Reference Manual
Page 76 of 142
LowerLimit The lower limit value used in checking the condition. (In analog-to-digital
converter counts). (Range: Full range of 32-bit signed integer, Default: 0)
UpperLimit The upper limit value used in checking the condition. (In analog-to-digital
converter counts). (Range: Full range of 32-bit signed integer, Default: 0
PreBufferSize The number of "pre-limit" scans to be recorded when the limit condition goes
active. (Range: 0 to 645,000, Default: 0)
PostBufferSize
The number of "post-limit" scans to be recorded when the limit condition goes
inactive. (Range: 0 to Full range of unsigned 32-bit integer, Default: 0)
Returns:
0 if Successful, otherwise an Error Code
Notes:
The pre- and post-limit buffer size must not be bigger than the configured scan buffer size (see
the ConfigureScan method).
6.5.4.9 SetLimitConditionCount Method
Syntax:
HRESULT _stdcall SetLimitConditionCount (in long CardNo, in long ChannelNo, in long Count,
out retval long * result );
Description:
Sets the total number of limit events for the selected channels in the card
Arguments:
CardNo The card number (1-16).
ChannelNo The channel number on the card (1-8)
Count The number of limit conditions for the selected channel (Range: 0 to 50,
Default: 0
Returns:
0 if Successful, otherwise an Error Code
Notes:
Note that if a Normal or Range type limit is active, a channel may only have one limit condition
assigned. For Incremental limits, a channel may be associated with up to 50 limit conditions.
However, these limits must be assigned sequentially.