cdaclient command line CXv4 client - femanov/pycx4 GitHub Wiki
cdaclient - is a part of CX and first tool to check something with CX. Located in /cx/4cx/src/programs/utils/
% cdaclient -h
Usage: cdaclient [OPTIONS] {COMMANDS}
COMMAND is either CHANNEL name (read) or CHANNEL=VALUE (write)
Options:
-1 -- do NOT expand {} and <> in channel names
-b BASEREF
-f FILENAME -- read list of channels from FILENAME (one per line)
-m -- monitor mode (run infinitely)
-o OUTFILE -- send output to OUTFILE
-r -- print relative channel names
-T DURATION -- how many seconds to run (time limit)
-h show this help
In addition:
-
vector channel name: @t1024:name, where name is channel name, t1024 - is type and maximum number of elements (t - text, 1024 elements). Refere CX beginner's guide for supported data types symbols.
-
cdaclient can operate with many channels. Provide space-separated list to do this.
% cdaclient name1 name2=1 name3 - print name1, name3 and set name2=1