LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 5001 Labview

Since error 5001 is simply a timeout it is quite possible that all you guys have different problems.  There are many things that would cause the Arduino to send nothing back to the LabVIEW code on your PC.

 

What have you tried to narrow it down???

 

1)  Are you sure your sensor even works?  Monitor the output signal and breathe on it.

2)  Did you check the wiring between sensor and Arduino?  Ohm it out.

3)  Is the Arduino working?  Can you verify communication to the PC?

4)  Have you probed or used Highlight Execution to see where the error is thrown in your LabVIEW code?

 

Check these things and then either your problem will be obvious and easy to fix or at least you will have the proper info to ask a valid question so we can help.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 11 of 14
(872 Views)

SigmaPJ_0-1683617319557.png

I am facing the same problem.
When I use the DHT11 module routine, I get error5001; however, when I use other modules, such as photocell module, Arduino Uno and the host computer can communicate normally and the program can run normally; I quit LINX and just use the IDE of Aruino Uno to burn a section of the DHT11, and the serial port monitoring received the correct temperature and humidity information; I think the routine here is probably wrong.

If anyone can find this error, I would be very grateful if you could contact me! I am a student from China

0 Kudos
Message 12 of 14
(638 Views)

Hi PJ,

 


@SigmaPJ wrote:

I quit LINX and just use the IDE of Aruino Uno to


I think that is the best option you could use!

Get rid of LINX and do all the important stuff in the ArduinoIDE, then just communicate between computer/LabVIEW and Arduino using the (virtual) serial port…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 14
(636 Views)

Hi Sig,

Try reinstalling Linx, and see if you still have the same problem. I think I've had error 5001 before. I wasn't using DHT11 though. reinstalling Linx will probably solve the problem. Try it and let us know. 

0 Kudos
Message 14 of 14
(603 Views)