User Manual

Table Of Contents
Query History Commands
Advanced Digital Motor Controller User Manual 257
/?Q cc - Create data streams
Using this syntax the next queries that are going to be sent will be printed after a prefix
and separated by a delimiter. The default prefix is none and the default delimiter is tab.
There can be created up to 3 streams and can have different refresh rates.
Syntax:
/”<prefix>”,”<delimiter>”?Q cc
Reply: The regular reply of the query ?Q cc.
Where:
Q = is reply the query symbol.
cc = motor channel
prefix = the prefix for the stream
delimiter = the delimiter for the stream
For example, if one wants a log of the Motor Power(P), Motor Amps(A) and Encoder Speed(S)
of channel 1, with refresh rate 50ms, prefix “d=” and delimiter ‘:’ they should type:
/”d=”,”:”?p 1_?a 1_?s 1_# 50
Two more stream examples are shown below:
/”f=”,”:”?t 1_?v 2_?v 3_# 100
/?p 1_?f 1_?e 1_# 200
The outcome of these three streams are shown in the image below: