From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-06-2013 04:59 PM
I have following problem:
I send with the arduino via “Serial.println” a increasing long number 32Bit. If I read it with the Serial Monitor form the Arduino SDK is everything working perfect.
If I read it with LabVIEW I have a blue screen after 5-20 min. At the moment I haven’t no idea where the problem to search.
PS: I can't using the LIFA because i need the Arduino as a SPI Slave interface.
Windows Error description:
Problemsignatur:
Problemereignisname: BlueScreen
Betriebsystemversion: 6.1.7601.2.1.0.256.48
Gebietsschema-ID: 2055
Zusatzinformationen zum Problem:
BCCode: d1
BCP1: 00000000000000B8
BCP2: 0000000000000002
BCP3: 0000000000000000
BCP4: FFFFF880087E2161
OS Version: 6_1_7601
Service Pack: 1_0
Product: 256_1
Dateien, die bei der Beschreibung des Problems hilfreich sind:
C:\Windows\Minidump\070413-11029-01.dmp
C:\Users\Manuel\AppData\Local\Temp\WER-508485-0.sysdata.xml
LabVIEW program:
Have you any Idea where the Problem can be?
Thanks alot.
Manuel Keel
07-07-2013 12:04 PM - edited 07-07-2013 12:04 PM
Don't you want to read the property "Bytes at Port" instead of "Data Bits". (You have "data bits" configured as 8 on the left, so this seems a very uninteresting property to read. ;))
09-05-2013 05:53 AM
Hi, I had the same problem, and I solved It reinstalling the last version of NI-Visa and installing the packet "Labview Interface for arduino" with "VI Package manager"
Good luck!
12-03-2014 01:14 AM
Any luck on finding a solution for this?
12-03-2014 05:50 AM
Like Christian Altenbach I say that you need anothe function namely bytes at port.
Now you are probably asking too much bytes and I already have a corrective action request (CAR number I have to lookup) for such a blue screen with Arduino serial communication.
I found a workaround by not asking more bytes than are available where I originally relied on a defined endcharacter. I proofed that this crashes windows on several machines and operating systems so I blamed NI but got not the feedback until now that it is reproduced or solved.
I have another Arduino project in which a customer reported a crash last Monday so I really would like to work together to find a solution.
12-03-2014 06:12 AM
Thanks alot Albert!
I will inform about the results soon, as i have 3 pc's running which fail daily. 🙂
12-17-2014 09:45 AM
Cool! The blue screen disapeared. 🙂 Thanks for helping.
12-17-2014 10:11 AM
I'm glad you got it to work for you. I'm still confused as to why everyone is using bytes at port when:
Prints data to the serial port as human-readable ASCII text followed by a carriage return character (ASCII 13, or '\r') and a newline character (ASCII 10, or '\n'). This command takes the same forms as Serial.print().
It seems to me that we'd want to use the newline character. Am I missing something?
Reference: http://arduino.cc/en/Serial/Println
12-17-2014 02:34 PM
12-17-2014 05:26 PM
Dang, I should have read your post with an eye toward more detail. Sorry about that Mr. Geven. I might have to take a look at the sketches/vi's used for LIFA and LINX and see what method they are using.
Arduino aside I wonder if this is affecting other apps using the serial port...Instrument Drivers etc.
This could get really ugly.
Didn't mean to hijack this thread.