tests/ethercat/wago_higen/ethercat@etherlab/master@EthercatNode/higen@EthercatCIA402Slave/confnode.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 30 Jul 2018 19:02:36 +0300
changeset 2255 f6a0508fa473
parent 2165 02a2b5dee5e3
permissions -rw-r--r--
Fix problem with decreasing size of StatusToolBar when tools are removed from toolbar.

StatusToolBar - toolbar with tool to build, clear, connect, ...
This problem appears only in python-wxgtk3.0. In python-wxgtk2.8 there
was not such problem.

If call StatusToolBar.SetMinSize(wx.DefaultSize), all is working, but
following warning message appears:

(Beremiz.py:15155): Gtk-WARNING **: 18:42:24.115: Negative content
width -6 (allocation 1, extents 4x3) while allocating gadget (node
toolbar, owner GtkToolbar)

To avoid that StatusToolBar.GetToolBitmapSize() is used instead of wx.DefaultSize
2154
6bbe93799956 Replaced location for axis ref from %IW(location).0 to %IW(location).402. Added location for network position at %IW(location).
Laurent Bessard
parents: 2142
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
2158
7132aa34188d Fixed higen example removing obsolete attribute in CIA402 node params file
Laurent Bessard
parents: 2154
diff changeset
     2
<CIA402SlaveParams EnableDigitalInputs="true" RatioNumerator="65536" RatioDenominator="360" PositionOffset="0" LimitSwitchNC="false" HomingLimitWindow="10" HomingVelocity="360" TorqueRatioNumerator="10" TorqueRatioDenominator="1"/>