Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO standalone application not working, but works well when connected to PC (NI vision + webcam)

Hi,

 

I have a program that can detect motion that occurs in my room using a webcam and will send a picture to my gmail account if motion detected. The program works fine when myRIO is connecting to PC (with the webcam connects to myRIO). However, after I created a standalone application, it's not working. Even the VIs within the first frame of the flat sequence (turn LED on) was not working. The standalone program will work if I disable all of the vision-related VIs. Any suggestions? Thanks!

 

error.png

 I got the driver installed and the webcam connected, so that shouldn't be an issue.

 

cam.png

 

Thanks in advance.

 

-Robin

0 Kudos
Message 1 of 4
(5,363 Views)

Hi robin1152,

 

I have a very similar issue...could you please give any update on this?

 

Thanks a lot

0 Kudos
Message 2 of 4
(4,582 Views)

Hi guys,

 

First thing that comes to mind is that robin is using a USB 2.0 camera, which may or may not work with myRIO. Looks like robin is using a UVC compliant camera, which should work.

 

You guys should also check the myRIO troubleshooting guide: https://decibel.ni.com/content/docs/DOC-30345

 

I would also ensure that the Vision software is installed on the myRIO as well as on the computer. You can find out how to install software on your myRIO here.

 

Also, ensure you are following the directions in the myRIO help file on acquiring images.

 

In my search for good resources to post, I found another forum post. It includes screenshots of how the software and camera should appear on the myRIO target in MAX. 

 

Finally, Seitseman, if this post is not enough to help, you may try creating a new thread or finding another similar more active/recent thread to post on.

 

Cheers,

Michael

 

Michael Bilyk
Former NI Software Engineer (IT)
0 Kudos
Message 3 of 4
(4,559 Views)

Hi AgentAstronaut,

 

Thank you very much!

I created a new thread, you people are great replying so quickly.

 

Seitseman

0 Kudos
Message 4 of 4
(4,552 Views)