05-07-2014 02:11 AM
Hello folks!
I am planing to use a picture ring with a quite big amount of data needed.
My question: is there a maximum data size that i can embed in a picture ring (number of pictures or overall file sizes)?
Thanks!
05-13-2014 10:04 AM
I couldn´t find a definition of a maximum size just this.
http://digital.ni.com/public.nsf/allkb/00736861C29ADFB786256D120079D119
I don´t think there´s a maximum size of the pictures, propably the maximum size is limited but there´s no documentation about that.
Maybe you should try it, you can just get an error.
greetz,
Timo
05-14-2014 02:02 AM
ok.
Thanks for you reply!
05-14-2014 01:16 PM
The default datatype of a picture ring is U16, so the maximum number of pictures would be 2^16 = 65536. You can change that to larger sizes. Probably the other limit is that available memory for the images.
Managing the data will likely become a challenge before you run out of memory. Trying to read 64K files of images to load into the ring might take some time.
Lynn
05-15-2014 12:52 AM
Well fortunatly i don't have that many images
I have "only" 400 pictures and managing them is already all work and no play!
Thanks for your reply
05-15-2014 01:28 PM
If you have enough memory to keep all the images open simultaneously, then something like this might help. Put all your images in the same directory on disk and have no other files in that directory. Then use List Folder from the Advanced File palette to get an aaray of the filenames. Feed that array to a for loop where you open all the files and place the images into the pict ring. I have written a "slide show" program which does this. Never tried it with 400 images though.
If you do not have enough memory for all the images, then you need to manage the iamges much more carefully.
Lynn
05-16-2014 06:18 AM
ok thanks for your advise!