VBS function with parameters from Instruments Panel

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
hbeyer
Posts: 2
Joined: Thu 30. Mar 2017, 18:47

VBS function with parameters from Instruments Panel

Post by hbeyer » Thu 30. Mar 2017, 18:52

Hello,

is it possible to call a function with values from e.g. the valueEdit panel?
We have a 2d matrix with 150 Elements and want to send a can message (ID: 0x501) with the value AND the position in the matrix (x,y).

It would also be okay when we can retrieve the caller / the button which wants to send the value. In that case we could encode the x,y-values in the name of the button / valueEdit panel.
Is it possible to obtain the caller-object when the sub is executed?

best regards,
H. Beyer

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: VBS function with parameters from Instruments Panel

Post by PEAK-Support » Mon 3. Apr 2017, 11:43

The Panel Edit fields could "only" change Signals (real CAN Signal´s, or virtuell Signals).
You could use to change a state in your state machine loop of your main VB-Script to call functions, but could not call it directly from the Label/Set Button.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply