From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-xNET CAN interface Queued/Single Point/Stream

Solved!
Go to solution

Hi guys, I want to write a known frame on the Bus 1 time an directly after want to read a frame with a known Identifier. But only that frame, so no other received frames in that time.

 

What is the best way or only way?

0 Kudos
Message 1 of 5
(7,170 Views)

I found out its best to use a Queued session with an Eventframe. I specified a cluster and a frame in the database editor but I cant see how to fit in the termination? I tried to put the termination afterwards in the 'session node' but this give me an error 'The session is already started, impossible to add the termination now'.

 

How can I add the termination in the database?

0 Kudos
Message 2 of 5
(7,150 Views)

you cannot set termination in the Cluster of the database. This is a Session property you need to set before you start the session or the first Read/Write call.

 

So do CreateSession, then set the Termination then Start the Session. If you need an example let me know

0 Kudos
Message 3 of 5
(7,148 Views)

Hi Gibson, yez, a sample will be helpful. Great Tnx!

0 Kudos
Message 4 of 5
(7,146 Views)
Solution
Accepted by topic author JoVMo

Example: Single Point In Session with Termination Set ON

Message 5 of 5
(7,139 Views)