# HG changeset patch # User etisserant # Date 1214326977 -7200 # Node ID 648449a9d7787b9315e407b7e61c2e3dcb3637ef # Parent 121b18748de0c24d54b098c1c4776a3172b733dd Re-organized tests diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_master/.cvsignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_master/.cvsignore Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,1 @@ +build diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_master/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_master/beremiz.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_master/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_master/plc.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2439 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalIn + + + + + + + + + + + + + + + DigitalOut + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UINT#0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UINT#1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + UINT#2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UINT#3 + + + + + + + AnalogOut1 + + + + + + + + + + + AnalogOut1 + + + + + + + AnalogIn1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AnalogOut2 + + + + + + + AnalogOut2 + + + + + + + AnalogIn2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UINT#7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T#1s + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AnalogOut3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + REAL#10000.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + DigitalOut + + + + + + + UINT#1 + + + + + + + DigitalOut + + + + + + + DigitalOut + + + + + + + UINT#0 + + + + + + + DigitalIn + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DeviceType + + + + + + + + + + + AnalogOut4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INPUT_BYTE + + + + + + + NUM_BIT + + + + + + + + + + + GETBIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BYTE#1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INPUT_BYTE + + + + + + + INPUT_BIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NUM_BIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BYTE#1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SETBIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + + + + + + + OUT_OR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + OUT_AND + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + + + + + + + OUT_XOR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OUT_SR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + += UPPER1;]]> + + + + + + += UPPER2;]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CNT1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CNT2 + + + + + + + + + + + + + + + + + + + + CNT1 + + + + + + + + + + + + + + CNT2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/.cvsignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/.cvsignore Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,1 @@ +build diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/beremiz.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/canopen@canfestival/baseplugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/canopen@canfestival/baseplugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/canopen@canfestival/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/canopen@canfestival/plugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/baseplugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/baseplugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/plugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/slave.od --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/slave.od Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_slave/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_slave/plc.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + testvar + + + + + + + 1 + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/.cvsignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/.cvsignore Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,1 @@ +build diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/baseplugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/baseplugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/eds/DS401_Slave_Gui.eds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/eds/DS401_Slave_Gui.eds Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,1142 @@ +[FileInfo] +FileName=DS401_Slave_Gui.eds +FileVersion=1 +FileRevision=1 +EDSVersion=4.0 +Description= +CreationTime=05:58PM +CreationDate=10-02-2007 +CreatedBy=CANFestival +ModificationTime=05:58PM +ModificationDate=10-02-2007 +ModifiedBy=CANFestival + +[DeviceInfo] +VendorName=CANFestival +VendorNumber=0x00000175 +ProductName=ObjDict +ProductNumber=0x00100000 +RevisionNumber=0x00010001 +BaudRate_10=1 +BaudRate_20=1 +BaudRate_50=1 +BaudRate_125=1 +BaudRate_250=1 +BaudRate_500=1 +BaudRate_800=1 +BaudRate_1000=1 +SimpleBootUpMaster=0 +SimpleBootUpSlave=1 +Granularity=8 +DynamicChannelsSupported=0 +CompactPDO=0 +GroupMessaging=0 +NrOfRXPDO=2 +NrOfTXPDO=3 +LSS_Supported=0 + +[DummyUsage] +Dummy0001=0 +Dummy0002=1 +Dummy0003=1 +Dummy0004=1 +Dummy0005=1 +Dummy0006=1 +Dummy0007=1 + +[Comments] +Lines=0 + +[MandatoryObjects] +SupportedObjects=3 +1=0x1000 +2=0x1001 +3=0x1018 + +[1000] +ParameterName=Device Type +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=983441 +PDOMapping=0 + +[1001] +ParameterName=Error Register +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[1018] +ParameterName=Identity +ObjectType=0x8 +SubNumber=4 + +[1018sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=3 +PDOMapping=0 + +[1018sub1] +ParameterName=Vendor ID +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=373 +PDOMapping=0 + +[1018sub2] +ParameterName=Product Code +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=1048576 +PDOMapping=0 + +[1018sub3] +ParameterName=Revision Number +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=65537 +PDOMapping=0 + +[OptionalObjects] +SupportedObjects=35 +1=0x1002 +2=0x1005 +3=0x1008 +4=0x1009 +5=0x100A +6=0x100C +7=0x100D +8=0x1010 +9=0x1011 +10=0x1016 +11=0x1017 +12=0x1020 +13=0x1200 +14=0x1400 +15=0x1401 +16=0x1600 +17=0x1601 +18=0x1800 +19=0x1801 +20=0x1802 +21=0x1A00 +22=0x1A01 +23=0x1A02 +24=0x6000 +25=0x6002 +26=0x6200 +27=0x6202 +28=0x6206 +29=0x6207 +30=0x6401 +31=0x6411 +32=0x6423 +33=0x6426 +34=0x6443 +35=0x6444 + +[1002] +ParameterName=Manufacturer Status Register +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[1005] +ParameterName=SYNC COB ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=128 +PDOMapping=0 + +[1008] +ParameterName=Manufacturer Device Name +ObjectType=0x7 +DataType=0x0009 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1009] +ParameterName=Manufacturer Hardware Version +ObjectType=0x7 +DataType=0x0009 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[100A] +ParameterName=Manufacturer Software Version +ObjectType=0x7 +DataType=0x0009 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[100C] +ParameterName=Guard Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[100D] +ParameterName=Life Time Factor +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1010] +ParameterName=Store parameters +ObjectType=0x8 +SubNumber=2 + +[1010sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[1010sub1] +ParameterName=Save All Parameters +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1011] +ParameterName=Restore Default Parameters +ObjectType=0x8 +SubNumber=2 + +[1011sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[1011sub1] +ParameterName=Restore All Default Parameters +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1016] +ParameterName=Consumer Heartbeat Time +ObjectType=0x9 +SubNumber=4 + +[1016sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=3 +PDOMapping=0 + +[1016sub1] +ParameterName=Consumer Heartbeat Time +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1016sub2] +ParameterName=Consumer Heartbeat Time +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1016sub3] +ParameterName=Consumer Heartbeat Time +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1017] +ParameterName=Producer Heartbeat Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1020] +ParameterName=Verify Configuration +ObjectType=0x8 +SubNumber=3 + +[1020sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1020sub1] +ParameterName=Configuration Date +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1020sub2] +ParameterName=Configuration Time +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1200] +ParameterName=Server SDO Parameter +ObjectType=0x8 +SubNumber=3 + +[1200sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1200sub1] +ParameterName=COB ID Client to Server (Receive SDO) +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=$NODEID+0x600 +PDOMapping=0 + +[1200sub2] +ParameterName=COB ID Server to Client (Transmit SDO) +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=$NODEID+0x580 +PDOMapping=0 + +[1400] +ParameterName=Receive PDO 1 Parameter +ObjectType=0x8 +SubNumber=3 + +[1400sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1400sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x200 +PDOMapping=0 + +[1400sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1401] +ParameterName=Receive PDO 2 Parameter +ObjectType=0x8 +SubNumber=3 + +[1401sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1401sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x300 +PDOMapping=0 + +[1401sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1600] +ParameterName=Receive PDO 1 Mapping +ObjectType=0x9 +SubNumber=2 + +[1600sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1600sub1] +ParameterName=PDO 1 Mapping for an application object 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1644167432 +PDOMapping=0 + +[1601] +ParameterName=Receive PDO 2 Mapping +ObjectType=0x9 +SubNumber=5 + +[1601sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=4 +PDOMapping=0 + +[1601sub1] +ParameterName=PDO 2 Mapping for an application object 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1678835984 +PDOMapping=0 + +[1601sub2] +ParameterName=PDO 2 Mapping for an application object 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1678836240 +PDOMapping=0 + +[1601sub3] +ParameterName=PDO 2 Mapping for an application object 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1678836496 +PDOMapping=0 + +[1601sub4] +ParameterName=PDO 2 Mapping for an application object 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1678836752 +PDOMapping=0 + +[1800] +ParameterName=Transmit PDO 1 Parameter +ObjectType=0x8 +SubNumber=5 + +[1800sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1800sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x180 +PDOMapping=0 + +[1800sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1800sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1800sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1801] +ParameterName=Transmit PDO 2 Parameter +ObjectType=0x8 +SubNumber=5 + +[1801sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1801sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x280 +PDOMapping=0 + +[1801sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1801sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1801sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1802] +ParameterName=Transmit PDO 3 Parameter +ObjectType=0x8 +SubNumber=5 + +[1802sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1802sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x380 +PDOMapping=0 + +[1802sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1802sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1802sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00] +ParameterName=Transmit PDO 1 Mapping +ObjectType=0x9 +SubNumber=2 + +[1A00sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1A00sub1] +ParameterName=PDO 1 Mapping for a process data variable 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1610613000 +PDOMapping=0 + +[1A01] +ParameterName=Transmit PDO 2 Mapping +ObjectType=0x9 +SubNumber=5 + +[1A01sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=4 +PDOMapping=0 + +[1A01sub1] +ParameterName=PDO 2 Mapping for a process data variable 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677787408 +PDOMapping=0 + +[1A01sub2] +ParameterName=PDO 2 Mapping for a process data variable 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677787664 +PDOMapping=0 + +[1A01sub3] +ParameterName=PDO 2 Mapping for a process data variable 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677787920 +PDOMapping=0 + +[1A01sub4] +ParameterName=PDO 2 Mapping for a process data variable 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677788176 +PDOMapping=0 + +[1A02] +ParameterName=Transmit PDO 3 Mapping +ObjectType=0x9 +SubNumber=5 + +[1A02sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=4 +PDOMapping=0 + +[1A02sub1] +ParameterName=PDO 3 Mapping for a process data variable 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677788432 +PDOMapping=0 + +[1A02sub2] +ParameterName=PDO 3 Mapping for a process data variable 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677788688 +PDOMapping=0 + +[1A02sub3] +ParameterName=PDO 3 Mapping for a process data variable 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677788944 +PDOMapping=0 + +[1A02sub4] +ParameterName=PDO 3 Mapping for a process data variable 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=1677789200 +PDOMapping=0 + +[6000] +ParameterName=Read Inputs 8 Bit +ObjectType=0x9 +SubNumber=2 + +[6000sub0] +ParameterName=Number of Input 8 bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6000sub1] +ParameterName=Read Inputs 0x1 to 0x8 +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6002] +ParameterName=Polarity Input 8 Bit +ObjectType=0x9 +SubNumber=2 + +[6002sub0] +ParameterName=Number of Input 8 bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6002sub1] +ParameterName=Polarity Input 0x1 to 0x8 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6200] +ParameterName=Write Outputs 8 Bit +ObjectType=0x9 +SubNumber=2 + +[6200sub0] +ParameterName=Number of Output 8 Bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6200sub1] +ParameterName=Write Outputs 0x1 to 0x8 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6202] +ParameterName=Change Polarity Outputs 8 Bit +ObjectType=0x9 +SubNumber=2 + +[6202sub0] +ParameterName=Number of Output 8 Bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6202sub1] +ParameterName=Change Polarity Outputs 0x1 to 0x8 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6206] +ParameterName=Error Mode Outputs 8 Bit +ObjectType=0x9 +SubNumber=2 + +[6206sub0] +ParameterName=Number of Output 8 Bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6206sub1] +ParameterName=Error Mode Outputs 0x1 to 0x8 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6207] +ParameterName=Error Value Outputs 8 Bit +ObjectType=0x9 +SubNumber=2 + +[6207sub0] +ParameterName=Number of Output 8 Bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6207sub1] +ParameterName=Error Value Outputs 0x1 to 0x8 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6401] +ParameterName=Read Analogue Input 16 Bit +ObjectType=0x9 +SubNumber=9 + +[6401sub0] +ParameterName=Number of Analogue Input 16 Bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=8 +PDOMapping=0 + +[6401sub1] +ParameterName=Analogue Input 1 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6401sub2] +ParameterName=Analogue Input 2 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6401sub3] +ParameterName=Analogue Input 3 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6401sub4] +ParameterName=Analogue Input 4 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6401sub5] +ParameterName=Analogue Input 5 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6401sub6] +ParameterName=Analogue Input 6 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6401sub7] +ParameterName=Analogue Input 7 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6401sub8] +ParameterName=Analogue Input 8 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[6411] +ParameterName=Write Analogue Output 16 Bit +ObjectType=0x9 +SubNumber=5 + +[6411sub0] +ParameterName=Number of Analogue Input 16 Bit +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[6411sub1] +ParameterName=Analogue Output 1 +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6411sub2] +ParameterName=Analogue Output 2 +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6411sub3] +ParameterName=Analogue Output 3 +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6411sub4] +ParameterName=Analogue Output 4 +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6423] +ParameterName=Analogue Input Global Interrupt Enable +ObjectType=0x7 +DataType=0x0001 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426] +ParameterName=Analogue Input Interrupt Delta Unsigned +ObjectType=0x9 +SubNumber=9 + +[6426sub0] +ParameterName=Number of Analogue Inputs +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=8 +PDOMapping=0 + +[6426sub1] +ParameterName=Analogue Input 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426sub2] +ParameterName=Analogue Input 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426sub3] +ParameterName=Analogue Input 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426sub4] +ParameterName=Analogue Input 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426sub5] +ParameterName=Analogue Input 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426sub6] +ParameterName=Analogue Input 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426sub7] +ParameterName=Analogue Input 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6426sub8] +ParameterName=Analogue Input 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6443] +ParameterName=Analogue Output Error Mode +ObjectType=0x9 +SubNumber=5 + +[6443sub0] +ParameterName=Number of Analogue Outputs +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[6443sub1] +ParameterName=Error Mode Analogue Output 1 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6443sub2] +ParameterName=Error Mode Analogue Output 2 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6443sub3] +ParameterName=Error Mode Analogue Output 3 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6443sub4] +ParameterName=Error Mode Analogue Output 4 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6444] +ParameterName=Analogue Output Error Value Integer +ObjectType=0x9 +SubNumber=5 + +[6444sub0] +ParameterName=Number of Analogue Outputs +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[6444sub1] +ParameterName=Analogue Output 1 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6444sub2] +ParameterName=Analogue Output 2 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6444sub3] +ParameterName=Analogue Output 3 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[6444sub4] +ParameterName=Analogue Output 4 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[ManufacturerObjects] +SupportedObjects=0 diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/eds/PEAK MicroMod.eds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/eds/PEAK MicroMod.eds Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,1289 @@ +[FileInfo] +CreatedBy=ESAcademy +ModifiedBy=ESAcademy +Description=PEAK MicroMod CANopenIA Generic +CreationTime=09:41PM +CreationDate=05-05-2003 +ModificationTime=05:05PM +ModificationDate=03-23-2005 +FileName=C:\CANopenCT\Tests\PEAK MicroMod.eds +FileVersion=1 +FileRevision=1 +EDSVersion=4 + +[DeviceInfo] +VendorName=PEAK System Technik +VendorNumber=0x00000175 +ProductName=PEAK MicroMod CANopenIA Generic +ProductNumber=0x00100000 +RevisionNumber=0x00010001 +OrderCode=na +BaudRate_10=0 +BaudRate_20=0 +BaudRate_50=1 +BaudRate_125=1 +BaudRate_250=1 +BaudRate_500=1 +BaudRate_800=1 +BaudRate_1000=1 +SimpleBootUpMaster=0 +SimpleBootUpSlave=1 +Granularity=0 +DynamicChannelsSupported=0 +CompactPDO=0 +GroupMessaging=0 +NrOfRXPDO=4 +NrOfTXPDO=4 +LSS_Supported=0 + +[DummyUsage] +Dummy0001=0 +Dummy0002=0 +Dummy0003=0 +Dummy0004=0 +Dummy0005=1 +Dummy0006=1 +Dummy0007=1 + +[Comments] +Lines=0 + +[MandatoryObjects] +SupportedObjects=3 +1=0x1000 +2=0x1001 +3=0x1018 + +[1000] +ParameterName=Device Type +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0x000F0191 +PDOMapping=0 + +[1001] +ParameterName=Error Register +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1018] +ParameterName=Identity Object +ObjectType=0x9 +SubNumber=4 + +[1018sub0] +ParameterName=number of entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=3 +PDOMapping=0 + +[1018sub1] +ParameterName=Vendor ID +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0x00000175 +PDOMapping=0 + +[1018sub2] +ParameterName=Product Code +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0x00100000 +PDOMapping=0 + +[1018sub3] +ParameterName=Revision number +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0x00010001 +PDOMapping=0 + +[OptionalObjects] +SupportedObjects=41 +1=0x1002 +2=0x1005 +3=0x1008 +4=0x1009 +5=0x100A +6=0x100C +7=0x100D +8=0x1010 +9=0x1011 +10=0x1016 +11=0x1017 +12=0x1020 +13=0x1400 +14=0x1401 +15=0x1402 +16=0x1403 +17=0x1600 +18=0x1601 +19=0x1602 +20=0x1603 +21=0x1800 +22=0x1801 +23=0x1802 +24=0x1803 +25=0x1A00 +26=0x1A01 +27=0x1A02 +28=0x1A03 +29=0x1F50 +30=0x6000 +31=0x6002 +32=0x6200 +33=0x6202 +34=0x6206 +35=0x6207 +36=0x6401 +37=0x6411 +38=0x6423 +39=0x6426 +40=0x6443 +41=0x6444 + +[1002] +ParameterName=PEAK Status Register +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +PDOMapping=0 + +[1005] +ParameterName=COB-ID SYNC +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x00000080 +PDOMapping=0 + +[1008] +ParameterName=Manufacturer Device Name +ObjectType=0x7 +DataType=0x0009 +AccessType=const +PDOMapping=0 + +[1009] +ParameterName=Manufacturer Hardware Version +ObjectType=0x7 +DataType=0x0009 +AccessType=const +PDOMapping=0 + +[100a] +ParameterName=Manufacturer Software Version +ObjectType=0x7 +DataType=0x0009 +AccessType=const +PDOMapping=0 + +[100c] +ParameterName=Guard Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[100d] +ParameterName=Life Time Factor +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0x00 +PDOMapping=0 + +[1010] +ParameterName=Store Parameter Field +ObjectType=0x8 +SubNumber=2 + +[1010sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[1010sub1] +ParameterName=Save all Parameters +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +PDOMapping=0 + +[1011] +ParameterName=Restore Default Parameters +ObjectType=0x8 +SubNumber=2 + +[1011sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[1011sub1] +ParameterName=Restore all Default Parameters +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +PDOMapping=0 + +[1016] +ParameterName=Consumer Heartbeat Time +ObjectType=0x8 +SubNumber=4 + +[1016sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=3 +PDOMapping=0 +LowLimit=0x1 + +[1016sub1] +ParameterName=Consumer Heartbeat Time +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1016sub2] +ParameterName=Consumer Heartbeat Time +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1016sub3] +ParameterName=Consumer Heartbeat Time +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1017] +ParameterName=Producer Heartbeat Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1020] +ParameterName=Verify Configuration +ObjectType=0x8 +SubNumber=3 + +[1020sub0] +ParameterName=Number of entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1020sub1] +ParameterName=Configuration date +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +PDOMapping=0 + +[1020sub2] +ParameterName=Configuration time +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +PDOMapping=0 + +[1400] +ParameterName=Receive PDO Communication Parameter +ObjectType=0x9 +SubNumber=3 + +[1400sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1400sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x200 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1400sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1401] +ParameterName=Receive PDO Communication Parameter +ObjectType=0x9 +SubNumber=3 + +[1401sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1401sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x300 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1401sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1402] +ParameterName=Receive PDO Communication Parameter +ObjectType=0x9 +SubNumber=3 + +[1402sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 +LowLimit=0x02 +HighLimit=0x05 + +[1402sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x80000400 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1402sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1403] +ParameterName=Receive PDO Communication Parameter +ObjectType=0x9 +SubNumber=3 + +[1403sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 +LowLimit=0x02 +HighLimit=0x05 + +[1403sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x80000500 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1403sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1600] +ParameterName=Receive PDO Mapping Parameter +ObjectType=0x9 +SubNumber=2 + +[1600sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1600sub1] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x62000108 +PDOMapping=0 + +[1601] +ParameterName=Receive PDO Mapping Parameter +ObjectType=0x9 +SubNumber=5 + +[1601sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=4 +PDOMapping=0 + +[1601sub1] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64110110 +PDOMapping=0 + +[1601sub2] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64110210 +PDOMapping=0 + +[1601sub3] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64110310 +PDOMapping=0 + +[1601sub4] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64110410 +PDOMapping=0 + +[1602] +ParameterName=Receive PDO Mapping Parameter +ObjectType=0x9 +SubNumber=1 + +[1602sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603] +ParameterName=Receive PDO Mapping Parameter +ObjectType=0x9 +SubNumber=1 + +[1603sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1800] +ParameterName=Transmit PDO Communication Parameter +ObjectType=0x9 +SubNumber=5 + +[1800sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 +LowLimit=0x02 +HighLimit=0x05 + +[1800sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x180 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1800sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1800sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0x0000 +PDOMapping=0 + +[1800sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1801] +ParameterName=Transmit PDO Communication Parameter +ObjectType=0x9 +SubNumber=5 + +[1801sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 +LowLimit=0x02 +HighLimit=0x05 + +[1801sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x280 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1801sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1801sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0x0000 +PDOMapping=0 + +[1801sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1802] +ParameterName=Transmit PDO Communication Parameter +ObjectType=0x9 +SubNumber=5 + +[1802sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 +LowLimit=0x02 +HighLimit=0x05 + +[1802sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x380 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1802sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1802sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0x0000 +PDOMapping=0 + +[1802sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1803] +ParameterName=Transmit PDO Communication Parameter +ObjectType=0x9 +SubNumber=5 + +[1803sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 +LowLimit=0x02 +HighLimit=0x05 + +[1803sub1] +ParameterName=COB-ID +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x80000480 +PDOMapping=0 +LowLimit=0x00000001 +HighLimit=0xFFFFFFFF + +[1803sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=255 +PDOMapping=0 + +[1803sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0x0000 +PDOMapping=0 + +[1803sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1a00] +ParameterName=Transmit PDO Mapping Parameter +ObjectType=0x9 +SubNumber=2 + +[1a00sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=1 +PDOMapping=0 + +[1a00sub1] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x60000108 +PDOMapping=0 + +[1a01] +ParameterName=Transmit PDO Mapping Parameter +ObjectType=0x9 +SubNumber=5 + +[1a01sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=4 +PDOMapping=0 + +[1a01sub1] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010110 +PDOMapping=0 + +[1a01sub2] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010210 +PDOMapping=0 + +[1a01sub3] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010310 +PDOMapping=0 + +[1a01sub4] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010410 +PDOMapping=0 + +[1a02] +ParameterName=Transmit PDO Mapping Parameter +ObjectType=0x9 +SubNumber=5 + +[1a02sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=4 +PDOMapping=0 + +[1a02sub1] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010510 +PDOMapping=0 + +[1a02sub2] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010610 +PDOMapping=0 + +[1a02sub3] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010710 +PDOMapping=0 + +[1a02sub4] +ParameterName=PDO Mapping Entry +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0x64010810 +PDOMapping=0 + +[1a03] +ParameterName=Transmit PDO Mapping Parameter +ObjectType=0x9 +SubNumber=1 + +[1a03sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1f50] +ParameterName=Download Program Data +ObjectType=0x8 +SubNumber=2 + +[1f50sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=3 +PDOMapping=0 + +[1f50sub3] +ParameterName=Download Program Data - HW Settings +ObjectType=0x7 +DataType=0x000F +AccessType=rw +PDOMapping=0 + +[6000] +ParameterName=Read Digital Input 8-bit +ObjectType=0x8 +SubNumber=2 + +[6000sub0] +ParameterName=Number of Elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6000sub1] +ParameterName=DigInput8_1 +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +PDOMapping=1 + +[6002] +ParameterName=Polarity Digital Input +ObjectType=0x8 +SubNumber=2 + +[6002sub0] +ParameterName=Number of Elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6002sub1] +ParameterName=Polarity8_1 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6200] +ParameterName=Write Digital Output 8-bit +ObjectType=0x8 +SubNumber=2 + +[6200sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6200sub1] +ParameterName=DigOutput8_1 +ObjectType=0x7 +DataType=0x0005 +AccessType=rww +PDOMapping=1 + +[6202] +ParameterName=Polarity Digital Output +ObjectType=0x8 +SubNumber=2 + +[6202sub0] +ParameterName=Number of Elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6202sub1] +ParameterName=Polarity8_1 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6206] +ParameterName=Error Mode Digital Output +ObjectType=0x8 +SubNumber=2 + +[6206sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6206sub1] +ParameterName=Error Mode 1 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6207] +ParameterName=Error Value Digital Output +ObjectType=0x8 +SubNumber=2 + +[6207sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=1 +PDOMapping=0 + +[6207sub1] +ParameterName=Error Value 1 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6401] +ParameterName=Read Analog Input 16-bit +ObjectType=0x8 +SubNumber=9 + +[6401sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=8 +PDOMapping=0 + +[6401sub1] +ParameterName=AnalogInput16_1 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6401sub2] +ParameterName=AnalogInput16_2 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6401sub3] +ParameterName=AnalogInput16_3 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6401sub4] +ParameterName=AnalogInput16_4 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6401sub5] +ParameterName=AnalogInput16_5 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6401sub6] +ParameterName=AnalogInput16_6 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6401sub7] +ParameterName=AnalogInput16_7 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6401sub8] +ParameterName=AnalogInput16_8 +ObjectType=0x7 +DataType=0x0003 +AccessType=ro +PDOMapping=1 + +[6411] +ParameterName=Write Analog Output 16-bit +ObjectType=0x8 +SubNumber=5 + +[6411sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[6411sub1] +ParameterName=AnalogOutput16_1 +ObjectType=0x7 +DataType=0x0003 +AccessType=rww +PDOMapping=1 + +[6411sub2] +ParameterName=AnalogOutput16_2 +ObjectType=0x7 +DataType=0x0003 +AccessType=rww +PDOMapping=1 + +[6411sub3] +ParameterName=AnalogOutput16_3 +ObjectType=0x7 +DataType=0x0003 +AccessType=rww +PDOMapping=1 + +[6411sub4] +ParameterName=AnalogOutput16_4 +ObjectType=0x7 +DataType=0x0003 +AccessType=rww +PDOMapping=1 + +[6423] +ParameterName=Analog Input Global Interrupt +ObjectType=0x7 +DataType=0x0001 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426] +ParameterName=Analog Input Interrupt Delta +ObjectType=0x8 +SubNumber=9 + +[6426sub0] +ParameterName=NrOfObjects +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=8 +PDOMapping=0 + +[6426sub1] +ParameterName=Analog Input Delta 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426sub2] +ParameterName=Analog Input Delta 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426sub3] +ParameterName=Analog Input Delta 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426sub4] +ParameterName=Analog Input Delta 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426sub5] +ParameterName=Analog Input Delta 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426sub6] +ParameterName=Analog Input Delta 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426sub7] +ParameterName=Analog Input Delta 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6426sub8] +ParameterName=Analog Input Delta 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6443] +ParameterName=Error Mode Analog Output +ObjectType=0x8 +SubNumber=5 + +[6443sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[6443sub1] +ParameterName=Error Mode 1 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6443sub2] +ParameterName=Error Mode 2 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6443sub3] +ParameterName=Error Mode 3 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6443sub4] +ParameterName=Error Mode 4 +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6444] +ParameterName=Error Value Analog Output +ObjectType=0x8 +SubNumber=5 + +[6444sub0] +ParameterName=Number of elements +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[6444sub1] +ParameterName=Error Value 1 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6444sub2] +ParameterName=Error Value 2 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6444sub3] +ParameterName=Error Value 3 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[6444sub4] +ParameterName=Error Value 4 +ObjectType=0x7 +DataType=0x0004 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[ManufacturerObjects] +SupportedObjects=0 diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/master.od --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/master.od Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/nodelist.cpj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/nodelist.cpj Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,10 @@ +[TOPOLOGY] +NetName=None +Nodes=0x02 +Node16Present=0x01 +Node16Name=DS401_Slave_GUI +Node16DCFName=DS401_Slave_Gui.eds +Node32Present=0x01 +Node32Name=GUI2 +Node32DCFName=DS401_Slave_Gui.eds +EDSBaseName=eds diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/Master@CanOpenNode/plugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/baseplugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/baseplugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/CANopen@canfestival/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/CANopen@canfestival/plugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/beremiz.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/methods.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/methods.py Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,66 @@ +logger.write_error("Welcome to the Beremiz Demo\n\n") +logger.write("This demo provides a PLC working with the CANopen plugin\n") +logger.write("""Some external programs are also provided:\n +- a CAN TCP server to simulate the CANopen network +- a virtual slave node to simulate input block +- a virtual slave node to simulate output block +""") +logger.write("\nInfo: For this demo, %s plugin has some special methods to run external programs.\nThese methods are defined in methods.py\n" % (PlugName or "Root")) +#open_pdf(os.path.join(os.path.split(__file__)[0], "doc", "manual_beremiz.pdf"), pagenum=21) + +if wx.Platform == '__WXMSW__': + self.listLaunchProg = [ + {'name' : 'Can Tcp Server', + 'command' : 'can_tcp_win32_server.exe', + 'keyword' : 'Accepts', + 'pid' : None, + 'no_gui' : True}, + {'name' : 'DS401 Slave Gui NodeId 32', + 'command' : 'DS401_Slave_Gui.exe -sI -l can_tcp_win32.dll -b 127.0.0.1 -i 20 -B 125K', + 'keyword' : '[OK]', + 'pid' : None, + 'no_gui' : False}, + {'name' : 'DS401 Slave Gui NodeId 16', + 'command' : 'DS401_Slave_Gui.exe -sO -l can_tcp_win32.dll -b 127.0.0.1 -i 10 -B 125K', + 'keyword' : '[OK]', + 'pid' : None, + 'no_gui' : False} + ] +else: + self.listLaunchProg = [ + {'name' : 'DS401 Slave Gui NodeId 32', + 'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sI -l ../CanFestival-3/drivers/can_socket/libcanfestival_can_socket.so -b vcan0 -i 20 -B 125K', + 'keyword' : '[OK]', + 'pid' : None, + 'no_gui' : False}, + {'name' : 'DS401 Slave Gui NodeId 16', + 'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sO -l ../CanFestival-3/drivers/can_socket/libcanfestival_can_socket.so -b vcan0 -i 10 -B 125K', + 'keyword' : '[OK]', + 'pid' : None, + 'no_gui' : False} + ] + + +def my_methods(self): + def _Run(logger): + # External programs list + # Launch them and get their pid + for prog in self.listLaunchProg: + logger.write("Starting %s\n" % prog['name']) + prog['pid'] = ProcessLogger(logger, prog['command'], no_gui=prog['no_gui']) + prog['pid'].spin( + timeout=200, + keyword = prog['keyword'], + kill_it = False) + + PluginsRoot._Run(self,logger) + + def _Stop(logger): + PluginsRoot._Stop(self,logger) + for prog in self.listLaunchProg: + logger.write("Stopping %s\n" % prog['name']) + prog['pid'].kill() + + return _Run, _Stop + +self._Run, self._Stop = my_methods(self) \ No newline at end of file diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/plc.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2644 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AnalogOut1 + + + + + + + + + + + AnalogOut1 + + + + + + + AnalogIn1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AnalogOut2 + + + + + + + AnalogOut2 + + + + + + + AnalogIn2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UINT#7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitalOut + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T#1s + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AnalogOut3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + REAL#10000.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + REAL#400.0 + + + + + + + REAL#-180.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + REAL#-180.0 + + + + + + + REAL#400.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INPUT_BYTE + + + + + + + NUM_BIT + + + + + + + + + + + GETBIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BYTE#1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INPUT_BYTE + + + + + + + INPUT_BIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NUM_BIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BYTE#1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SETBIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + + + + + + + OUT_OR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + OUT_AND + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + + + + + + + OUT_XOR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IN1 + + + + + + + + + + + + + + IN2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OUT_SR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + += UPPER1;]]> + + + + + + += UPPER2;]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CNT1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CNT2 + + + + + + + + + + + + + + + + + + + + CNT1 + + + + + + + + + + + + + + CNT2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TEST_ARRAY[0, 1] + + + + + + + UINT#0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/supervisor@svgui/baseplugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/supervisor@svgui/baseplugin.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,2 @@ + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/supervisor@svgui/gui.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/supervisor@svgui/gui.svg Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,834 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + Pre-Alpha Release. Copyright © LOLITECH 2008 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Test 1 + + + + Test 1 + + + + Test 2 + + + + Test 2 + + AND + OR + XOR + SR + + + + + + + 100 + 200 + 300 + 400 + 0 + + + + + + + 100 + 200 + 300 + 400 + 0 + + + + + + diff -r 121b18748de0 -r 648449a9d778 tests/linux/test_svgui/supervisor@svgui/gui.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/linux/test_svgui/supervisor@svgui/gui.xml Tue Jun 24 19:02:57 2008 +0200 @@ -0,0 +1,11 @@ + + +