Save physical channel information in a configuration file and reuse it in another VI

Dear all,
I would like to do a pair of VIs. The first VI configures all psychical channels and store the task information (or physical channel name information) in a file and the second VIs can access this file and use the saved information.
Can anybody show me a good example of this type of application? I've prepare a simple code, but it does not work now. I am not sure if I am using the right functions.
Attachments:
Configuration.vi ‏18 KB

You can use Measurement I/O>>NI-DAQmx>>Advanced>>DAQmx Utilities>>DAQmx Flatten Channel String, and DAQmx Unflatten Channel String.

Similar Messages

  • Hi All, I recently bought a Mac Book Pro and transferred all my photos from my hard drive onto the Mac. I realised that there were some folders which didn't have the camera information embedded in the files and these files refuse to open on iPhoto. HELP!!

    Hi All, I recently bought a Mac Book Pro and transferred all my photos from my hard drive onto the Mac. I realised that there were some folders which didn't have the camera information embedded in the files and these files refuse to open on iPhoto. I know that the folders that have the problem were not transferred to the hard drive via a photo transfer application (I have a Canon camera) but I simply copied them out of the photo card and onto my old PC.
    Is there some way I can open these pictures on my Mac? They work fine on a PC.

    Thanks for your reply.
    The files don't open in preview either. In preview I get the error message 'The file "xxxx_xxx.jpg" could not be opened. It may be damaged or use a file format that Preview doesn't recognize'. The folders with these un-openable pictures do not even get imported into iPhoto. When I try to import them I get an error message about the files being unreadable.
    The color profile information on the un-openable files is not visible but I see that all the other files from my old drive are RGB.

  • When i save something, it is saved as a file and htm. i never had this with internet explorer. how do i just save as i would presume htm?

    when i save something, it is saved as a file and htm. i never had this with internet explorer. how do i just save as i would presume htm?

    Are you talking about IE's MHT or MHTML format for saving webpages in a single file format? <br />
    http://en.wikipedia.org/wiki/MHTML
    Two Firefox extensions that will "do" MHT files. <br />
    UnMHT extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/unmht/<br />
    Mozilla Archive Format - MAF <br />
    https://addons.mozilla.org/en-US/firefox/addon/mozilla-archive-format/

  • Why is it when i shut down my mac i loose information like bookmarks,desktop files and my photos?

    why is it when i shut down my mac i loose information like bookmarks,desktop files and my I photos?

    Hi Beth, sounds like your Username got edited or changed.
    Return to default desktop, apparent "loss" of home directory, (it can happen spontaneously too)...
    http://docs.info.apple.com/article.html?artnum=107854

  • Use Automator to move files and folder structure to another folder, retaining destination contents

    I have been struggling trying to setup Automator to move files and folder structure to another folder, retaining the destination contents.  Basically, I need to add files at the destination, within the same folder structure that exists at the source.  Here's some details about the scenario:
    -I have PDF files that I create on a seperate computer than I my daily use machine
    -For security reasons, the source computer doesn't have access to any shares on the destination computer
    -The destination computer has access to shares on the source computer
    -I want to delete the original PDFs at the source after they are moved or copied
    I haven't been able to get Automator to move or copy the folder contents (files and subfolders) without dropping everything copied at the top level of the destination, resulting in many duplicate folders and a broken folder structure.
    So far I've only had luck getting this to work at the command line, but I'd really like to have this setup in Automator so that I could have either a service or application that I could use for any folder, prompting for the source and destination folders.  I'm a relatively new Mac user with limited Linux experience, so this is the command that I've cobbled together and currently accomplishes what I'm looking for:
    ditto /Volumes/SMB_Temp/SOURCE ~/Desktop/Documents/DESTINATION
    cd /Volumes/SMB_Temp/SOURCE
    find . -type f -name "*.pdf" -exec rm -f {} \;
    Thanks for any ideas!

    If you have a command-line syntax that works, why not just create an Automator workflow with a single 'Utilities -> Run Shell Script' action, where that action has your (working) shell commands?
    Seems way, way simpler to me than trying to reinvent the wheel and transcribe shell commands into individual Automator actions

  • How to save VISA information into a configuration file

    Hi guys,
    I've got a problem that i can't quite figure out and I'm sure someone else has done this but i have searched the forums and didn't find anything suitable myself.
    I'm trying to save configuration files for my program and then reload them back in so that i can get the same state of the controls.  One of the controls I'd like to save into the configuration file is a VISA control.  has anyone figured out how to save this into configuration files?  I know that OpenG has a write variant to config but Id like to stay away from 3rd party stuff as much as possible.  Does anyone have any suggestions as to how to get around this?
    Thanks
    Brent 
    Solved!
    Go to Solution.

    The alternative to Write Keys, if you don't want a text file, is a BIN file. I do it this way when I don't want users poking around text file trying to change things, and/or for security. And it's fast.
    The attached picture shows, in general, how to do it.
    Richard
    Attachments:
    saveSettings.gif ‏11 KB

  • How i can to create a vi, which read from configuration file and i could modify this indicator and save the config data??

    Hi guys,
    I have in my application a subvi which i use to save the configuration of application. I create one file with the last saved configuration, and i would like to open this values and that i could to modify this indicator value, but i cant since to modify i need 'numeric control' and to read the data from file i need 'numeric indicator '...
    I thought, use a numeric control and use the values from file to the default values, but i didnt get to find the property node to adjust it. is it possible? or any different way to get it....??
    Also, i attached the capture file.. i would like the program DOESNT SHOW the question of
    replace the file!!. i would like directly replace the file when i push save.
    Thanks, i attached the vi.
    Attachments:
    options.vi ‏43 KB
    config.cnf ‏1 KB
    capture.GIF ‏43 KB

    Hi Dennis,
    Your 'write to sreadshhet mod' suprime the dialog of replace file or not!, i want when i push save, it show the dialog input name of file and show the default sim000 but when i push this sim000 and this file already exist, then show the dialog to replace or not, if i replace Ok not problem, but when i push cancel replace it shows error eof!!!.
    Your file, only remove this dialog and only replace the file directly.
    i put the capture, when i choose the file to save and the program say to me this file exist and it give me the option of replace or not,i want when i push cancel replace it continues running without get error.
    is it possible?.
    Thanks.
    Regards, Fonsi.
    Attachments:
    capture.GIF ‏71 KB
    example.vi ‏40 KB

  • How to save multi channel data in a same file?

    hi... i'm a fresh guy of labVIEW programming... what i wish to know is how to save multi channel in a same file? i had try with the AI acquire waveform, but it still can't get what i need. Because AI acquire waveform need user key in those channel with ","... but ehat i want is user can choose the channel from a combo box and then once user click a 'add' button then the value will store in memory, after user click done then the value can send to AI acquire waveform together...
    i had tried hard about this but still can't get what i want.... -_-|
    hope anyone can reply as soon as possible...

    HI, Brett B... thanks for your reply
    I'm using labVIEW 7.1 Express... i know the "Write LabVIEW Measurement File.vi" too, but it cannot support the file tpe that i need... so i just can find other way to do that...
    the file type that i need is call *.log\*.DAT... so... there got any solution to do that? or i can modified the "Write LabVIEW Measurement File.vi"?
    Jaxx

  • Location of xdodelivery.cfg delivery Configuration file and how to use it

    I am trying to use xdodelivery.cfg for setting various Server Properties and calling
    this in my Delivery Wrapper Java Program.
    First of all i am not able to find this file anywhere on Oracle Apps APPL_TOP,So i have created this xdodelivery.cfg file in $CUSTOM_TOP/resource directory.
    Then in my Java Program I have set Java system property by calling java.lang.System.getProperties().put("XDO_TOP", "/path/to/xdotop") which points to Physical Directory of as CUSTOM_TOP as /u01/app/appltop/cust
    Then i am Calling req.setServer("PRINTER_NAME") method in Java Wrapper Program to call PRINTER_NAME properties.
    But i am not able to get any success in it. User Guide is mentioning following thing
    "The location of the configuration file is
    {XDO_TOP}/resource/xdodelivery.cfg
    where {XDO_TOP} is a Java system property that points to the physical directory.
    This system property can be set in two ways:
    • Pass -DXDO_TOP=/path/to/xdotop to the Java startup parameter
    • Use a Java API in your code, such as java.lang.System.getProperties().
    put("XDO_TOP", "/path/to/xdotop")
    The system property must be defined before constructing a DeliveryManager"
    Please give me solution of how to go about it .I mean using xdodelivery.cfg file
    Thanks
    Darshan

    Hi,
    I am facing a similar issue while using the configuration file, can you please list out the steps for setting the XDO_TOP Java System property, I have tried setting a Run Time environment variable XDO_TOP to the path of the xdodelivery.cfg file in my qapache port, but the file is not getting picked up.
    Any pointers would be appriciated,
    Thanks,
    Ankul
    [email protected]

  • Reading Encrypted Password from Configuration File and Decrypt it at login

    Hi All,
    My application reads a configuration file to connect to the ORACLE database. The values defined for password are clear text as given below:
    user: 'mh'
    password='abcd1234'
    Is there is any way I can give an encrypted password in the configuration file instead of a clear text file and at the time of login ORACLE decrypts it. I am using ORACLE 11g Database.
    My company have a requirement that passwords are not stored in the clear in properties files. the reason being I suppose that if the password is stored in plaintext someone could hit the property file directly, get the password and then connect to the database with it.
    For a regular user connecting through an Oracle client or SQL Developer they would need to have the plaintext password in order to connect.
    its based on the requirements of
    International Standards Organization Guidance
    ISO 17799 � 9.5.4 requires password management systems to:
    � enforce the use of individual passwords
    � allow users to select and change their own passwords if appropriate
    � enforce a choice of quality passwords
    � force regular changes of passwords
    � maintain a record of previous user passwords to prevent re-use
    � not display passwords when they are being entered
    � store password files separately from application system data
    � store passwords in encrypted form using a one way encryption algorithm
    � alter default vendor passwords following installation of software
    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.
    I have feeling there is a way of configuring this in Oracle advanced Security, but just can't quite get it to work.
    Edited by: user5568473 on 20-May-2013 00:05

    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.... and neither can your application. Encryption is needed in this case. The decryption must be written into your application. I've written my own in some cases, but finding a library for your development language is a smarter solution.
    One alternative is using an Oracle wallet. It doesn't fit every circumstance and does have some maintenance headaches.
    You can set up a basic secure password store to encrypt and store the password for a given user@instance combination, and then connect to the database without passing a password. SQL*Net adds in the appropriate password from the wallet for when you connect.
    http://www.oracle.com/technetwork/database/security/twp-db-security-secure-ext-pwd-stor-133399.pdf
    Advanced Security Option also allows you to set up a Public Key Infrastructure connections (SSL encryption and/or authentication). It also uses a wallet to store the SSL certificates and credentials. I don't have personal experience on this approach.
    SSL and the wallet allow you to connect to the database similar to CONNECT/@net_service_name or sqlplus /@net_service_namehttp://docs.oracle.com/cd/B28359_01/network.111/b28530/asossl.htm#CIHCBIEG

  • Configuration files and variables

    All,
    Sorry if this is a repost - I thought I posted it earlier today but I can't find it by searching for my username :(
    I've got an application that I would like to enable so that it works with a configuration file. In perl I would use one of the CPAN Config modules and I then just create a file in the form of
    NAME=VALUE
    I want to be able to set various things based on values in the configuration file, but I have no idea what is considered best practice in Java for doing this. The application is a slideshow app, so I want to set things like window size and slide delay.
    At a point in the future, I will probably want to make the application able to modify / create this configuration file using the application interface.
    In light of these questions, what is the best way of achieving this ?
    Thanks in advance,

    java.util.Properties can be used to store the name,value pairs specified in the file. New name,value pairs need can also be added to the file back.
    The following code may help you out..
    I have a file named props.txt having the values
    Name1=Value1
    Name2=Value2
    The following code will read the values, modify the value for a kay and add a new key,value and updates teh file with these changes.
    public class ReadProperties {
        public static void main(String[] args)
            try
                String strFileName = "props.txt";
                Properties prop = new Properties();        
                InputStream inp = null;        
                ClassLoader classLoader = null;
             classLoader = ReadProperties.class.getClassLoader();
                if (null != classLoader)
                     inp = classLoader.getResourceAsStream(strFileName);
               else
                    inp = ClassLoader.getSystemResourceAsStream(strFileName);     
                prop.load(inp);
                //This block is used to list all the properties in the file
                Set s =  prop.entrySet();
                for(Iterator it = s.iterator();it.hasNext();)
                    Map.Entry map = (Map.Entry)it.next();                              
                    System.out.println("map.getKey().toString() : values :  " + map.getKey().toString() + " : "+ prop.getProperty(map.getKey().toString()));               
                // To get only a particular key's value, use
                System.out.println("value for Name1 : " +prop.getProperty("Name1"));         
                //This is to set the proeprties dynamically into the object.
                prop.setProperty("Name3","Value3");
                prop.setProperty("Name1","Value1");
                //If the dynamically aded proeprties neded to be stored in the file.. use the following
                prop.store(new FileOutputStream("props.txt"),null);          
            catch (FileNotFoundException e)
                e.printStackTrace();
            catch (IOException e)
                e.printStackTrace();
    }Regards,
    Raviprakash.D

  • LAF Configuration File and OHW customization

    1) It is not quite clear how to set up my own look and feel without changing the default cabo xss styles. As you show in presentation I have to register XML file (like amazon-laf.xml) that defines custom LAF in uix-config.xml. But I couldn't find the format specification of such configuration file (i mean amazon-laf.xml).
    2) Is there any possibility to separate the node image of collapsed and expanded branches in TOCTreeNavigator mode? I'd like to have two difeerent images instead of single tn_chapter.gif.
    3) When i change the background color of html pages (topics and/or main header) white region appears between frames and frames are resizable. Is it special feature? Setting "border" attribute value of <html:frameset ...> element to 0 (viewTopic.uix) should remove this region.

    I happen to know that LAF customization isn't very well documented in UIX, and that UIX isn't exactly getting a lot of attention within Oracle. So trying to get the exact customization details from the JDev team (the UIX forum isn't active any more) is quite difficult.
    For us outside of Oracle, using OHW/OHJ may require us to do customization. If Oracle doesn't plan to document the customization, I understand, but please don't simply pass us on to another group that will understand the question even less.

  • How can I save my keynote presentation as one single file and not a folder

    I use the latest kerynote version and I would like to upload the presentation as a single file to a collaboration solution.
    How can I save my presentation as one single file and not as a folder?

    Keynote "files" are not single files, they are packages which contain all the individual files that the presentation requires.
    Some online storage systems such as Google Drive show Keynote as a folder.
    We use Dropbox to distribute all our file types and Keynote does not have an issue using that.

  • [SOLVED] Check for old configuration files and directories in ~/

    Hello,
    Since I started with Arch I tried and uninstalled a few programs and would like to check for possible left overs in ~/
    I tried the "lostfiles" script, but it does not seem to check the home directory. Then I followed this: https://wiki.archlinux.org/index.php/Pa … ny_package - But using the suggested alias in my bash, it gives me the below:
    $ pacman-disowned-files
    [sudo] password for [my user]:
    bash: -path: command not found
    bash: /root: Is a directory
    bash: -print: command not found
    What am I doing wrong?
    Regards
    Martin
    Last edited by onslow77 (2015-02-04 23:52:44)

    Hello,
    ohh, I see, I need to do this (in directory where I put the script)
    sh pacman-disowned -files > test.txt
    That solved the usage of the commands, but it does not however list files [in the test.txt file] that do not belong to any package in my ~/ directory (I put a dummy file in my ~/ to see if it got noticed) - but it did not. So how can I list files and directories in my ~/ directory that is not put there by any package that currently is installed?
    Regards
    Martin
    Last edited by onslow77 (2015-02-04 22:49:11)

  • Configuring file and JDBC adapter using MAX DB

    Dear Experts..!!!
    The problem description is i need to store a text file in Database(MaxDB).....
    in receiver communication channel there is database connection in that i want to know what entrys to be done..... and plz do let me know is there any other things to be done to achieve the output.

    Hi Vinod,
           I also do not have idea about MaxDB, but you can refer these links. It will help you out in getting some more information about MaxDB and XI:
    <a href="/people/joerg.hoffmeister/blog/2006/12/07/maxdbsdn:///people/joerg.hoffmeister/blog/2006/12/07/maxdbsdn
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/maxdb">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/maxdb</a>
    Go through the home page of MaxDB on SDN, it has plenty of information to help you.
    Regards,
    Subhasha ranjan

Maybe you are looking for

  • I am trying to simulate sequential threads ...

    Hi , I am trying to simulate a load testing scenario on our Java Connector Implementation ( JCA) through a test class.I would have loved to use a load testing tool like JMeter but unfortunately JMeter doesn't have built in JCA sampler. Basically I am

  • PL/SQL API for Creating Sales Order

    Hi, I am new to Oracle SOA 11g. I have done the Deleting Sales Order using PL/SQL API ( Oracle Apps Adapter ) [ API Name: OE_ORDER_PUB.DELETE_ORDER ] in SOA BPEL. While executing the BPEL, it is correctly deleting Sales Order in E Business Suite whic

  • Error Message in RSo2 Transaction

    Hi gurus,                 When I tried to view a Data source in RSO2 Transaction. It is saying that  "There is no application component TRANSACTION DATA." I dont know what is that means. If some body knows if you could explain to me that would help m

  • LR5: yellow/sepia highlights

    Been using Win 7, LR4, installed LR5. Pure white image highlights now display as yellow/sepia, with both color and B/W images. This happens in Library, Develop, Print, thumbnail strip. In Print module, images have the sepia highlights, but the backgr

  • Financial statement Branch Locaton wise & Product division wise

    Hi All, we have activated profit centre accounting, and we have an requirement of branch wise FSV.  In one company code we have four different types of business, like(FMCG,Iron manufacturing, financial etc.) and all the business is happening in all t