Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Capturing video with IMAQ AVI2 over a myRIO access point.

So, I created a VI that could capture video. I was using a Logitech c270 and sending the data wireless using the myRIO as a access point. This worked well until I tried saving the video as a avi using IMAQ AVI2. I hard wired the selected path, on my hard drive, into the AVI create. Once running the VI, the error -1074396070 propagates after the AVI create with the possible reason stating unsupported function.

 

I did not get past AVI create block because of the error. I wanted to step through the program one block at a time. Also, I tried using a file dialog box for the selected path and an error would propagate, so I scrapped that Idea and went to hard wire the selected path.

 

Does anyone know if there is something obvious that is causing this issue?

Is there a work around to this issue?

 

My end goal is to transfer the video data wireless while saving as an AVI. The myRIO would act as an access point in this process. Any help on this would be great.

 

 

Labview 2015

myRIO 1900

 

Video VI.PNG

Video error.PNG

0 Kudos
Message 1 of 2
(4,185 Views)

Hello Josh_Roulow,


Unfortunately, the AVI functions are not supported on most Real-Time targets. The White paper below details which real-time targets support the AVI API.


AVI Codec Support with AVI2 in NI Vision Products


In addition, the forum post below discusses the same issue you are having in addition to a potential work-around.

myRIO saving Video Question:

https://forums.ni.com/t5/Academic-Hardware-Products-myDAQ/myRIO-saving-Video-Question/td-p/3150797

 

Regards, 

j_bou

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