LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NI-CAN to achieve UDS 3E(Keep Session) service

Hello  Everyone

 

    Since I have find the 3E Service in X-NEXT UDS module which amed "Tester Present ". But Unfortunately ,the plateform we use for CAN communication is NI-CAN. I can not find the way to achieve UDS 3E (KEEP Session) Service. I will appreciate for your help.

Download All
0 Kudos
Message 1 of 3
(2,154 Views)

Hi Robert_Chang,

 

I would post your question at the more focused discussion forum below to get proper eyes on your question:

AUTOMOTIVE AND EMBEDDED NETWORKS

https://forums.ni.com/t5/Automotive-and-Embedded-Networks/bd-p/30

Jiwhan S.
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,094 Views)

when i send tester present signal on can_uds i am facing this error 

File "c:\Users\bgavekar\Downloads\Test_1.py", line 111, in <module>
TesterPresent = a.send([0x3E, 0x00])
File "C:\Users\bgavekar\Anaconda3\lib\site-packages\uds\uds_communications\Uds\Uds.py", line 140, in send
response = self.tp.recv(self.__P2_CAN_Client)
File "C:\Users\bgavekar\Anaconda3\lib\site-packages\uds\uds_communications\TransportProtocols\Can\CanTp.py", line 340, in recv
raise Exception("Timeout in waiting for message")
Exception: Timeout in waiting for message
give me suggestion

 

thanks in advance 

0 Kudos
Message 3 of 3
(723 Views)