Sending a symbol (CAN message) periodically from a VBScript?
Posted: Mon 8. Jun 2015, 13:25
How do I send a symbol (CAN message) periodically from a VBScript? I want the message to be sent from a PCAN USB device and I want to use a database file instead of raw CAN-ids and values.
Dim sig1, sig2
Set sig1 = Signals("Foo.Speed")
Set sig2 = Signals("Foo.Heading")
sig1.Value = 1 ' m/s
sig2.Value = 0.5 ' rad
' ??. Here is when I want to send this periodically with 100ms on a PCAN USB device.
Dim sig1, sig2
Set sig1 = Signals("Foo.Speed")
Set sig2 = Signals("Foo.Heading")
sig1.Value = 1 ' m/s
sig2.Value = 0.5 ' rad
' ??. Here is when I want to send this periodically with 100ms on a PCAN USB device.