[SENSe:]COUNter:DCYCle[:DATA]?
Syntax
[SENSe:]COUNter:DCYCle[:DATA]? (@<ch_list>)
Description
This command returns the duty cycle measured on the specified counter channels on the 34950A Digital I/O Module.
Used With:
34950A Digital I/O Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<ch_list> |
Numeric |
One or more counter channels in the form (@sccc).
|
This is a required parameter |
Remarks
-
The duty cycle represents the amount of time per cycle that the input signal is at a high level (assuming that the polarity is not reversed) and is expressed as a percentage. The specified counter channels must detect at least two edges for a valid duty cycle measurement.
20% Duty Cycle
80% Duty Cycle
If the specified channels have been configured for a totalizer measurement (see CONFigure:COUNter:TOTalize command), the [SENSe:]COUNter:DCYCle[:DATA]? command will return "+9.91000000E+37".
Return Format
The command returns the duty cycle in percent for each counter channel specified. Multiple responses are separated by commas.
Example
The following command configures counter channels 301 and 302 on the module in slot 3 for duty cycle measurements and reads the results.
CONF:COUN:DCYC
1E-3,(@3301,3302)
COUN:INIT (@3301,3302)
COUN:DCYC? (@3301,3302)
Typical Response: +5.00000000E+01,+5.00000000E+01