04-01-2015 03:28 AM
I am pretty new with Labview and find that serial port control is real hard thing on Labview and I couldn't tell what is going wrong.
I keep getting weird output from the PC Serial Port (It works intermittently). And I couldn't see any problem running with hyperterminal.
Then after that i found that it works fine if I will just connect it to a USB to serial port converter.
PC OS: Windows 7 Enterprise 32bit
The problem did not end here. I then need to run the same software on another PC but a Windows 7 Profressional 64 bit. I am getting both PC serial port & USB to serial port converter into trouble. Both ports getting weird output this time and again both ports confirms to work on hyperterminal. .
I then reformat the PC to Windows 7 Enterprise 64bit; PC serial port still outputing weird output and USB to RS232 works intermittently. It is now having wrong input feed:
Example: input: "i am fine"; it turns out input feed as "i Am fine" or "a am fine" (I am monitoring RS23 activity on serial port monitor)
Does anything else i can do to solve the problem? I am looking all over the place and compiled the code with SSE2 disabled but it doesn't looks like do any help too.
Please help!!!
04-01-2015 03:40 AM
Try the read/write with attached program: Serial Port Test
I'm pretty sure it will work and you will find an error in your vi's :manhappy:
sorry to hear you started reformatting, that's a bit drastic
Don't forget the NI VISA Runtime if you are trying executables on different pc's.
Good luck!
04-01-2015 07:02 AM
It definately sounds like some programming errors. If you can share your code, I'm sure we can help you find your issues.