How do I eliminate backslash codes from configuration files?

I am trying to make my LabVIEW software compatible with software written in Delphi (Pascal). To help accomplish this task, I want them to share the same ".ini" files. That way, you start one program up and you get the settings that you had the last time you ran the other program. But here's the problem...
Using the configuration file VIs, LabVIEW saves paths as:
[Section with path]
PathKey=C/path/to/file
But Delphi saves paths as:
[Section with path]
PathKey=C:\path\to\file
I thought of a simple workaround - just convert paths to strings before writing the config file! But, alas, LabVIEW uses backslash codes when it writes strings to config files, i.e.:
[Section with path]
PathKey=C:\\pat
h\\to\\file
The LabVIEW configuration file VIs' code are viewable and can be edited, but I have not had luck figuring out exactly where the backslash codes ever originate. Does anyone know how to fix up the code for these VIs? Or can you think of another workaround?
I already thought of writing a dll that would package the Delphi functions for working with .ini files. Then I could use a library function node to call the Delphi functions. Doing so would certainly eliminate my problem of conflicting formats. But jeez - doesn't that sound like entirely too much work???
Thanks,
Nick
"You keep using that word. I do not think it means what you think it means." - Inigo Montoya

There is an option in the VI for writing strings to configuration VIs which allows you to write the exact strings (no more double \). It`s called "Write original string" I think (I`ve translated this directly from my german version of LabVIEW. I use this quite a lot to allow a "normal" PC user to edit configuration files by hand if neccessary.
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

Similar Messages

  • How to transport wdj project code from one server to other server?

    Hi, experts,
    I development 100 wdj component and deployed them to development server(A_development_server).
    I have download sca file of my WDJ project from A_development_server.
    I have config the SLD and Track in the other development server(B_development_server).
    I don't know how to transport the project code from A_development_server to B_development_server for download the project code ?
    Do you give me some hint?
    Best regards,
    tao
    Edited by: wang tao on Mar 12, 2010 4:41 AM

    Hi Wang,
    You can directly deploy project from A_development_server to B_development_server. For that you need to Define Runtime details under RUNTIME tab in landscape configurator for B_development_server in CMS. To access CMS, go through http://host:port/devinf
    Automated Deployment into Multiple Production Systems
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/355093ba830a67e10000000a422035/frameset.htm
    Getting Started with the Development Infrastructure 
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/0d18d725301a78e10000000a1553f6/content.htm
    Hopt it helps
    Regards,
    Arun

  • RE: Typekit...how do I move the code from an old account to my new account under the Creative Cloud?

    RE: Typekit...how do I move the code from an old account to my new account under the Creative Cloud? W/out (preferably) interuption to the website in question? Thanks!

    Hi Jesse,
    Please email us at [email protected] with:
    - your current Typekit account email address
    - the email address you use for Creative Cloud
    We will be able to help you make this change without disrupting your current font serving. 
    Thank you,
    -- liz

  • How to find out company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

  • How do I eliminate shaky text from scrolling credits?

    I have added scrolling credits to a video and the scroll is not smooth.  There is no stabilization or shutter roll mechanism to use with built-in, FCPX text and titles.  So, how do I eliminate the shake from scrolling credits?

    amee mk wrote:
    i also have a problem with scrolling credits !! they are shaking very badly and i can't find solution for it it doesn't look pro at all ! i'm working on HD 1080 p footage and my project need to be done very soon if anyone have a secret knowledge how to fix it - please let me know !
    What Karsten and Russ said.

  • How do I eliminate old addresses from my email list?

    How do I eliminate old addresses from my email list?

    Follow the instructions here >  Mail (Mountain Lion): Manage addresses in the Previous Recipients list
    Works the same for v10.9 Mavericks.

  • How do I eliminate unnecessary templates from "My Templates?"

    How do I eliminate unnecessary templates from "My Templates?"

    What application do these templates refer to?

  • How do i resolve error code from hardware test

    How do I resolve error code from hardware test.

    by bringing your mac to your local Apple store or AASP for repair.

  • V5 How can I get the code from an itunes gifcard that got scraped off

    How can I get the code from an itunes gifcard that got scraped off

    Try Here  >  http://support.apple.com/kb/TS1292
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • HT2534 What is iTune gift card? How can i get the code from this?

    What's iTune gift card? How can i get the code from this?

    "What's iTune gift card?"
    It is a gift card like any other gift card.  It is a card that contains credit for purchases in the itunes store.
    "How can i get the code from this?"
    Genreally there is a scratch of area under which the code lies.

  • Can I export unused VPP codes from Configurator?

    We have "unsupervised" many iPads that had previously had Pages and Keynote loaded (we imported the VPP codes to Configurator)
    Can I "remove" the codes from Configurator to distribute them differently? When I sign in to VPP the codes are all "redeemed".

    To the best of my knowledge, once you import an Excel spreadsheet of VPP codes into Configurator those codes can only be used on that computer. You can install or remove apps from iPads and reallocate apps on that computer but can't take the codes out of Configurator to use them in another instance of Configurator or in an MDM for redistribution.
    The exception would be if you wanted to migrate from redemption codes to managed distribution in which case unredeemed codes or codes redeemed through Apple Configurator could be changed to managed distribution licenses. See http://support.apple.com/kb/HT6015 for details on this process.
    Hope this helps!
    ~Joe

  • How do i get my code from my itunes gift card if i cant read the code

    how do i get my code from itunes gift card if i cant read it what do i do

    iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/TS1292

  • HT201263 If yor phone is lost how do you change lock code from computer?

    If your phone is lost how do you change lock code from computer?

    You cannot remotely change the lock code

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • Unable to load new information from configuration file /var/ldap/ldap_clien

    Hi all,
    When I run the command "ldapclient init", I got the error message:
    # ldapclient init -a proxyDN=cn=proxyagent,ou=profile,dc=example,dc=ca -a domainName=example.ca -a profileName=UserProfile -a proxyPassword=pwd 10.1.10.50
    Unable to load new information from configuration file '/var/ldap/ldap_client_file' ('Unable to open filename '/var/ldap/ldap_client_file' for reading (errno=2).').
    Any idea?
    Thanks a lot for your help!

    Does the profile UserProfile exist on your LDAP server?
    Do the logs on your LDAP server show access problems?
    Try using -v to get more verbose output

Maybe you are looking for

  • Iphone 4s fails to restart after installing ios 5.1 & then restoring from backup ?

                                            I have restored My Iphone 4s to Os 5.1 Yesterday ... every thing went fine ..... at the time of restoring it from my previous backup ........ iphone fails to restart ..... it is in continous loop of apple logo

  • How to add empty soap header?

    Hello, I created a web service proxy using WSDL and XSD files. Then, I created a sample request from client interface and sent the request as an object to call the web services. However, I am not directly calling the webservices as I am doing it thro

  • Problem with app transfer

    i downloaded an app on my iphone, and synced to my laptop but the app did not come over to the laptop. when i go to the app store on my laptop I cant even find the app to download it...?????

  • Print preview

    Hi experts, May i know how the print preview in PO perform? is the output of print preview same with the output of display in ME9F? In my system, the output in ME9F is different with print preview. can anyone explain this please, thanks

  • Help Deleting 'Other' Data on iPhone 4

    So I recently noticed that anytime I'd try to take a photo on my iPhone 4, it'd say my storage was full, which makes no sense. I don't have many apps, have a lot of music but only 46 photos on my photo roll, and I'm constantly clearing history, and m