Can I load a configuration file in MAX 3.1.1 programmaticaly?

Hi,
I stored a lot of configuration files for all the different projects we used. How can I load theese files programmaticaly from LabVIEW or from TestStand?
Thank you in advance.
C. Dietz
Test Engineering
digades GmbH
www.digades.com

I use the following work around in Labview:
I have many different camera's which I wish to use with one program.
I have an imaq 1409 PCI.
By default it uses img0 to aqcuire images.
But you can also select a different Interface name in your program.
So I have created an interface description file for each different camera.
for instance "mycamera.iid"
and a corresponding camera description file
for instance "mycamera.icd"
Now by calling vi's like imaq init with a string named "mycamera" as Interface Name, the program uses the mycamera.iid file.
In MAX I made sure that mycamera.iid has mycamera.icd as default channel 0, so this also gets selected.
If you work with something else than camera's please specify, but it should work the same way.
good luck,
Arend

Similar Messages

  • O2cb_ctl : unable to load cluster configuration file while  RAC setup.

    OCFS2: unable to load cluster configuration file
    Hi,
    I installed OCFS2 successfully.
    I successfully install 3 RPMs.
    I am getting error while running ocfs2console to do cluster configuration.
    I tried to run this manully using "o2cb_ctl -C -n NODENAME -t node -a number=NODENUM -a ip_address=IPADDR -a ip_port=IPPORT -a cluster=CLUSTERNAME "
    this commnd. but getting error as
    "o2cb_ctl: Unable to access cluster service while creating node Could not add node "
    Then I edited this file manually and copied to another nodes using SCP. Then tried to use o2cg_ctl utility as
    # /etc/init.d/o2cb offline ocfs2
    # /etc/init.d/o2cb unload
    # /etc/init.d/o2cb configure
    Configuring the O2CB driver.
    Next, I configure /etc/ocfs2/cluster.conf:
    cluster:
    node_count = 2
    name = oracle
    node:
    ip_port = 7777
    ip_address = 140.187.222.222
    number = 1
    name = ocvmrh2053
    cluster = oracle
    node:
    ip_port = 7777
    ip_address = 140.187.222.222
    number = 2
    name = ocvmrh2051
    cluster = oracle
    Next, I try to load ocfs2 modules by command: o2cb load - everything messages is OK
    And I try switch ocfs2 cluster to online (by o2cb online oracle), write this error message:
    Starting cluster oracle: Failed
    o2cb_ctl: Unable to load cluster configuration file "/etc/ocfs2/cluster.conf"
    Stopping cluster oracle: Failed
    o2cb_ctl: Unable to load cluster configuration file "/etc/ocfs2/cluster.conf"
    I think both errors i get are due to same issue. Please kindly reply if anyone having idea.
    Thanks.
    Please anyone can help me to resolve this.
    Message was edited by:
    user596035

    provide output of this command from all OCFS2 nodes:
    ls -l /etc/ocfs2/cluster.conf
    Regards,
    Martin

  • MS ssis service: registry setting specifying configuration file does not exist. attempting to load default configuration file. SQLIService100 - event id 274

    window 2008 R2 server ---- after installing SQL 2008 R2 then applying sp2 / sp3 I noted a warning -
    Note this server had SQL 2008 R2 uninstalled previously.
    MS ssis service: registry setting specifying configuration file does not exist. attempting to load default configuration file.
    SQLIService100 - source
    event id- 274
    user - N/A
    Task category - service control.
    Do we need to fix something and how do we fix this warning event?
    dsk

    You could search online for this warning. I was able to find http://superuser.com/questions/346264/event-log-warning-registry-setting-specifying-configuration-file-does-not-exist
    where the fix is "in your registry, go to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTS\ServiceConfigFile
    or
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\ServiceConfigFile
    if value is empty then add in:
    C:\Program Files\Microsoft SQL Server\100\DTS\Binn\MsDtsSrvr.ini.xml"
    Arthur
    MyBlog
    Twitter

  • Failed to load the configuration file for the workflow

    Hi experts, yesterday I created and publish custom workflow using SPD from client pc using site administrator account but today its shows error message. I tried creating new test workflows, edit and publish to think it will push a fresh SPD settings
    in working condition and it works pretty right.
    But the thing I noticed after closing SPD Im not able to re-open workflows and it gives the same error message Failed to load the configuration file for the workflow. This issue only happen today since day one  I used SPD and all the time
    Im using the same pc.
    Any ideas will be appreciated.
    Cheers, R2C3 ----------------------------------- starting sharepoint :)

    HI
    Maybe you have permission problem or there is invalid xoml murkup.
    To verify this from SharePoint Designer use the following steps.
    In Office SharePoint Designer, in the folder list, select the plus sign next to Workflows library to expand it
    1.Next select the plus sign of the workflow in question to expand it
    2.Double-click the configuration file (Workflow_name.xoml.wfconfig.xml) to open it
    3.Right-click on the page, and then select Verify well-formed XML
    4.Correct any errors and save the file
    5.Reopen the workflow to test
    Also double check that you are using SPD with the same credentials you created workflow
    Hope this will help.
    Regards,
    Marcin

  • Error when I generate a PDF file - Can't parse printer configuration file:

    I am receiving an error "Can't parse printer configuration file: uiprint.txt" when try generate to PDF file. The pdf file is generated but when I open the forms builder and show canvas the same error appears and canvas is shown in crazy way.
    My uiprint.txt has the follows:
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    TK60_UNKNOWN=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_UNKNOWN
    TK60_PPD=$ORACLE_HOME/guicommon6/tk60/admin/PPD; export TK60_PPD
    LE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK60_FONTALIAS=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_FONTALIAS
    PRINTER=testprint;export PRINTER
    TK2_PRINTER=echo;export TK2_PRINTER
    testprint:PostScript:2:HP printer:hp4si3_1.ppd
    Can someone help me?
    Thanks

    Hello,
    The file uiprint.txt must not contain environment variables definitions.
    Put the lines :
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    TK60_UNKNOWN=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_UNKNOWN
    TK60_PPD=$ORACLE_HOME/guicommon6/tk60/admin/PPD; export TK60_PPD
    LE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK60_FONTALIAS=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_FONTALIAS
    PRINTER=testprint;export PRINTER
    TK2_PRINTER=echo;export TK2_PRINTER
    in the file reports.sh
    and keep only
    testprint:PostScript:2:HP printer:hp4si3_1.ppd
    in uiprint.txt
    Regards

  • Can you load a Jpeg file to Photoshop??

    Can you load a JPeg file to photoshop??

    The files are not stored in Photoshop Elements. They are on disk wherever you put them. The Organizer is like a library card catalog - an index, if you will.
    You may find this document helpful:
    FAQ: Where can I download the manual / user guides for Photoshop Elements?

  • Attaching USB Drive - Can't read AP configuration file, kills internet

    Current network:
    Airport Extreme (Sim Dual-Band)
    Mac Pro (wired Ethernet)
    MacBook Pro (wired or WiFi N)
    MacBook (WiFi N)
    2 x iPhones (WiFi G)
    Airport Extreme in use for several months with no problems. All Macs can read/write it's configuration.
    I hooked up a 1TB My Book USB HD to the Airport Extreme via USB. All three Macs (Mac Pro, MacBook Pro, MacBook) could see and read/write to the new drive. The Airport Extreme appeared in Airport Utility on all three Macs. Wired, WiFi N + G internet continued to work great... however none of the Macs could read the configuration file of the Airport Extreme. If I unplugged the USB drive all the Macs could read and write to the configuration file.
    I plugged the USB drive back in and left it overnight. This morning, everything continued to work, with the exception that none of the computers could read the configuration of the AP.
    Around 10am today the Macs/iPhones could no longer connect to the internet. I disconnected the USB drive and now the internet works again.

    Hey David,
    I know you said you read a lot of posts already and none of the other solutions worked, but just in case, if you haven't already I would run through the steps in here:
    Apple Computers: Troubleshooting the slot-loading SuperDrive
    http://support.apple.com/kb/HT2801
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • Loading XML Configuration File into Java

    I have a stored procedure wrapper to a Java method (within a jar file) that has been loaded into the database. I need to load an XML configuration file in this method and parse it but get the following error.
    <Line 2, Column 192>: XML-24538: (Error) Can not find definition for element 'LODConfigs'
    When I run the method standalone through netbeans it parses fine and is able to load the file. I've confirmed that it is able to read the file but I am lost as to what could be the problem. Any suggestions would be welcome.
    The header of the file is
    <?xml version="1.0" encoding="UTF-8" ?>
    <LODConfigs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.oracle.com/spatial/network/lodLODConfigs.xsd"
    xmlns="http://xmlns.oracle.com/spatial/network">
    <LODConfig globalNetworkName="$DEFAULT$" networkName="$DEFAULT$">
    <networkIO>
    </networkIO>
    </LODConfig>
    </LODConfigs>

    Just a guess really, (and this is an old question now - so you may have moved on).. is your XML parser attempting to use the schema location to pull the XML schema from the internet?
    If so, that might run fine in netbeans, but hit java permission limits in Oracle. Have you tried running it in netbeans with the network cable unplugged.
    If that fails with the same error as the Oracle JVM, that might give a clue as to the problem and you can troubleshoot the permissions from there.

  • "can't load because some files are already in use" - Adobe reader!  How do i close whatever i can't find that they say is in use!?

    Can anyone help me get Adobe reader 11 installed??? The error message when I'm practically done says the file can't be loaded because some files are already in use - and it refers to Adobe reader!  What do I do to get past this??? Help!  I need to install adobe!
    I had been having a problem after I tried to do an adobe update, so i deleted and tried to reinstall the program and it won't let me ! Any suggestions???

    Hi Jody414,
    Use the Acrobat Cleaner tool ( Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs ) to remove Reader completely from the machine.
    Download Reader 11 from: Adobe - Adobe Reader Distribution   and install and check.
    Regards,
    Rave

  • How can I load a .pst file to an instrument in logic express 9?

    I have some instruments plug-in settings from my old computer that I used with logic, and I want to load them into logic so I can use them on the computer I moved them to. On any instrument I try (ES1, ES2, EXS24 and the rest) it won't allow me to load the files (.pst files) and I know I should be able to. Am I just going about it wrong or using the wrong instrument? How can I load these files so that I can use the instruments again?

    Pages is not in a format compatible for what you want to do.
    After you save a a Pages document, go to File > Export > and choose either Word or Pdf format. You can also choose RTF or PlainText too. Then you can email to yourself or others.
    Good Luck.
    Adam

  • How can we load a flat file with very, very long lines into a table?

    Hello:
    We have to load a flat file with OWB. The problem is that each of the lines in the file might be up to 30.000 characters long (up to 1.000 units of information in each line, 30 characters long each)
    Of course, our mapping should insert these units of information as independent rows in a table (1.000 rows, in our example).
    We do not know how to go about it. We usually load flat files using table functions, but we am not sure that they will be able to cope with these huge lines. And how should we pivot those lines? Will the Pivot operator do the trick? Or maybe we should pivot those lines outside the database before loading them?
    We are a bit lost. Any suggestion would be appreciated.
    Regards
    Edited by: [email protected] on Oct 29, 2008 8:43 AM
    Edited by: [email protected] on Oct 29, 2008 8:44 AM

    Yes, well, we could define a 1.000 column external table, and then map those 1.000 columns to the Pivot operator… perhaps it would work. But we have been investigating a little bit, and we think that we have found a better solution: there is a unix utility called “fold”. This utility can split our 30.000 character lines in 1.000 lines, 30 characters long each: just what we needed. Then we can load the resulting file using an external table.
    We think this is a much better solution that handling 1.000 columns in the external table and in the Pivot operator.
    Thanks for your help.
    Regards
    Edited by: [email protected] on Oct 29, 2008 10:35 AM

  • How can I "touch" a configuration file?

    I have a program that is used to write a configuration file.  I am using the "Configuration File VIs" that came with LabVIEW 8 to manage the configuration file.  I have the "Create file if necessary" boolean input wired to "True" for the "Open Config Data" VI, but I am still getting an error about the file not being found.
    The VI should do the following:
    Reads the data file in the current VI's directory, "config.cfg."
    If the file doesn't exist, then create the file and pass the default values to the controls on the front panel.
    If the file does exist then read the data file and pass the saved values to the controls on the front panel.
    User adjusts the values on the front panel and clicks on "Ok" or "Cancel"
    If the user clicks on "Ok" then save the values in the controls from the front panel into the configuration file.
    If the user clicks on "Cancel" then do nothing.
    Close the configuration file.
    Why isn't it creating the necessary file when I first run this VI?  Is there anyway I can initialize a configuration file?
    Thanks!
    -Nic
    Attachments:
    AIT - Channel Configuration2.vi ‏55 KB

    Nickerbocker wrote:
    Ok, I get it.  If the program is compiled, then the path to the current vi is within the executable like:
    build_dir\build.exe\my.vi
    where as if it isn't built you'd get:
    dev_dir\my.vi
    I
    found a subVI program in the forum that does a simple check to see if
    the path contains a .exe and then strips if it does passes the path if
    it doesn't that works great.
    Thanks
    -Nic
    I personally always use a different approach. I have usually an application development directory structure similar to this.
    MyApplication
        <myapplication>.ini
        support
              <clean myapplication>.ini
              <myapplication>.ico
        topLevel.llb
              Startup Splashscreen.vi
              Get App Root Directory.vi
              Get App Configuration Path.vi
             <some other VIs needed in the startup and intialization of my program>
         <other function specific subdirectories such as GUI, config, FileIO, DAQ, serial, etc.>
    Basically Get App Root Directory.vi always strips the Current VIs path
    twice and is used by Get App Configuration Path.vi to build the ini
    file path and possibly by others VIs to build specific additional
    support subdirectories that the installer might create. Since Get App
    Root Directory is one level below the root directory in the development
    environment its relative position to the root directory is always the
    same irrespective of LabVIEW development system execution or
    Application execution.
    The <myapplication>.ini is used by the application during
    debugging etc, and the <clean myapplication>.ini file is used by
    the Application Builder/Project Manager to include in the application
    and contains the settings as I want them to appear after first
    installation on the customers system.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Aperture: After changed the file name in Finder Aperture can't load the referenced file anymore

    After I've changed the file name/format in Finder Aperture can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.

    As you told, the command "Locate Referenced File" doesn't work, if the filename doen't match exactly. And the filenames should keep their new names.
    "Locate Referenced File" will be able to reconnect one file at a time, if you direct Aperture to the matching file in the Loate Referenced File dialog, but it will not be able to recognise the other matching referenced files and to reconnect them all at once with the "Reconnect All" button.
    It will be a lot of work to reconnect the one by one.  Usually it is much easier to rename the original master files using Metadata > Batch change in Aperture than to try to do that in the Finder.

  • Can ResourceBundle load .properties from files and .jar?

    Hi Guys,
    I'm trying to I18N an application with ResourceBundle.
    Suppose my class look like this:
    package pack;
    import java.util.ResourceBundle;
    public class MyClass {
        public static void main(String[] args) {
            ResourceBundle rb = ResourceBundle.getBundle("Language");
    }This would load the localized string from Language.properties
    And when I pack the class file and Language.properties into a jar. It works fine
    But what I tried to do is to make the ResourceBundle try to load from external file first
    before it load from the jar file so that if I have a new language file I can just drop in the
    NewLang.properties.
    Inside .jar file look like this
    /Language.properties
    /pack/MyClass.class
    /meta-inf/Manifest.mf
    I tried look into some forum and they suggest to include Class-Path in Manifest.mf file
    to include current path like this
    Class-Path: .
    But still, it didn't work. If I include .properties in .jar it will not look outside but if I didn't include
    any .properties it found a properties file.
    How can I achieve this ?

    Dave,
    I reckon you're on the right track... just have to figure out "what's the path to properties file"... I suspect you've got a context problem... not sure... I'm pretty new at this stuff myself.
    So, what's your development environment? O/S, IDE, app/web-server, etc.
    Cheers. Keith.

  • Can't save VPN configuration file

    I am trying to setup the VPN services on Lion Server. I setup the shared secret, entered in a IP range and defined my VPN client host which is DYNDNS (e.g., domainname.dyndns.org). I get an error message when trying to save my configuration file that indicates I did not enter or need to enter a VPN client host but the little green symbol comes on when I enter the domain name.
    I am not sure what I am doing wrong. I went back to the VPN client host and tried to enter in different VPN hosts and even resorted to using known domains just to see if I can save the file and it still will not work. Any ideas?

    I had the same problem.  What fixed it for me was to change the name of the config file.  That was it...worked just fine.

Maybe you are looking for

  • Adding text to a photo

    i'm currently trying to make a simple cd cover using iPhoto to add to itunes. Is there any way i could add text to a photo that i have in the iPhoto library?

  • Live Video

    I am having trouble keeping a live stream working.  I am streaming live video & audio using FMLE 3.2 and FMIS 3.5.5. When I start the encoder things appear okay at first - no apparent error messages at the encoder, and multiple clients can connect su

  • I keep getting this message (CalDAVAccountRefreshQueueableOperation) for account "Yahoo" failed. How can I fix it?

    Why does this message come up when I try to sink my yahoo calendar on my mac book pro (CalDAVAccountRefreshQueueableOperation) for account "Yahoo" failed.??

  • MP3s flagged as Audiobook do not play in iOS5

    Just upgraded to iOS5, now any MP3 that I have changed the media type to be an audiobook will not play.  When I try to play it just goes through all the files on the album and skips through them then dumps me back at the selection screen. If I change

  • Find transaction and exit name from the name of include program

    hai i want to know the transaction that is executing the exit which includes the include name as "LVKMPFZ2" can anyone tell me the procedure (dont forget steps ) to know the transaction (but this program is include SAP automatic credit control config