LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP read missing first byte?

So what am I missing here? Very strange to me unless I am missing something.

Why am I not seeing the first character ":" in rawOut?

dataOut appears to be as expected. I do know first char is ":"

I am using LabVIEW 2020 64 bit on Windows 10.

 

_TestMan__0-1727972636556.png

 

0 Kudos
Message 1 of 5
(324 Views)

@_TestMan_ wrote:

So what am I missing here? Very strange to me unless I am missing something.

Why am I not seeing the first character ":" in rawOut?

dataOut appears to be as expected. I do know first char is ":"

I am using LabVIEW 2020 64 bit on Windows 10.

 

_TestMan__0-1727972636556.png

 


My guess is as good as yours since you have given zero context about what the data represent and what you are communicating with.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 5
(300 Views)

I don't think that information is relevant to the issue. I am receiving 13 bytes of data every 1.5 sec if that helps.

I am receiving the data, reading the data and displaying the data and I am seeing two different results from the same input (data).

0 Kudos
Message 3 of 5
(284 Views)

How about down converting your VI, uploading it here, and giving us example data to experiment with?

0 Kudos
Message 4 of 5
(276 Views)

You must be receiving two packets in quick succession. Create an array of the received raw data to confirm. Use standard mode instead of immediate to read the requested number of bytes.

See TCP Read help for details about the mode setting.

0 Kudos
Message 5 of 5
(271 Views)