Symbol CAN-ID as variable?

Professional Windows® software to communicate with CAN and CAN FD busses and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
masmith1553
Posts: 3
Joined: Thu 15. Feb 2024, 21:23

Symbol CAN-ID as variable?

Post by masmith1553 » Thu 15. Feb 2024, 23:01

Hello,

I am creating a project where the user can configure CANOpen devices by using the Panel in PCAN Explorer 6. Is there a way to write the CAN-ID field in Symbols?

For example:

The user enters the NODE ID they wish to configure the CANOpen device and click a Button to set the Node address to XXXh (which I can do with no issue using LSS). Next the user needs to configure the device using the Object Directory where the CAN-ID 600h + Node-ID XXXh just configured.

K.Wolf
Software Development
Software Development
Posts: 139
Joined: Wed 22. Sep 2010, 15:37

Re: Symbol CAN-ID as variable?

Post by K.Wolf » Fri 16. Feb 2024, 14:42

Hello,
no, the CAN ID of a symbol cannot be modified, it is determined solely by the definitions made in the loaded Symbols file.

masmith1553
Posts: 3
Joined: Thu 15. Feb 2024, 21:23

Re: Symbol CAN-ID as variable?

Post by masmith1553 » Fri 16. Feb 2024, 19:10

Thanks for the reply.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Symbol CAN-ID as variable?

Post by PEAK-Support » Sat 17. Feb 2024, 11:22

I had a customer in the past who changed a symbol file inside a script. This is possible if you have good VBS knowledge.
A symbol file could be changed at runtime (Apply) with a script. Maybe this is a solution for your project.
So that you „edit“ the ID in the Symbol File, based on the customer input of the node id.
Send a e-mail to our support, maybe i found the sample project again…
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

masmith1553
Posts: 3
Joined: Thu 15. Feb 2024, 21:23

Re: Symbol CAN-ID as variable?

Post by masmith1553 » Mon 19. Feb 2024, 19:00

U.Wilhelm wrote:
Sat 17. Feb 2024, 11:22
I had a customer in the past who changed a symbol file inside a script. This is possible if you have good VBS knowledge.
A symbol file could be changed at runtime (Apply) with a script. Maybe this is a solution for your project.
So that you „edit“ the ID in the Symbol File, based on the customer input of the node id.
Send a e-mail to our support, maybe i found the sample project again…
Do you mean that you did send an email to support or I should? I haven't used VB in a while but I could probably figure it out with the help of a sample project.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Symbol CAN-ID as variable?

Post by PEAK-Support » Mon 19. Feb 2024, 19:53

Send a email to support[at]peak-system.com.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply