Comments (3)
Hi @sudoDavi !
I have the same problem and i need to add new TPDO to my project.
When i do a new TPDO in windows I have the same error but when i do it in Linux EDSeditor closes.
How can i do it?
Thanks!
from canopeneditor.
I think I have a fix for this. Sorry I just figured this was the latest fork of Robin Cornelius' repo. I can create a pull request if preferred.
diff --git a/libEDSsharp/PDOHelper.cs b/libEDSsharp/PDOHelper.cs
index ea993ba..c66ed87 100644
--- a/libEDSsharp/PDOHelper.cs
+++ b/libEDSsharp/PDOHelper.cs
@@ -408,7 +408,7 @@ namespace libEDSsharp
public void addPDOslot(UInt16 configindex)
{
//quick range check, it must be a config index for an RXPDO or a TXPDO
- if( (configindex<0x1400) || (configindex >= 0x1a00) || ((configindex>=1600) && (configindex<0x1800)))
+ if( (configindex<0x1400) || (configindex >= 0x1a00) || ((configindex>=0x1600) && (configindex<0x1800)))
return;
foreach(PDOSlot slot in pdoslots)
@@ -422,7 +422,10 @@ namespace libEDSsharp
PDOSlot newslot = new PDOSlot();
newslot.ConfigurationIndex = configindex;
- newslot.COB = 0x180; //Fixme need a better default???
+
+ newslot.COB = 0x180; // Fixme need better defaults???
+ newslot.configloc = "RAM";
+ newslot.mappingloc = "RAM";
pdoslots.Add(newslot);
from canopeneditor.
Should be fixed with 4851453
from canopeneditor.
Related Issues (20)
- refactor CanopenEditor HOT 3
- Remove CanOpenNodeXML (inc bridge)
- Move import & export part of eds away from eds.cs
- Can't add item into OD HOT 6
- Why not set Rpdo inhibit time , textBox_inhibit is grey background and not editable. HOT 1
- System.ArgumentException with grid columns HOT 2
- Question: are the generated C files subject to (L)GPL? HOT 5
- Build and run instructions? HOT 2
- LSS Master/Slave parameters does not export to OD.c/h HOT 5
- Concrete Node Id does not propagate to proper value of $NODEID HOT 1
- Impossible to import .eds file from Weidmueller UR20-FBC-CAN HOT 5
- Column span out of the range of valid values (INT32) HOT 2
- Layout of PDO tab oversize out of window. HOT 3
- "not specified" type for Domain objects HOT 14
- Hello, about using CANopenEditor configuration SRDO problem HOT 3
- An error occurred while I was editing PDO obiect dictionary, such that I lose my modification. HOT 2
- Unsigned32 Variable in TPDO doesn't have proper data length in bits HOT 7
- EDS file seems to generate wrong access type for PLC TPDO and RPDO HOT 3
- PDO Mapping 'Invalid' not work while 'Export CanOpenNode' HOT 2
- TPDO and RPDO Assigned COB IDs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canopeneditor.