How to save pictures with the config file "Write Key.vi"

hi all,
On my front panel I've few controls pictures containing photos (JPG type) . The user can select the photo he wants using the classic file dialog box.
Usally I use the config files VI's to save the control values from one run to another one. In the config files VIs, I use the polymorphic "write Key.vi" wich accept only booean, I32, U32, path, and string dada type, but no picture !
I've tried the "flatten to string" fonction (picture --> flatten to string --> writekey.vi) , no broken wire but the conversion is very very too long and to heavy (20Mo a key!).
another way, would be to write in a xml file, I've also tried but I've always get the 1104 error: No end tag was found for an XML start/end tag pair.
can someone help me.
what is the best way for  retrieving controls pictures with photos

Hi GerdW
Many thanks for your quick answer. Always happy to get advises from fellow programmers.
You suggest to use the "path" input of the "write key.vi" (configuration file utilities) to retrieve photos that a user would have selected in a previous run. Could be a good solution in a number of applications but what I would like to do is like in a excel or word file. Once a photo has been embeded in one xls file for ex., I find it back each time i open this xls file, even if the original photo's file has been deleted or if my application runs on another computer.
xml file looks interesting for that purpose (i mean used as config file). I can easily store in a xml file a labview picture (like a colored rectangle e.g.) but when i try with a photo (wich is a also a picture) labview returns always the error 1104.
How to fixe this error, or maybe  there is another way to store photos in a config file without passing through xml,
kind regards.

Similar Messages

  • List of things we can do with the config files?

    I was looking for some reference to what can be done with the
    configuration files under the flex folder under “data
    services” (liveCycle, blazeDS)..
    I know about destinations and subtopics. But what else can be
    done. Where is the reference?

    Adobe® LiveCycle® Data Services
    ES Developer’s Guide
    http://help.adobe.com/en_US/livecycle/es/lcds_dev_guide.pdf

  • How to display data with the same text and key in the drop down list?

    Hi All,
    Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    REPORT ZTESTING.
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST,
          c(20) type c.
    *      c = 'select any'.
    data:begin of itab occurs 0,
          kunnr like kna1-kunnr,
          name1 like kna1-name1,
         end of itab.
    data:begin of jtab occurs 0,
          kunnr like kna1-kunnr,
          land1 like kna1-land1,
         end of jtab.
    PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
                              default 'SELECT'.
    AT SELECTION-SCREEN OUTPUT.
    NAME = 'p_list'.
    VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    APPEND VALUE TO LIST.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'Country'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    start-of-selection.
    select kunnr name1 up to 20 rows from kna1 into table itab.
    select kunnr land1 up to 20 rows from kna1 into table jtab.
    case p_list.
    when '1'.
    loop at itab.
    write:/ itab-kunnr,itab-name1.
    endloop.
    when '2'.
    loop at jtab.
    write:/ jtab-kunnr,jtab-land1.
    endloop.
    endcase.
    <Added code tags>
    Moderator Message: Please use the "code" tags to format your code snippet.
    Edited by: Suhas Saha on Nov 17, 2011 11:19 AM

    shawnTan wrote:
    Hi All,
    >
    > Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    >
    >
    REPORT ZTESTING.
    >
    > TYPE-POOLS: VRM.
    >
    > DATA: NAME  TYPE VRM_ID,
    >       LIST  TYPE VRM_VALUES,
    >       VALUE LIKE LINE OF LIST,
    >       c(20) type c.
    >
    > *      c = 'select any'.
    >
    > data:begin of itab occurs 0,
    >       kunnr like kna1-kunnr,
    >       name1 like kna1-name1,
    >      end of itab.
    >
    > data:begin of jtab occurs 0,
    >       kunnr like kna1-kunnr,
    >       land1 like kna1-land1,
    >      end of jtab.
    >
    > PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
    >                           default 'SELECT'.
    >
    > AT SELECTION-SCREEN OUTPUT.
    >
    > NAME = 'p_list'.
    >
    > VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    > VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    > APPEND VALUE TO LIST.
    >
    > VALUE-KEY = '2'.
    > VALUE-TEXT = 'Country'.
    > APPEND VALUE TO LIST.
    >
    > CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    >
    > start-of-selection.
    > select kunnr name1 up to 20 rows from kna1 into table itab.
    > select kunnr land1 up to 20 rows from kna1 into table jtab.
    >
    > case p_list.
    > when '1'.
    > loop at itab.
    > write:/ itab-kunnr,itab-name1.
    > endloop.
    >
    > when '2'.
    > loop at jtab.
    > write:/ jtab-kunnr,jtab-land1.
    > endloop.
    > endcase.
    >
    > <Added code tags>
    >
    > Moderator Message: Please use the "code" tags to format your code snippet.
    >
    > Edited by: Suhas Saha on Nov 17, 2011 11:19 AM
    This surely seems to be a bug to me(if not by design),  did you check for any SAP notes? Perhaps a front end trace can help(Note 407743) !
    -Rajesh.

  • How to do something with the moved file ???

    I bet it is easy, but as I am new to AppleScript, still need help..
    This is a folder action. When a new file is added to the folder, the folder action script runs, and if the file name contains a particular text, then the file is moved to another folder - in this case, it is moved to a folder on an external hard drive. It is described in this script:
    copy name of thisItem as string to FileName
    if FileName contains "House" then
    move thisItem to POSIX file "/Volumes/ALL/House/Season 5/"
    The problem is - in that folder (/Volumes/ALL/House/Season 5/) I also have set a folder action, that, for example, converts or opens every file added to folder. The things is that, it is rather slow to run 2 folder actions and I don't know why it is so, but I guess it is because of the external hard drive. My aim is to remove the folder action for the folder (/Volumes/ALL/House/Season 5/), and do everything in the initial folder action.
    So the question is - How can I operate with (for example, convert or open the newly added file) the file added in the folder (/Volumes/ALL/House/Season 5/) via the first folder action script?
    Or in other words, how do I use the newly added file? I tried to do it like this:
    copy name of thisItem as string to FileName
    if FileName contains "House" then
    move thisItem to POSIX file "/Volumes/ALL/House/Season 5/"
    open thisItem
    But obviously, it opens the original thisItem! So how can I do something with the newly added file in the location /Volumes/ALL/House/Season 5/ ???
    Cheers and sorry for my english!
    Message was edited by: reinisb

    But obviously, it opens the original thisItem! So how can I do something with the newly added file in the location /Volumes/ALL/House/Season 5/ ???
    That's easy - you know the file name and you know the directory you copied the file to, so instead of:
    open thisItem
    you just:
    open POSIX file "/Volumes/ALL/House/Season\ 5/" & FileName

  • How to save Solo with the Song?

    Hi,
    When I activate solo on some tracks, save the song and open it again, solo is not active anymore, so that it blows off my speakers when I start playing and forget to activate solo again.
    How to save solo activation?
    Thanks for any help.

    Werner Zervas wrote:
    Hi,
    When I activate solo on some tracks, save the song and open it again, solo is not active anymore, so that it blows off my speakers when I start playing and forget to activate solo again.
    How to save solo activation?
    Thanks for any help.
    Solo is a momentary button.
    And, do you have ANYTHING between your speakers and the computer's audio otuput?
    You should have some sort of mixer / monitoring thing that has a volume knob, so you don't kill your ears.

  • How to work with the remote file system

    Hi all,
    I want to know how we can work with the remote file sytem.
    Code should be some thing like
    File f = new File("//10.22.33.122/images")
    images is share name..
    i want the file names of all the images in that shared folder...
    Thanks in advance,
    Srinivas N

    try this one:
    File f = new File("//10.22.33.122/images")
    File[] files = f.listFiles(new FilenameFilter() {
         public boolean accept(File dir, String name)
    // Specify the extentions of files to be included.
         return name.endsWith(".bmp") || name.endsWith(".gif");
    // get names of the files
    String[] fileNamesArray = null;
    for (int indx = 0; indx < files.length(); indx++)
    fileNamesArray[indx] = files[indx].getName();
    return fileNamesArray;

  • Pick a particular file and keep on target side with the same file name

    Hi Guys,
    I have got couple of files in a folder. I need to pick only two files, I have setup BPM procedure 2 payloads merge. To keep these merged file with  the same source filename.
    Source side file Directory
    abc_12345_20100408101029.xml (abc_seq number_timestamp.xml)
    xxx12345.xml
    test.xml
    abc_12345_20100408101149.xml
    Target Side, How do I keep with the same file name?
    abc_12345_20100408111239.xml ---  same file name with diffrent timestamp.
    One more question: How to setup a file adapter to trigger between 2:00am to 5:00 am? in a particular time
    Does anybody has got quick idea, any links etc.,
    Your quick and positive response will be much appreciates.
    Kind Regards
    San

    Hi,
    One more question: How to setup a file adapter to trigger between 2:00am to 5:00 am? in a particular time
    For this you can Availability time planning (i.e you can schedule the file adapter to poll for the files with in the time interval i.e 2 -5)...
    for generating the file name at target side you need to look for the Dynamic Configuration as you need to change the timestamp for the file..and i am not sure how this works in BPM..
    in normal scenarios dynamic configuration will help....
    HTH
    Rajesh

  • How to control scrubbing with the keyboard?

    The headline is already the question: I would like to use the keyboad to fast forwad in songs. In the 'itunes a-z' there is only an info how to do this with the mouse. Arrow Keys do not seem to work for this, they only switch to the next or previos song, or album. Ah, I am using utine s10.5.2.11 with WIndows 7.
    Any idea?
    Thanks, Alex

    Here are a few more to try:
    setxkbmap
    xkbset is the one I currently use, you can find at https://aur.archlinux.org/packages/xkbset/
    keynav might also be worth a look. I haven't tried it though. It can be found in the AUR also.

  • HT4112 How do I navigate with out mouse? What keys do what do I still use finger on IPad to navigate?

    how do i navigate with the wireless keyboard. what keys do I use for what.

    Yes ... It is stated above and You can read my response here.... And you do not need to post twice ... Especially within minutes of the first post.
    https://discussions.apple.com/message/18676374#18676374

  • Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame st

    Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame still there. Is there a "apply change" or similiar command that I simply cannot see.

    brings the image back, straightened, but with the skewed back ground frame
    PSE did what you told it to do. Choose the Straighten and crop edges or fill edges options when you use the straighten tool if you want it to do more than just straighten the contents of the image. Many people prefer the plain straighten because they'd rather crop themselves than let PSE do it.

  • HELP - how do you save pictures through the recovery mode?

    How do you save pictures through the recovery mode.  I have the black screen with cursor and despite trying all the tips noted here nothing seems to fix the issue.  These have included using Utility disk to re-install OS-X, repairing the disks.  Also tried the holding shift on start up and entering username and password.  Also tried internet recovery and then repair and re-install.  Nothing works!
    Happy to restore from a back up, but I have been rubbish and not backed up for a long time.  Also happy to delete and re-install completely but don't want to loose pics.
    Please let me know any suggestions!!

    bemsley wrote:
    Is it possible to attach an external drive and copy across files through the utility function?
    That requires that you can boot the MBP. 
    Or to boot the mac using the time machine back up?
    You can try using startup manager:
    http://support.apple.com/kb/ht1310
    But you still need a working volume where you can install the backed up data.
    The good news is that since you have a Time machine backup, you can transfer that data to another Mac or clone:
    http://pondini.org/OSX/Setup.html
    Ciao.

  • How do I patch print pictures with the filename?

    I have 1000 student proof pictures to print on envelopes.  one per envelope.  I'm trying to figure out how to print the picture with the file name included.  I need the file name printed under the picture so that when the students turn in their order
    I can find their pictures.  I've been doing a contact sheet of one coloumn and one row. this gets the name included with the picture, however, the system crashes if I try to do all 1000 at once. So I have to break it down into separate folders.  I've found that if i try to this with more than
    76 pictures photoshop freezes and I have to restart.  There's got to be an easier way to do this.  Please, help.

    If you have InDesign, you could set up a data merge to do this.
    Your data file would have one text column with the image name, and one image column (header beginning with '@)
    Set up the first page and run the merge.

  • [svn:fx-trunk] 8480: update to how the config files will look in svn.

    Revision: 8480
    Author:   [email protected]
    Date:     2009-07-09 10:05:55 -0700 (Thu, 09 Jul 2009)
    Log Message:
    update to how the config files will look in svn.  replacing ${build.number} with 0 in the RSL section so that builder will function properly from src since it doesn't know how to handle ${build.number} whereas the compiler did.
    qa: no
    doc: no
    checkintests: pass
    Modified Paths:
        flex/sdk/trunk/frameworks/air-config.xml
        flex/sdk/trunk/frameworks/flex-config.xml

    Thats good news.

  • How to change the default save encoding of the dvm files when create dvm???

    When I creating a DVM(domain-value mapping) in Chinese on the ESB control and confirm it, then restarted the SOA service, the DVM that I created in Chinese disappeared from ESB control. All the maps(both English and Chinese ) are in DVM Repository.
    After I updated the encoding from ‘UTF-8’ to ‘GB2312’ in the three files below, and restarted the SOA service, the DVM in Chinese appeared on ESB control.
    But when I adding the second row in Chinese and save it, then restart the SOA service, the DVM in Chinese disappeared from ESB Control once again. Because the encoding in the three files below is updated from ‘GB2312’ to ‘UTF-8’ .
    Files:
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm\Chinese.xml.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\content\files\dvm\Chinese.xml_1.0
    How to change the default save encoding of the dvm files when create dvm in ESB control ???

    I have the same problem.  When I updated to Mavericks now the bookmarks bar font is huge.  I liked it the way it was before.  I liked the smaller font.  Also wish I could change the color of the sidebar and font/folders too.
    I tried to see in preferences if there was anyway to change it, but I don't see anything there.

  • HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file .

    HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file ...

    iCloud Drive: https://www.apple.com/icloud/icloud-drive/
    Dropbox: https://itunes.apple.com/us/app/dropbox/id327630330?mt=8
    OneDrive: https://itunes.apple.com/us/app/onedrive-for-ios/id477537958?mt=8

Maybe you are looking for

  • Found a major bug in AME 6.0.1 - Anyone else experiencing this?

    When exporting media from Premiere 6.0.1 on a Windows 7 64bit machine with an I7 Quad core with Hyperthreading and 16GB of Ram with NVidia Cuda card (Mercury Engine Acceleration enabled) I encounter an issue where AME hangs.  I can export media  fine

  • Problem with HP PSC 1513

    Hello! I bought a new black ink cartridge - hp132. Put - does not work. Light keeps flashingcheck cartridge. Put the old - too flash .. What should I do? Yet much money is the cartridge ... Help please!

  • Can't change info of music in iTunes 11.0.1

    The other day I was updating my MacBook OS to OS X 10.8.2 with the latest version of iTunes 11.0.1. When I add legal music (not bought via iTunes Store) to my iTunes, I suddenly can't change the music info. Changing the properties to read and write d

  • Custom validation is disabling submit button

    Hi there, I am using the update/insert feature within ADDT, but wanted to use my own validation using JavaScript. Everything works fine, the validation pop-up works etc, but the submit button is disabled. I'm guess that the transaction has started wi

  • How to create ligin page in Jdev 10g

    Hi I am using Jdev 10g I have to create a simple login page to my application. I created fusion web application. based on table data(username, password) i need to give authentication to application. I have employee table with level (developer,TL,Mang