Function Reference

Common Function

CntInit

Initialization function

CntExit

Exit function

CntResetDevice

Reset function

CntGetErrorString

Get error string function

CntQueryDeviceName

Get the usable device list function

CntGetMaxChannels

Get the number of usable counter channel function

CntGetNetCommunicationInfo

Retrieves the communication status of an Ethernet device

Setting Mode Function

CntSetZMode

Set Z phase mode function

CntSetZLogic

Set Z phase logic function

CntSelectChannelSignal

Set input signal function

CntSetCountDirection

Set counting direction function

CntSetOperationMode

Set counter mode function

CntSetDigitalFilter

Set digital filter function

CntSetPulseWidth

Set count-match one-short pulse width function

CntSetInputType

Set general-purpose input setting function

CntSetOutputHardwareEvent

Set the hardware event of control output signal function

CntSetInputHardwareEvent

Set the hardware event of control input signal function

CntSetCountMatchHardwareEvent

Set the hardware event of count match function

CntSetPresetRegister

Set the preset register function

Getting Mode Function

CntGetZMode

Get Z phase mode function

CntGetZLogic

Get Z phase logic function

CntGetChannelSignal

Get input signal function

CntGetCountDirection

Get counting direction function

CntGetOperationMode

Get counter mode function

CntGetDigitalFilter

Get digital filter function

CntGetPulseWidth

Get count-match one-short pulse width function

Counter Operation Function

CntStartCount

Start count function

CntStopCount

Stop count function

CntPreset

Set count value function

CntZeroClearCount

Clear the count value to 0

CntReadCount

Get count value function

CntReadStatus

Get counter status function

CntReadStatusEx

Get counter status function

Event Notify Function

CntSetCountMatchEvent

Set count-match (comparison value) function

CntSetCountMatchCallBackProc

Set count-match callback function

CntSetCounterErrorEvent

Set count error function

CntSetCounterErrorCallbackProc

Set count error callback function

CntSetCarryBorrowEvent

Set carry/borrow function

CntSetCarryBorrowCallbackProc

Set carry/borrow callback function

CntSetTimeUpEvent

Set timer value function

CntSetTimeUpCallBackProc

Set timer callback function

Common Input and Output Function

CntInputDIByte

Get general-purpose input function

CntOutputDOBit

Set general-purpose output function

Using to Test Funtion

CntSetTestPulse

Set the output of test pulse function

Sampling Mode Setting Function

CntSetStandAlone

Set the stand alone mode function

CntSetCounterMode

Select Totalizing Counter/Difference Counter function

Sampling Condition Setting Function

CntSetSamplingStartTrigger

Set the sampling start condition function

CntSetSamplingClockTrigger

Set the sampling clock condition function

CntSetSamplingStopTrigger

Set the sampling stop condition function

CntSetSamplingInternalClock

Set the internal clock value function

CntSetSamplingStopNumber

Set the time of sampling stopping function

Sampling Event Notify Function

CntSetSamplingStopEvent

Set the notify of sampling stopping function

CntSetSamplingCountEvent

Set the notify for stopping transfer by specified times function

Sampling Operation Function

CntSamplingFifoReset

Reset FIFO function

CntSamplingSetBuffer

Set the sampling buffer function

CntSamplingStart

Start sampling function

CntSamplingStop

Forcibly stop sampling function

Sampling Status Function

CntGetSamplingStatus

Get the sampling status function

CntGetSamplingCount

Get the count of sampling (scan number) per a channel function

CntGetSamplingWritePointer

Get the transfer position on sampling buffer