08-03-2009 04:09 AM
hi,
I have picture ring control. I want to display picture in this ring depending on condition.There are 30+ pictures. Can i call picture at run time? I dont want to put them all in picture ring .
08-03-2009 04:20 AM
You can read & upload the Picture ring (like test ring) with pictures from a folder at run-time.
08-03-2009 07:03 AM
Thank you for reply.
Can you elaborate how to do that please?
08-03-2009 07:09 AM - edited 08-03-2009 07:13 AM
Hi Gaurav,
Read the picture files from the folder itself by reading the folder contents using List Folder primitive in the File I/O pallette. Then, pass this list to the Items of the picture ring using a property node.
08-04-2009 06:07 AM
Hi partabe,
I used function that you mentioned..."List folder" it returns array of file names.But which property node of picture ring should be used? I cant find out.Please answer this too....
Thank you
08-04-2009 10:27 AM
parthabe wrote:Hi Gaurav,
Read the picture files from the folder itself by reading the folder contents using List Folder primitive in the File I/O pallette. Then, pass this list to the Items of the picture ring using a property node.
Message Edited by parthabe on 08-03-2009 07:13 AM
I have been hunting for that property since LV 6 and I still can't find it. You aren't possibly using scripting are you?
Ben
08-05-2009 01:49 AM
Hi,
I found this on NI site...Very interesting solution. Check this link
http://decible.ni.com/content/docs/DOC-2270
08-06-2009 12:02 AM
Ben wrote:
parthabe wrote:Hi Gaurav,
Read the picture files from the folder itself by reading the folder contents using List Folder primitive in the File I/O pallette. Then, pass this list to the Items of the picture ring using a property node.
Message Edited by parthabe on 08-03-2009 07:13 AMI have been hunting for that property since LV 6 and I still can't find it. You aren't possibly using scripting are you?
Ben
I apologise sincerely...
I normally include the words, " I think... ", if I m NOT so sure of the answer. I missed it this time. ![]()
It should have been, "Then, pass this list to the Items of the picture ring using a property node, I think..."
08-06-2009 06:45 AM
Well lacking the property that both parthabe and myself feel should be there...
The animation can be done using a picture control.
Ben
08-06-2009 06:51 AM