Assigning a macro to toggle switch

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
fdhada@intenergy
Posts: 7
Joined: Tue 13. Mar 2012, 12:05

Assigning a macro to toggle switch

Post by fdhada@intenergy » Tue 13. Mar 2012, 12:43

I am trying to find an easier way to assign a macro to a toggle switch control in PCAN Explorer, so that I can send out a CAN message. I need a toggle switch as it will also indicate the message has been sent out.

If there are any suggestions, would appreciate it.

Thanks in advance,
Faisal.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Assigning a macro to toggle switch

Post by M.Maidhof » Tue 13. Mar 2012, 17:05

Hi,

only a button can be used to start a macro. To have an indiactor, you can generate an internal variable with the symboleditor and set the value of that variable with the macro which you have started with the button. You can use a LED to display the status of that internal variable than.

regards

Michael

fdhada@intenergy
Posts: 7
Joined: Tue 13. Mar 2012, 12:05

Re: Assigning a macro to toggle switch

Post by fdhada@intenergy » Tue 13. Mar 2012, 17:13

Thanks for your reply.

I have done this already - but thought there may be a way of doing my initial question.

Appreciate your speedy response, and thanks very much.

Faisal

Post Reply