I have a J1939 transmit list that I add messages to. Once I create the message, and the symbol/PGN is applied, I cannot edit the message ID or DLC, only the data.
My application could have several different source addresses, so I would like to be able to change the source address dynamically. I have updated my symbol file to include the other source addresses, but how do I go about changing it within the "Edit Message" window?
For example, I have a message ID 0CFEEE00h, I would like to change to 0CFEEE01h, I don't see any way to do so within the "Edit Message" window.
Unable to change ID in transmit window after linked to PGN
Re: Unable to change ID in transmit window after linked to P
Hello,
I'm not sure if I understand what you mean. Assuming you are using the PCAN-Explorer, you can edit an already created J1939 message by doing right mouse-click over that message. Than you can select the option "Edit Message..." and the Edit Message window appears:
If you want to change the Source-Address dynamically in regard of any event that can occur, then you will need to write a VBScript macro for that.
I'm not sure if I understand what you mean. Assuming you are using the PCAN-Explorer, you can edit an already created J1939 message by doing right mouse-click over that message. Than you can select the option "Edit Message..." and the Edit Message window appears:
If you want to change the Source-Address dynamically in regard of any event that can occur, then you will need to write a VBScript macro for that.
Best regards,
Keneth
Keneth
Re: Unable to change ID in transmit window after linked to P
I am able to open the "edit message" window, but I am unable to edit the ID, only the data (notice the message ID and DLC are grayed out):
- Attachments
-
- EDIT_message.bmp (204.47 KiB) Viewed 7203 times
-
- EDIT.bmp (249.25 KiB) Viewed 7203 times
Re: Unable to change ID in transmit window after linked to P
I just now realized I can do what I need by adjusting the "priority" and "source" values, and the ID updates as desired, while maintaining the appropriate PGN:
- Attachments
-
- success.bmp (381.01 KiB) Viewed 7203 times
Re: Unable to change ID in transmit window after linked to P
Yes. When you create a message, you select a PGN, that is, that PGN is tied to that message. The ID is given by the protocol (J1939). This is, it is formed using PGN, Source and Destination address, and Priority. Depending on the kind of PGN you will be able or not to change the destination address and length (DLC).
Best regards,
Keneth
Keneth