11-09-2009 02:34 PM
11-10-2009 01:49 PM
Hi Majoris,
My IMAQ AVI Get Filter Names also takes about 5 seconds to run--and this is expected. The VI must poll the computer itself for information to retrieve these various filter names,which depending on your computer can take time. If you need to run this VI at the beginning of your program and do not want to wait, I'd recommend saving the results to a text file and pulling the filter names from there.
If you choose not to use the VI, you can also get the codecs' information from the Control Panel:
Sounds and Audio Devices> Hardware>Video Codecs>Properties>Properties Tab will list the Codecs that you have on your computer. Exploring the Settings of these should yield the same results. However, I don't think that this effort is worth the 5 seconds wait.
Cheers,
11-10-2009 05:13 PM
Well, we're just two different people. Regardless of where I put this VI in my program, it hangs the entire program when it's encountered. If it just took 5 seconds to run, that would be fine. But 5 seconds to run while the rest of the program has a seizure is something I want to avoid. For now, I've decided just to take the result of one run (which I pipe into string ring selector) and turned that into a constant that I later manipulate.
It's so weird that in a program where I push and manipulate 100s of MBs of data a second, the slowest part of the program is reading an 8 entry long array of strings from the system.
Thanks for the help,
Chris
12-13-2009 05:44 PM
12-14-2009 09:25 AM
Hi,
Which codec in particular isn't showing up? Does it show up in your list of codecs on your computer (within Control Panel)?
Regards,