04-10-2019 06:18 AM
Hi! Im begginer with labview and arduino. I am trying to make a project for my University with arduino uno. So, as you can see in the screenshot below, program doesnt run normally. Current goin only until there and cant get through to the loop. I also tried to make the circuit simple so I remove the loop but problem still there. Anyone any help?
Thanks in advance.
04-10-2019 06:49 AM
Actually, that is not called a "circuit". (That term is for something with electricity flowing through wires.) It is a block diagram.
The problem is that it is stuck in the first subVI where you start establishing communication with the Arduino. Have you allowed it to run long enough? At least 10 seconds, which is the default timeout for VISA serial communication? My guess is that the subVI is hanging up trying to establish communication and would return a timeout error after 10 seconds.
You need to look into that subVI, assuming it is not password protected, to see where it is hung up in there.
04-10-2019 06:58 AM
Thank you for your reply! How can I look into the subVI? What sould I do? Sorry but it is my first project so...
04-10-2019 07:22 AM
Double click on it!
Have you taken any LabVIEW tutorials?
04-10-2019 10:37 AM
Yes I've done this before but I didn't find anything strange. Check it on too!
Thanks.
04-10-2019 10:48 AM
@sille10 wrote:
Yes I've done this before but I didn't find anything strange. Check it on too!
Thanks.
Did you try opening the block diagram of the Init VI and turn on highlight execution there? You simply need to dig into the hierarchy of VIs until you find exactly where the hangup is. Then we can can start to figure out how to correct it.
04-10-2019 11:56 AM
And this is where taking those tutorials come in handy!
04-10-2019 12:05 PM
So, the problem solved but an 5003 error happened...
04-10-2019 01:07 PM - edited 04-10-2019 01:33 PM
@sille10 wrote:
So, the problem solved but an 5003 error happened...
That sounds like a problem ... 🙂
Also, next time pick a useful subject line. Since this is the LabVIEW forum, ~100% of all posts deal with a "Labview issue" one way or another. Picking a good subject line eliminates ambiguities and dramatically increases the chance that somebody actually reads your post.
04-10-2019 01:13 PM
@altenbach wrote:
@sille10 wrote:
So, the problem solved but an 5003 error happened...
That sounds like a problem ... 🙂
5003 is in the User defined error range so you will have to find that text in the code.
Do a search on the text "5003".
Ben