LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial.println read with LabVIEW --- Bluescreen

Hi

I have following problem:

I send with the arduino via “Serial.println” a increasing long number. If I read it with the Serial Monitor form the Arduino SDK is everything 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.

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:


serial_bluescreen.png

Have you any Idea where the Problem can be?

Thanks alot.

Manuel Keel

0 Kudos
Message 1 of 8
(6,431 Views)

Is there a reason you are not using LIFA (LabVIEW Interface for Arduino) for which this section is named?  Just curious.

0 Kudos
Message 2 of 8
(4,178 Views)

hi Nathan_B

Thanks for your answer. yes there is a reason: I need the arduino as a SPI slave to read a 32Bit long number, in the LIFA is the arduino just as a SPI master implemented. I tryed to expend the LIFA with this function(SPI Slave) but it did not work.

 

that is why i used the arduino without the LIFA.

 

have you a idea why it not work?

 

thanks

 

manuel

0 Kudos
Message 3 of 8
(4,178 Views)

That's a good reason to not use LIFA .

I would recommend posting in the NI Discussion Forums since your issue is not with LIFA and the fact that there are more NI engineers that browse those forums.  Since it you are using VISA as the primary communication method, I would suggest posting in the "Instrument Control (GPIB, Serial, VISA, IVI)" section.

Good luck!

0 Kudos
Message 4 of 8
(4,178 Views)
0 Kudos
Message 5 of 8
(4,178 Views)

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!

0 Kudos
Message 6 of 8
(4,178 Views)

A bluescreen typically means a hardware / driver error has occurred.  NI-VISA is the driver that LabVIEW uses to talk to serial hardware.  I agree that updating to the latest version of VISA is a good first step.

-Sam K

LIFA Developer

0 Kudos
Message 7 of 8
(4,178 Views)

Did anyone find a solution for this problem.

I have the same problem with the recent drivers.

0 Kudos
Message 8 of 8
(4,178 Views)