Send message in macro VBS
Posted: Thu 5. Sep 2019, 10:09
Hello,
I have a problem with VBS macro, for send data with multiplexers not have a problem like :
It's okay! But send data without multiplexers like that:
Does not work. I can't find an example or explanation in the documentation. I suppose that some methods are used depending on the class but I don't see where to find this class...
Thank you for your help,
Paul
PS my SymbolsManager :
I have a problem with VBS macro, for send data with multiplexers not have a problem like :
Code: Select all
Sub Send_TestMux()
Dim sym
Set sym = SymbolsManager("Ctrl").Item("TestMux")
sym.Multiplexers("Multiplexer1").Send(1)
End Sub
Code: Select all
Sub Send_TestNoMux()
Dim sym
Set sym = SymbolsManager("Ctrl").Item("TestNoMux")
sym.Send(1)
End Sub
Thank you for your help,
Paul
PS my SymbolsManager :
Code: Select all
[TestMux]
ID=000h
DLC=1
Mux=Multiplexer1 0,0 0
Var=Toto unsigned 0,8
[TestNoMux]
ID=001h
DLC=1
Var=TotoNoMux unsigned 0,1