Send a message only one time

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
Fabrice2
Posts: 2
Joined: Wed 11. Mar 2015, 07:45

Send a message only one time

Post by Fabrice2 » Tue 19. May 2015, 07:30

Hello,

I would like to know how sending a message only one time.
I'm using this kind of command:
signals("PART1").Source.AutoTransmit = true
signals("PART2").Source.AutoTransmit = true
signals("PART1").value = &H05BC2EFD
signals("PART2").value = nb_DID
signals("PART1").Source.AutoTransmit = false
signals("PART2").Source.AutoTransmit = false
But the message could be sent twice in this case. Do you have a command to send only one time a message ?
Moreover, it happens that the PART1 of the sent message is correct but the second part of the message (PART2) is not at the right value (it is at the previous value, not yet actualized).

Thanks in advance for your help,

FL

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Send a message only one time

Post by PEAK-Support » Wed 20. May 2015, 14:26

Without the rest of the macro , it´s hard to give you support:
How are the signals defined? Are they sheduled? Are they defined as send and recive ?
Why do you set Autotransmit to true? and later back to false?

please see here and here
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply