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,181 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,161 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,159 Views)

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

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

Example: Single Point In Session with Termination Set ON

Message 5 of 5
(7,150 Views)