08-12-2015 12:37 PM
Hi,
In a part of a VI, I'm trying to write grabbed frames to an avi file. When developing on a Windows machine, I use the IMAQ AVI2 Get Codec Names.vi to get a list of available codecs and use the first one. However, this VI is not supported on real-time CVS units. What should I use for the avi codec name in this case?
Thanks
08-13-2015 09:39 AM
Hi SoheyIV,
IMAQ AVI2 Get Codec Names VI finds the compatible AVI compression codecs currently installed on the computer. In this case the CVS-1459RT runs Linux 64-bit for which NI does not currently have codecs. It may be possible to do an alternative by having a Windows VI with the AVI functions interacting with the RT target.
Kale
Applications Engineer
National Instruments
08-13-2015 01:04 PM
Thank you Kale for your answer.
Yes, I figured out that the avi functionality is not available on CVS products, which is a real bummer. Can you explain more about using a Windows VI to interact with the RT target?
Thanks
08-14-2015 08:33 AM
It would be similar to using any Real-Time target such as a cRIO to interact with a host computer. Below I've attached the cRIO Developers Guide. Chapter 4 is on Network Communication which I believe will be helpful.
http://www.ni.com/pdf/products/us/fullcriodevguide.pdf
I hope this helps!
- Kale
08-14-2015 01:20 PM
Sure, but what would be the format of data that is sent from CVS to the Windows PC?
08-17-2015 09:25 AM
Hi SoheyIV,
At the root of it I believe it is TCP/IP packets, but maybe I'm not understanding your question.
- Kale