[SENSe:]COUNter:SLOPe
Syntax
[SENSe:]COUNter:SLOPe <slope>, (@<ch_list>)
[SENSe:]COUNter:SLOPe? (@<ch_list>)
Description
This command configures the specified counter channels on the 34950A Digital I/O Module to count on the rising edge (positive) or falling edge (negative) of the input signal.
Used With:
34950A Digital I/O Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<slope> |
Discrete |
{NEGative|POSitive} |
POSitive (rising edge) |
<ch_list> |
Numeric |
One or more counter channels in the form (@sccc).
|
This is a required parameter |
Remarks
If you change the slope while a counter operation is in progress, the count on the specified channels will be cleared.
The selected slope is stored in volatile memory and will be set to "POS" when power is turned off or after a Factory Reset (*RST command).
Return Format
The query command returns "NEG" or "POS" for the specified channels. Multiple responses are separated by commas.
Examples
The following command configures counter channels 301 and 302 on the module in slot 3 to count on the negative edge (falling) of the input signal.
COUN:SLOP NEG,(@3301,3302)
The following query returns the edge setting on counter channels 301 and 302 on the module in slot 3.
COUN:SLOP? (@3301,3302)
Typical Response: NEG,NEG