3.85 EDH0162En1040 – 06/99
MM4005 NQ — Read global acquisition nr.
Usage IMM PGM MIP
Syntax NQ
Parameters
None.
Description This command reads the current number of global trace acquisitions. During
a global trace mode initiated by the GQ command, the number of stored sam-
ples can be read to monitor the progress of the acquisition process.
Returns NQnn
nn
— Number of acquired samples.
Errors S — Communication time-out.
Rel. Commands GQ — Set global trace mode.
SQ — Set global sample rate.
TQ — Read global trace data.
XQ — Read global sample rate.
Example
SQ0.005 | Set global trace sample period to 5ms.
GQ1000 | Enable trace mode for axis #2 and acquire 1000 samples.
2PR0.2, 3PR1 | Start a relative motion on axis #2 and axis #3.
NQ | Read the number of samples acquired.
NQ157 | Controller reports 157 global trace samples acquired.
NQ | Read the number of samples acquired.
NQ342 | Controller reports 342 global trace samples acquired.
WS, NQ | Wait for stop and read the number of samples acquired.
NQ1000 | Controller reports 1000 global trace samples acquired.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com