Reading latest signal-values by macro
Posted: Thu 14. Mar 2013, 16:59
Hello,
Currently, I am reading the latest message value by using: which parses through the entire received messages buffer, which is quite slow.
1. Is there another way (macro?) to receive the latest message signal information only?
I am using Set msgs = trc.Messages.FindSymbol(sym) to link the new messages each time. (this could may be the cause of the delays)
2. Is it also possible during 'live' mode, i.e. when a connection is made using Connections.ReceiveMessages?
Currently, I am reading the latest message value by using:
Code: Select all
signal_name.MessageToValue(msgs(msgs.Count-1))
1. Is there another way (macro?) to receive the latest message signal information only?
I am using Set msgs = trc.Messages.FindSymbol(sym) to link the new messages each time. (this could may be the cause of the delays)
2. Is it also possible during 'live' mode, i.e. when a connection is made using Connections.ReceiveMessages?