Page 1 of 1
Assigning a macro to toggle switch
Posted: Tue 13. Mar 2012, 12:43
by fdhada@intenergy
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.
Re: Assigning a macro to toggle switch
Posted: Tue 13. Mar 2012, 17:05
by M.Maidhof
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
Re: Assigning a macro to toggle switch
Posted: Tue 13. Mar 2012, 17:13
by fdhada@intenergy
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