07-18-2012 01:32 AM
Solved! Go to Solution.
07-18-2012 01:51 AM
The format for the name of images doesn't change anything to your problem, LabVIEW can interpret the yyyy-MM-dd_hh-mm-ss.fffffff.bmp format so no issue here.
Reading images from disk, images that were save to disk by the camera, that doesn't sounds like the best idea to me ; it will probably work but not sure you will be able to display at 30Hz live (that will depend a lot on the size of your images). Maybe you could just get LabVIEW to load and display the most recent images saved at the rate you can. but that will use a lot of disk access.
What is you camera? What's the size and bit depth of you images?
If you have VDM (Vision Development Module) you can acquire images from your camera, and then you wouldn't have to get the camera to save to disk and your LabVIEW app to read from disk...
Hope this helps
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
07-18-2012 01:59 AM
The problem of accessing the camera directly was already discussed on this forum, and unfortunately there is no chance to use LabView to read images directly from this camera. Images are not so big, 140x240pixels, with 8-bit depth.
07-18-2012 02:18 AM
Oh... ok.
Then you should be able to achieve that. Do you need help for the implementation?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
07-18-2012 04:18 AM
I am not sure how to implement the filename format, because I think I should take the current data/time from a system but with some delay. If you have any suggestions I would be very grateful.
07-18-2012 04:31 AM
Here's a quick example, hope it helps.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
07-18-2012 04:37 AM
I'll try it. What is the name of the main block you've used ?
07-18-2012 04:38 AM
"scan from string" located in the string palette.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
07-18-2012 05:31 AM
I probably didn't get the point of using this example. I understand the format, the time stamp as an initial value, but don't really get the input string. I understand, that this should be the filename? If so, how should I iterate the filename automatically?
07-18-2012 05:56 AM
Well, in fact you dont even need that... you merely need to get the list of file that are in your folder, sorting alphabetically the file name string array should let you pick the most recent file.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus