NI-700 ? UDP input buffer bug?
Joe Hebert
Posts: 2,159
in AMX Hardware
I have an application that is running on an NI-700 and it has a port open to listen for UDP messages. Whenever I broadcast a UDP message (from a PC) to the NI-700 everything over 256 bytes (from one message) is lost. If I change the protocol from UDP to TCP on the NI-700 and the PC application, then data over 256 bytes does not get lost and all the data gets buffered correctly. I don?t believe it?s any sort of UDP limitation because I broadcast UPD messages all the time in the PC world that are over 256 bytes in length.
Is there a UDP input buffer bug for the N-I700? (I hoping it?s only a bug and not an imposed limitation) The firmware off the master is the latest and greatest (v2.95.214.)
I haven?t tried this on the NI-2000, 3000 or 4000.
Thanks,
Joe
Is there a UDP input buffer bug for the N-I700? (I hoping it?s only a bug and not an imposed limitation) The firmware off the master is the latest and greatest (v2.95.214.)
I haven?t tried this on the NI-2000, 3000 or 4000.
Thanks,
Joe
0
Comments
While I was testing I also found that there is a 2012 byte TCP input buffer limit. This is confirmed by pushing button #2 which sends out a 2K message as both UDP and TCP. Again cUDPBuffer will increment by 256 bytes and cTCPBuffer will only increment by 2012 and not the expected(?) 2048.
The last entry in TN156 shows that the Ethernet input buffer length of the NXC-ME is 16000 bytes (at least that?s what I think it?s saying) Does that mean I should be able to buffer 16000 byte TCP or UDP messages?
Anyhow, I don?t know if the limitations I?m running across with the NI-700 are the same as the rest of the NI series. Would anyone care to try this code on an NI-700 or greater and confirm this?
Thanks in advance,
Joe
Here?s the code:
Jeff
Not sure if it falls under the same trouble ticket, but I seem to have my Multicast strings truncated after 2048 chars. Anybody able to listen to a UDP server using "IP_MC_SERVER_OPEN" and retrieve strings exceeding 2048 bytes?
>>> Using NI200, fw 3.05.430