« Close

Datasheets and User Guides

App Notes

Software & Driver

 

10.2 - Reading Values for Counters and Input Timers

Reading the values of counters and timers can of course be done with script as well, using the LJ_ioGET_COUNTER and LJ_ioGET_TIMER commands. However, you can also use channels, which will perform the same command for you. If you create a new channel like you did for analog inputs, but select either the Timer or Counter I/O Type, DAQFactory will query the timer or counter value at the interval you specified. You still need to initialize and configure your timer or counter in script, but once configured you can use these two I/O types to perform the reads.