Hello, On Tue, Aug 05, 2014 at 01:37:28PM +0000, Michael Wenz wrote: > and I would like to download negative floating point values with the EtherLab > command line tool to a slave: > > e.g. ./ethercat download -p0 0x2001 0x9 -10.3 > > It is no problem to download positive values, but negative values cannot be > downloaded with the above call.
if the argument begins with a hyphen, it is interpreted as option. Try either ethercat download -p0 0x2001 0x9 '-10.3' or ethercat download -p0 0x2001 0x9 -- -10.3 The -- tells the option parser to treat all following tokens as arguments. -- Best regards, Florian Pose http://etherlab.org _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
