EDH0162En1040 – 06/99
3.176
MM4005
XN — Read number of acquisitions
Usage
IMM
PGM
MIP
Syntax
XN
Parameters
None.
Description
This command reads the current number of trace acquisitions. During a
trace mode initiated by the TM command, the number of stored samples
can be read to monitor the progress of the acquisition process.
Returns
XNnn
nn
—
Nnumber of acquired samples.
Errors
S
—
Communication time-out.
Rel. Commands
None.
Example
SP 0.005 |
Set trace sample period to 5 ms.
2TM1000 |
Enable trace mode for axis #2 and acquire 1000 samples
.
2PR0.2 |
Start a relative motion on axis #2 and the acquisition process
.
XN
|
Read the number of samples acquired
.
XN157
|
Controller reports 157 trace samples acquired.
XN
|
Read the number of samples acquired.
XN342
|
Controller reports 342 trace samples acquired.
2WS,
XN
|
Wait for stop and read the number of samples acquired.
XN1000
|
Controller reports 1000 trace samples acquired.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com