03-02-2016 01:50 PM
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
03-03-2016
11:07 AM
- last edited on
01-04-2024
09:40 AM
by
migration-bot
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