[SENSe:]COUNter:GATE:POLarity
Syntax
[SENSe:]COUNter:GATE:POLarity <polarity>, (@<ch_list>)
[SENSe:]COUNter:GATE:POLarity? (@<ch_list>)
Description
This command sets the logic polarity of the Gate input line for counter operations on the 34950A Digital I/O Module (each bank has it's own Gate input line). You can specify the gate polarity as "normal" (active high, default) or "inverted" (active low). Changing the gate polarity while an initiated measurement is in progress (see [SENSe:]COUNter:INITiate command) is not allowed.
Used With:
34950A Digital I/O Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<polarity> |
Discrete |
{NORMal|INVerted} |
NORMal (active high) |
<ch_list> |
Numeric |
One or more counter channels in the form (@sccc).
|
This is a required parameter |
Remarks
If you change the gate polarity while a counter operation is in progress, the count on the specified channels will be cleared.
The selected gate polarity is stored in volatile memory and will be set to "NORM" when power is turned off or after a Factory Reset (*RST command).
Return Format
The query command returns "NORM" or "INV" for the specified channels. Multiple responses are separated by commas.
Examples
The following command selects an inverted gate polarity (active low) on counter channels 301 and 302 on the module in slot 3.
COUN:GATE:POL INV,(@3301,3302)
The following query returns the gate polarity on counter channels 301 and 302 on the module in slot 3.
COUN:GATE:POL? (@3301,3302)
Typical Response: INV,INV