Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug & release

Hallo,
 
I'm in trouble with sending CAN-Message to servo-controllers (Lust).  In debug -mode all works fine, but in release it seem's that there some leaks in the message.
I've already added some delays between send-orders, but it doesn't help.
the CAN is a USB-adapter from PEAK.
 
1. Does CVI make some changes as I include the peak.dll (included in my project) from debug to release?
2. Is there some alternative of using the Delay-Command in windows?.
 
greetings
 
F.A.
 
 
 
0 Kudos
Message 1 of 3
(3,704 Views)

Hi franky,

i don't know exactly what you mean with the statement "leaks in the message"...

Is there nonsense within the message? If yes then it could be a problem of a variable which isn't initialized! This could be a difference in debug & release mode!

regards, ThSa

0 Kudos
Message 2 of 3
(3,657 Views)

Thank you very much

it was indeed an uninitialized Value auf a local part of a struct (which is not displayed as a warning)

greets franky

 

 

0 Kudos
Message 3 of 3
(3,645 Views)