1/21/2010 12:16 AM | |
Posts: 2661 Rating: (279)
|
Hi awu10, Where is the attachment? Regards |
1/22/2010 4:43 PM | |
Posts: 55 Rating: (0) |
Hello, Phantom75: I have attched two files. One file is the snapshot of pdl screen. The other file is C script that should produce the icon picture file name. Thank you awu10 AttachmentPictureIconDisappearedProblem.zip (55 Downloads) |
1/26/2010 3:36 PM | |
Joined: 9/27/2007 Last visit: 12/18/2020 Posts: 993 Rating: (102)
|
Hi How do you trigger your script? you can define the trigger in the statusbar of the aktion-editor (last icon). I allways use a tag by "Upon change". I did not tested your c-function, but it realy seams, that you get allways a name back. So it is possible the your script gets an error. Insert a "Smart Objects" > "Application Window" and klick tiwce "OK". There you will see something like "general protction fault" Advices: - Do not preset your tag "sIconFileName" - Use "strncpy" instead of "strcpy" regards cumulus |
Learn more about visualization - visit the HMI courses of Siemens AG! |
|
Follow us on