LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Restarts my PC when used for serial interface

Solved!
Go to solution

Hello,

I am using the Countinuous Serial Read Write example and other simple programs to read data from Arduino Board but i am facing a serious problem that my PC restarts wih Blue Screen when reading data from Arduino for 5 mins.

I dont know the reason and tried various solutions including adding the Byte Count at Serial Port to connect with the Read Serial VI.

Kindly guide me what could be the possible reason for this problem.

Regards

0 Kudos
Message 1 of 5
(3,185 Views)

Are you using a USB to Serial adapter?

 

My experience is that the drivers for many of these are very flaky and lead to bluescreens. I believe my problems were related to Prolific drivers. There are more expensive adapters from FTDI that work much better.



CLA
www.dvel.se
0 Kudos
Message 2 of 5
(3,154 Views)
Solution
Accepted by topic author Abuzar

I've had this problem too - my PC would crash on average about once per day when logging data from an Arduino.

Someone on these forums suggested setting the VISA read to synchronous rather than asynchronous. Right-click in the VISA read and select "Synchronous I/O Mode" > "Synchronous".

I tried this and it seem to have worked - I haven't had a crash for about a month now. I have no idea why this would make any difference but it seems to.

0 Kudos
Message 3 of 5
(3,064 Views)
I have had problems with Prolific USB to serial too. I only use FTDI now and have no issues.
0 Kudos
Message 4 of 5
(3,046 Views)

I have connected the arduino directly with computer using it own USB Port.

I am now trying the Synchronous mode now and uptill now its working correctly.

So thanks to all of you for taking time and proposing a workable solution.

 

0 Kudos
Message 5 of 5
(2,997 Views)