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
Instruments Panel: Button for pausing signal ?
-
- Posts: 2
- Joined: Tue 7. May 2013, 10:01
Re: Instruments Panel: Button for pausing signal ?
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.
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.
-
- Posts: 2
- Joined: Tue 7. May 2013, 10:01
Re: Instruments Panel: Button for pausing signal ?
Thanks for that description.
I will try to do so...
I will try to do so...