It was, actually, very easy.
Thanks for the quick answer K.Wolf.
Search found 2 matches
- Wed 20. Sep 2017, 12:01
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: VBScript: CAN signals with the same name
- Replies: 2
- Views: 4819
- Mon 18. Sep 2017, 14:36
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: VBScript: CAN signals with the same name
- Replies: 2
- Views: 4819
VBScript: CAN signals with the same name
Hello.
I'm writing a very siple VBScript that given the value of a CAN signal copies this value into another signal.
Normally, whit two signals with different names I do as follows:
Sub Example()
dim sig1, sig2
set sig1=Signals("VAR1")
set sig2=Signals("VAR2")
While true
sig1.Value = sig2.Value ...
I'm writing a very siple VBScript that given the value of a CAN signal copies this value into another signal.
Normally, whit two signals with different names I do as follows:
Sub Example()
dim sig1, sig2
set sig1=Signals("VAR1")
set sig2=Signals("VAR2")
While true
sig1.Value = sig2.Value ...