Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

AVI Codec for NI CVS-1458RT

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

0 Kudos
Message 1 of 6
(4,949 Views)

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

0 Kudos
Message 2 of 6
(4,871 Views)

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

0 Kudos
Message 3 of 6
(4,866 Views)

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

0 Kudos
Message 4 of 6
(4,850 Views)

Sure, but what would be the format of data that is sent from CVS to the Windows PC?

0 Kudos
Message 5 of 6
(4,839 Views)

Hi SoheyIV,

 

At the root of it I believe it is TCP/IP packets, but maybe I'm not understanding your question.

 

- Kale

0 Kudos
Message 6 of 6
(4,812 Views)