MATLAB: Does the Data Acquisition Toolbox(DAQ) not allow me to access data from the PF0 port of NI USB-6009 counter

busData Acquisition Toolboxinstrumentsnationalserialuniversal

I have the National Instruments DAQ Toolbox installed and I am using the hardware USB-6009. This DAQ has a counter port (called PF0) however, the toolbox does not allow me to access data from this port. Is there a way to do so?

Best Answer

s = daq.createSession('ni')
s.addCounterInputChannel('Dev<_ID>','ctr0','EdgeCount')
ch = s.Channels(1)
ch.Terminal
The above snippet would help you to utilize the INPUT counter. 
s.addCounterOutputChannel('Dev18','PFI0','Input')
The requested subsystem 'CounterOutput' does not exist on this device.
indicates that there is no output counter for the device. 
Please take a look at http://www.ni.com/pdf/manuals/375296c.pdf that provides details on the USB-6009 counter.