06-21-2019 05:31 PM
Hi , I have a problem . I am struggle for two entire days . I am new to LabView and I can't figure out what I have to do when I occur the 5001 error when I am running the linx example. The first one with the Led it run ok , but the one with the temperature sensor dht11 linx doesn't . Is there anybody who can help me ? Thanks !
06-21-2019 06:01 PM
What linx example? What does error 5001 say? When I look it up, it is an undefined error.
If you attached your VI, we could see what you are doing and then be able to offer suggestions.
06-22-2019 04:43 AM
Hi , i attach images .. the first example run on the arduino uno but the second example i have the 5001 error.
Thank you .
12-11-2020 03:35 PM
Hi, have you found any solution for your problem? I m encountering the same but I can't seem to work it out.
12-12-2020 01:39 PM
Error 5001 is a "User-defined Error" (I'm not sure if that is the Official Name -- just a second while I look it up ...). If you open LabVIEW Help and search for Errors, you can find "Custom Error Codes", which says that codes -8999..-8000, 5000..9999, and 500000..599999 are available for Users to define for their own errors.
For example, you can have a Dialog Box that outputs "OK?" and returns a Boolean that, if False, you want to (programmatically) raise an Error. Use "Error Cluster from Error Code" (on the Dialog & User Interface palette) to create your own Error (be sure to help the User by making the "Message" clear).
Bob Schor
02-08-2021 08:53 AM
Hello, I have similar error (5001) for the same example with DHT11 (from LINX examples). Have you found any solution for this?
Regards,
Panayiota
02-08-2021 09:18 AM
These guys are all using the Digilent LINX package which uses the 5000+ LabVIEW user error codes for its errors. There is a Generate Error VI in the package which adds the Error Type enum to 5000 so, 5000 = Unknown, 5001 = Timeout, etc.
The timeouts you are all getting is most likely caused by your physical connection to the hardware but we really can't tell since you haven't posted any code examples or shown how you have your hardware hooked up.
02-16-2021 03:13 AM
Dear NIquist,
Thank you for your reply. What i used is a ready example VI the 'LINX-Interaction DHT11.vi'. I have changed the digital port from 29 to 2 as shown in the pic below, and while running the vi i got the error 5001 without any measured values. The COM port 11 is the one that the Arduino UNO is connected (i verified this from device manager) and here is, as well, the hardware i used (image below). Any help will be valuable, since i could not found a solution for similar issues.
Regards
03-05-2021 01:29 PM
I am also still having the exact same issue. Has anyone figured out a solution to this yet? I am just running that same example code, with the following setup:
07-31-2022 07:00 AM
Hi ikohli,
I am facing the same problem of error 5001 with DHT11 sensor. Have you found solution to this problem?