04-06-2006 10:07 AM
04-06-2006 10:45 AM
Venki, I noticed in your code that you have bypassed the output buffer while opening the serial ports: this could result in the serial port monitor to miss all outgoing messages if it's what it is doing is really monitoring the buffers of the two ports.
You could easily test if it's true by setting a positive value for output buffer when opening the ports and retest with the port monitor.
Just a blind try...
04-07-2006 01:57 AM
04-07-2006 02:13 AM
Is your problem regarding actual CVI program or the port monitor? In the second case I cannot help you since I never used this software.
Regarding CVI code, I noticed that you enabled software handshaking on the transmitting port (and not on the receiving one). Since you are transferring bynary data (this part of code comes from me
) software handshaking is dangerous: you ARE actually transmitting characters 0x11 and 0x13 which are XON and XOFF flags for handshaking so your routine may behave differently from what you expected. I suggest you avoid handshaking and for testing purposes rely only on reading and writing functions.
04-07-2006 02:40 AM
04-07-2006 05:38 AM
04-11-2006 04:52 AM
Roberto thanx.