This is a follow up on a previous question "Problem setting serial buffer size on MAC?"
To describe the problem:
I initialize the serial port with the following settings[57600 baud, 8 data bits, 1 stop bit, no handshaking, no flow control, serial end in to none, serial end out to none, termination character enable to false] I then set both buffers using "VISA set I/O buffer size", flush both buffers and writes 25000 bytes to the port. The program waits and after that should read 25001 bytes (the echo plus one extra byte). However it does not matter how long I wait the buffer only contains 63 bytes before the read operation and is empty after that. The information that is read is the first 63 bytes
of the echo and not the last 62 plus the extra byte, the buffer does not seem to be overwritten. Furthermore the EXACT same VI works on a windows platform.
I also tested the serial communication on the mac by writing a similar program that uses the old serial communication VIs. This program works, that is if I wait long enough before the read ALL data is read back as it should be.
I can not find any explanation why
1) the VISA program works on windows but not on MAC
2) the other test program works on MAC but not the VISA program
(these are all just test VIs but they have been extensively checked, double checked, triple checked...)
HELP!!!!