AppendixC CommonQuestions
ATE Series User Manual C-8 ni.com
Thecounter/timer examples supplied with NI-DAQ are not compatible
withan AT E Series device. Where can I find examples to illustrate the
use ofthe DAQ-STC as a general-purpose counter/timer?
If you are using the NI-DAQlanguage interface and a C compiler under
DOS,a new subdirectory called GPCTR, which lies beneath theexamples
directory,contains 16 examples of the most common uses of the
DAQ-STC.
Do the counter/timer applications that I wrote previously work with
the DAQ-STC?
Ifyou are using NI-DAQ with LabVIEW,some of your app lications drawn
usingthe CTR VIs do stil l run. However,there are many differences in the
counters between the ATE Series and other devices; the counter numbers
aredifferent, timebase selections are different, the DAQ-STC counters are
24-bitc ounters (unlike the 16-bit counters on devices without the
DAQ-STC).
Ify ou are using NI-DAQor Measurement Studio, the answer is no. The
counter/time applications that you wrote previously do not work with the
DAQ-STC.Youmust use the GPCTR functions; ICTR and C TR functions
do not workwith the DAQ-STC. The GPCTR functions have the same
capabilities as the ICTR and CTR functions, plus more, but you must
rewritethe application with the GPCTR funct ion calls.
I’m using one of the general-purpose counter/timers on my
ATE Series device, but I do not see the counter/timer output on
the I/Oconnector. What am I doing wrong?
Ify ou are using NI-DAQor Measurement Studio, you must configure
the output line to output the signal to the I/O connector.Use the
Select_Signalcall in NI-DAQ to configure the output line. By default,
alltiming I/O lines except EXTSTROBE* are high-impedance.
Howdoes NI-DAQ treat bogus missed data transfer errors that can
arise during DMA-drivenGPCTR buffered-input operations?
When doing bufferedtransfers using GPCTR function calls with DMA,
youcan call GPCTR_Watch to indicate dataTransfer errors. NI-DAQ takes
asnapshot of transfers and counts how many points have been transferred.
Ifall the points havebeen transferred and the first instance of this error
occurs,NI-DAQ returns a gpctrDataTransferWarning indicating that the
errorc ould be bogus. If all the points have not been transferred, NI-DAQ
returns the genuine error.The error continues to be returned until the