Acquire and Generate Counter Data

Configure counter input and output channels and channel properties

Start Here

Before you use counter channels, Set Up Acquisition Session.

See the Counter and Timer Input and Output Workflow to learn how to create a session and acquire or generate counter and timer data.

Functions

addCounterInputChannel Add counter input channel
addCounterOutputChannel Add counter output channel
inputSingleScan Acquire single scan from all input channels
resetCounters Reset counter channel to initial count
startForeground Start foreground operations
removeChannel Remove channel from session object
stop Stop background operation
wait Block MATLAB until background operation completes

Properties

ActiveEdge Rising or falling edges of EdgeCount signals
ActivePulse Active pulse measurement of PulseWidth counter channel
CountDirection Specify direction of counter channel
Device Channel device information
EncoderType Encoding type of counter channel
Frequency Frequency of generated output
ID ID of channel in session
InitialCount Specify initial count point
MeasurementType Channel measurement type
Name Specify descriptive name for the channel
Terminal PFI terminal of counter subsystem
ZResetCondition Reset condition for Z-indexing
ZResetEnable Enable reset for Z-indexing
ZResetValue Reset value for Z-indexing
Was this topic helpful?