The reason that you are having trouble sending this is because your data type is a pointer. When you send over the pointer in the structure, you are sending a memory address value. This address will point to the data5 on your sending machine but NOT on your receiving machine. The receiving machine may be using this memory address already or may have placed the data in a different memory location. Therefore, the pointer will no longer point to what you want it to point to.
To get around this, you will need to reference your data in a fashion other than using a pointer. You may want to send all of you data in an array instead. I am assuming that you were able to get the "char data4[20];" to work correctly.
Good Luck!
Mike Rakolta
National Instrument
s