Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Code only run for one second

When I am running the sample code for the DC motor, the code can read input and position. When I try to run the code, DC motor can only run for 1 second and then the controller will restart itself. 

How can I fix this problem? I am using KNR with myRio controller and using Labview to code my program. 

I tried to google on how to fix this error through this website (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Pp1SAE&l=en-MY) but I still can't solve this error.

1.PNG

0 Kudos
Message 1 of 2
(2,469 Views)

Hi,

Did you try any other codes in myRio controller, using Labview?

bhovhann
0 Kudos
Message 2 of 2
(2,392 Views)