LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

detect XNET single-point CAN timeout

Solved!
Go to solution

Hello,

 

I have implemented a CAN communication via XNET Signal Single-point settings.

 

I need to detect a timout on the CAN-Line if one bus-paticipant is not active any more. I found this possibility for FRAME CAN settings, but not for signal single-point.

 

How can I implement this timeout notification?

 

Thank you very much,

 

        Magnus

0 Kudos
Message 1 of 2
(3,227 Views)
Solution
Accepted by topic author M.Riede

Hello Magnus,

 

first of all I would like to recommend the "Signal Input Single-Point Mode" in the XNET Help (first link in the XNET Read (Signal Single-Point).vi help article) for a deeper understanding of the functionality.

 

If you would like to implement a timeout check, you could use the "XNET Read (Signal XY).vi" function, so you get a timestamp delivered. When you poll that you can build a time difference.

 

Best regards,

Christoph

Staff Applications Engineer
National Instruments
Certified LabVIEW Developer (CLD), Certified LabVIEW Embedded Systems Developer (CLED)


Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved
Message 2 of 2
(3,184 Views)