Unknown key "NG_Slave" in the EDS file (CTT:Warning).
Describe the bug I saw that during export of an XDD file a key 'NG_Slave' is written in the [DeviceInfo] section.
The CANopen compliancy test tool (CTT) gives this warning: warning 21: Unknown or not used entry "NG_Slave" in section [DeviceInfo]
I cannot find any reference in the CiA documents describing this field.
If it is a known parameter, where is it documented? Is it a problem in the CTT or de Eds-editor?
To Reproduce Just export any XDD file to EDS format file.
Version used v4.2.3-0-gc1071ab
Expected behavior The generated EDS file should pass the CTT.
Additional context It is related to the Node guarding Slave / Master settings.
** NOTE **
Another warning is present with the section/key [FileInfo] / LastEDS but this key is specified in the CiA306 by the CTT complains with this warning:
Test Warning : "filename".eds(5) : warning 21: Unknown or not used entry "LastEDS" in section [FileInfo].
This is the only thing I could find in the spec:
LastEDS - shall provide the file name of the EDS file used as template for this DCF
I think this is a bug in the CTT. Even If I hack in some filepath in there, the CTT still complains. But when its not filled in, cant we just leave out this keyword when its empty?
Describe the bug I saw that during export of an XDD file a key 'NG_Slave' is written in the [DeviceInfo] section.
The CANopen compliancy test tool (CTT) gives this warning: warning 21: Unknown or not used entry "NG_Slave" in section [DeviceInfo]
I cannot find any reference in the CiA documents describing this field.
If it is a known parameter, where is it documented? Is it a problem in the CTT or de Edseditor?
@trojanobelix looks like you added in the commit below, do you know more about it?
[EdsExport]
public bool NG_Slave;
https://github.com/CANopenNode/CANopenEditor/commit/ad5da4c43001ff84901e9dbcc622350e34fef04d#diff-113b0e03b0a1c73f021ecddcb275fde0a92ef4ac2c2d914f4c3c2f89c968785fR799-R800
Another warning is present with the section/key [FileInfo] / LastEDS but this key is specified in the CiA306 by the CTT complains with this warning: Test Warning : .eds(5) : warning 21: Unknown or not used entry "LastEDS" in section [FileInfo]. I think this is a bug in the CTT. But when its not filled in, cant we just leave out this keyword when its empty?
Sounds good
Janez implemented node guarding for my company and I added it to the editor. I had orientated myself on the LSS implementation, but that has no place in the EDS: Can go!