Horizontal slide value problem and Change bus number in .xmt

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
Lufyoooo
Posts: 3
Joined: Mon 4. Mar 2013, 12:43

Horizontal slide value problem and Change bus number in .xmt

Post by Lufyoooo » Tue 5. Mar 2013, 09:47

Hi,

I have problem with panel using "horizontal slider" it didn't give the correct value,

I use "Horizontal slider" , "Rocker switch"


In horizontal slider I put the range between 1,2,3 and I give the horizontal slider signal "bus_number"
in Rocker switch if I clicked and give green color (value is 1) and grey color( value is 0)

so

I make the if statement in macro file

if bus_number.value = 2 and myRocketswitchsignal.value = 1
document.open("Mydocument")

when the busnumber still at "1" , I still could open the doc "Mydocument"

The Horizontal slide didn't give the correct value ,
and the Rocker switch gave the correct value.

so the Rocker switch is ok.

The problem Horizontal slide not only gave wrong value,

another are , I have 3 horizontal slide ,

I change First horizontal slide value from 1 to 2,
when I change the second horizontal slide from 1 to 2 , the first horizontal slide bar returned to 1, (so it's not good, the first horizontal should stay at position 2 not moving by itself when I change another horzontal slide)


do you have the same problem with using horizontal slide ? is there any solution for this?



I have one more question ,
I have 1 transmit list with bus number 1 , I want to change all the bus number to 2.

Do you know how to change the bus number from 1 to 2 in transmit list by using macro code?


Thank you so much.

K.Wolf
Software Development
Software Development
Posts: 141
Joined: Wed 22. Sep 2010, 15:37

Re: Horizontal slide value problem and Change bus number in

Post by K.Wolf » Tue 5. Mar 2013, 16:41

Hi,

to give you further product support, please send us your PCAN-Explorer 5 License ID and company name to support@peak-system.com

Thank you.

Post Reply