Hi all,
I have an application requiring to control 2 CAN variables (in 2 different can messages) with the same potentiometer (used to control 2 motors at the same time with the same datas but different CAN IDs).
1/ Is it possible to do it within Instrument panel as there's only one signal available in the property field?
2/ In general, how can I "synchronize" (or trigger, even if they will be transmitted one one after the other) the transmission of 2 or more messages in PCAN Explorer?
Thanks for your help,
Laurent
Instrument Panel: Controlling 2 signals with 1 potentiometer
Re: Instrument Panel: Controlling 2 signals with 1 potentiom
Hi,
to set two signals with just one poti, you have to run a small macro in the background, which will set the signal values for the given poti value. Here a similar example to build a third signal out of two given signals:
http://www.peak-system.com/forum/viewto ... p=418#p421
In your case, you should use an internal variable for your poti, and set each 10ms the value of that internal variable to your 2 motor signals.
regards
Michael
to set two signals with just one poti, you have to run a small macro in the background, which will set the signal values for the given poti value. Here a similar example to build a third signal out of two given signals:
http://www.peak-system.com/forum/viewto ... p=418#p421
In your case, you should use an internal variable for your poti, and set each 10ms the value of that internal variable to your 2 motor signals.
regards
Michael