From: <can...@li...> - 2009-03-10 05:29:29
|
Hi, I found the bug refered to below and now I'm supplying a patch. On Tue, 2009-03-10 at 15:55 +1100, can...@li... wrote: > In Objdictedit, fresh today from CVS, I open a new, say name "foo", and > description "bar", and select options DS-302 Profile. Then click Ok, > and select Edit DS-302 Profile, the dialog box title is "Edit DS-301 > Profile". diff -Nau a/objdictgen/objdictedit.py b/objdictgen/objdictedit.py --- a/objdictgen/objdictedit.py 2008-11-20 17:51:14.000000000 +1100 +++ b/objdictgen/objdictedit.py 2009-03-10 16:20:46.000000000 +1100 @@ -808,7 +808,7 @@ def OnOtherCommunicationMenu(self, event): dictionary,current = self.Manager.GetCurrentDS302Lists() - self.EditProfile("Edit DS-301 Profile", dictionary, current) + self.EditProfile("Edit DS-302 Profile", dictionary, current) event.Skip() def OnEditProfileMenu(self, event): These questions remain, in particular question 1. Question 2 is an old bug. > I'm trying to implement a bootloader. I'd like to add objects 0x1f50 > (0x00 and 0x01) and 0x1f51 (0x00 and 0x01). How do I do this with > Objdictedit? > > If I start a DS-401 profile, and add "read analog input float", "analog > input offset float" and "analog input scaling float", then go to > "Transmit PDO Mapping", select 0x1A01, and try to select an analog input > to associate with the mapping, the drop down list shows three "Analogue > Input 1". Which one is the real "Analogue Input 1"? Regards, James. |