Instruments Panel: Button for pausing signal ?

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
sugarbeet_1
Posts: 2
Joined: Tue 7. May 2013, 10:01

Instruments Panel: Button for pausing signal ?

Post by sugarbeet_1 » Tue 7. May 2013, 10:10

Hello there !

I built myself a small instruments panel for sending serveral signals onto the CAN.
Now I would like to switch the periodic sending on and off.
I know it is possible via right-click on the toggle switch or analoge meter.

I would like to have a button for this and an indicator if the message is beeing sent or not.
Is this possible without writing a macro? If not: Is it possible to start a macro with a button in the instruments panel.

I am simulating an ECU in a HiL test rig ant the instruments panel is full-screen so i do not want to switch over to the send/receive list to see if the message is beeing sent or not...

I appreciate any help !
Greetings, Sebastian

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

Re: Instruments Panel: Button for pausing signal ?

Post by K.Wolf » Tue 7. May 2013, 12:03

Hi,

No, this is not possible without writing a macro, but you can run a macro with a button. In the button's properties, enter the name of the VBS macro procedure in the 'Execute Command' property.

But there is no predefined method in the Panel's object model you could call to start or stop the periodic sending.
If the periodic sending was started at least once by selecting the 'Start periodical Transmission' command in the right-click context menu, the panel has created a cyclic transmit message in the Transmit List. You can control the periodic sending only by manipulating exactly this transmit message.
You can identify the message in the "Creator" column, where it shows "Panel". If the periodic sending was not started before, you must create a periodic transmit message in the macro yourself.

sugarbeet_1
Posts: 2
Joined: Tue 7. May 2013, 10:01

Re: Instruments Panel: Button for pausing signal ?

Post by sugarbeet_1 » Tue 7. May 2013, 14:09

Thanks for that description.
I will try to do so...

Post Reply