LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get image to ring control from file path

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 .

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 1 of 14
(3,894 Views)

You can read & upload the Picture ring (like test ring) with pictures from a folder at run-time.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 14
(3,889 Views)

Thank you for reply.

Can you elaborate how to do that please?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 3 of 14
(3,873 Views)

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
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 14
(3,869 Views)

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 youSmiley Happy

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 5 of 14
(3,851 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 14
(3,842 Views)

Hi,

I found this on NI site...Very interesting solution. Check this link

http://decible.ni.com/content/docs/DOC-2270 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 7 of 14
(3,826 Views)

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 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


 

I apologise sincerely... 

 

I normally include the words, " I think... ", if I m NOT so sure of the answer. I missed it this time. Smiley Sad

 

It should have been, "Then, pass this list to the Items of the picture ring using a property node, I think..."

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 8 of 14
(3,810 Views)

Well lacking the property that both parthabe and myself feel should be there...

 

The animation can be done using a picture control.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 14
(3,800 Views)
Ben, since the pictures are treated as Str in their utmost depth by LV, is it not easy for NI to make/give this property as extra (only) for the Picture Ring as "Items"... ?!
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 10 of 14
(3,798 Views)