Hey Remenakb,
Something we could do to troubleshoot this issue is use NI-SPY. To start NI-Spy, just go to Start->Programs->National Instruments->NI-Spy. When you run NI-SPY, it will show all the commands being sent to the dll, and all the parameters being passed.
What I'd take a look into is for the command ibrd(message) and check that the message is coming in the correct order. I suspect that it's probably coming in the correct order. and it may be somewhere else in your program that the words are getting jumbled up.
The second thing I would recommend, is instead of writing to a file, just write to a single indicator, and analyze if some of the packets are coming as a group of two (You may be able to verify this in NI-SPY)
Can you let me know if these two strategies help?
Good luck,
Nick D.