Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Meaning of flag 50(hex) at the raw frame format

Hy,

 

I'm using NI-XNET, with c++ at QT environment, OS: Windows 7.

 

After I'm reading a frame from specific session, I'm trying to figure out from the raw data if a new data arrived.

I noticed that I get flag value of 50(hex) when no new data arrived.

What is the meaning of that flag?

 

Thanks for advance,

Aviad

0 Kudos
Message 1 of 6
(6,839 Views)

Hello aviadCielo,

 

If you're using the raw data format, you should check out the XNET Hardware and Software Manual:

http://www.ni.com/pdf/manuals/372840e.pdf

See page 4-537 for info on what the raw format looks like.

 

But if you're just trying to make sure you only read each frame once, you might just want to use Frame Input Queued mode (see page 4-15 of the manual).

Colden
0 Kudos
Message 2 of 6
(6,828 Views)

Thanks for the replay!

 

Of course I read the manual before asking my question, but I do not find something about the specific flag 50(hex).

I'm polling all data from the network, and use 'StreamIn'.

 

Thanks again,

Aviad

0 Kudos
Message 3 of 6
(6,820 Views)

What hardware?

0 Kudos
Message 4 of 6
(6,817 Views)

NI PCI-8512

0 Kudos
Message 5 of 6
(6,815 Views)

Can you post an NI I/O Trace capture? I am not seeing it on my test setup.

0 Kudos
Message 6 of 6
(6,811 Views)