Copy a configuration into Multiple Variable Editor

Using the Multiple Variable Editor in LabVIEW could be improved by being able to copy column entries from excel or a text file into the editor.
 

This appears to belong to the Real-Time Idea Exchange forum:
http://forums.ni.com/t5/LabVIEW-Real-Time-Idea-Exchange/idb-p/lvrtideas
based on these requirements:
http://zone.ni.com/reference/en-XX/help/371361H-01/lvdialog/dsc_spconfigdb/

Similar Messages

  • Open Multiple Variable Editor in VI

    Hi folks,
    is there any way to open the Multiple Variable Editor programmatically in a VI?
    ATM i'm migrating a measurement logging system from LabVIEW 7 to LabVIEW 2010 which means i'm mostly rewriting the code for use with shared variables. It would be useful if the measurement engineers could reconfigre - e.g. rescale or smthg - variables when the software is already running as it was somehow possible with the Tag Configuration Editor, and instead of writing these menus again i'd like to pop up LabVIEWs MVE or the builtin properties page of a shared variable.
    Hints, useful links or any other help welcomed!
    Matthias

    Hello Matthias,
    i have found some links concerning your request. Maybe the following one is the most suitable to your problem:
    http://forums.ni.com/t5/Real-Time-Measurement-and/Programmatically-modify-project-SV-properties/td-p/784181
    The further 2 Links contain additional information to your issue:
    save to library VI:
    http://zone.ni.com/reference/en-XX/help/371618F-01/lvdsc/dsc_save_to_lib/
    how do i programmatically change the data binding source for shared variables:
    http://digital.ni.com/public.nsf/allkb/2E8BAD0EA218A7558625712E0003F044?OpenDocument
    Maybe this helps.
    Best Regards
    Stefan
    

  • LV 8.2 DSC Multiple Variable Editor - Import/Exp​ort bug?

    Hi,
    Has anyone used the export/import feature in the Multiple Variable Editor in LV DSC 8.2?  I'm having problems importing a Comma Separated Variable (CSV) file and it fails to include the "Bind to Source" parameters.
    You can test this by simply exporting a bound variable and then importing it into a new library.  Not all the features are imported.
    Is this a bug or have I simply not read the documentation or is it not meant to work like this!?
    ...Andy
    Lead Engineer, Controls and Electrical
    Irvine CA

    Rudi,
    Apparently this has been identified by Doug Mumford (NI) in an email to our consultant (ThinkG):
    "There is a bug in the importing/exporting of CSV files using the Multiple Variable Editor. This will be addressed in the next maintence release of LabVIEW. Attached is a VI that should fix this -- make a backup of the original and replace it with the attached VI. The path to this VI is <labview>\resource\dialog\variable."
    See Doug, he'll have the VI.
    The bug omitted a ":" e.g. "Network Buffsize" instead of "Network:Buffsize" so that when items were imported back in the items were loaded incorrectly.
    Regards...Andy
    Lead Engineer, Controls and Electrical
    Irvine CA

  • Copy a file into multiple folders action

    Hello All,
    I'm looking for help with a seemingly difficult action; I want to copy a text file into every folder within a location, if its not already there.
    I have over 100 projects ready to go out, and need to add a copyright notice .rtf file into each folder. Is there a way I can get Automator to do this? It would save me some time now, and certainly in the future.
    Thanks.

    rajneesh kumar wrote:
    -- Ask DBA to grant read , write privileges on this particular directory to your oracle user ie
    -- grant execute ON utl_file to your_user;
    -- grant read,write on directory john_test_dir to your_user;
    -- ALTER SYSTEM SET utl_file_dir = 'e:\jp_test\image_dir' SCOPE=SPFILE;
    -- restart the instanceNO! NO! NO!
    You should no longer use the utl_file_dir parameter as this has been deprecated by Oracle and replaced with directory objects. Setting the utl_file_dir parameter will leave your file system open to users corrupting files if you are not careful. This parameter should be unset of any value if it has any value set in it and you should set up directory objects instead.
    The correct thing to do is to create a directory object e.g.:
    CREATE OR REPLACE DIRECTORY mydir AS 'c:\myfiles';Note: This does not create the directory on the file system. You have to do that yourself and ensure that oracle has permission to read/write to that file system directory.
    Then, grant permission to the users who require access e.g....
    GRANT READ,WRITE ON DIRECTORY mydir TO myuser;Then use that directory object inside your FOPEN statement e.g.
    fh := UTL_FILE.FOPEN('MYDIR', 'myfile.txt', 'r');Note: You MUST specify the directory object name in quotes and in UPPER case for this to work as it is a string that is referring to a database object name which will have been stored in uppercase by default.

  • Copy Field Formats into multiple fields

    I have a form that has a spreadsheet layout. Multiple fields need to be formatted as currency or date. Outside of using Java scripts is there a way to copy the formatting of one filed to multipe others? I want to avoid Java script because I'm lousy with it.

    Is it possible to have each field separated by a comma? Space
    delimiters won't work since not all cities & states are one
    word (ie. New York, New York) however a comma delimiter would allow
    you to use simple list functions to extract the data.
    If this isn't possible but the data is always in the format:
    city<comma>state<space>zip, then you could extract the
    city using comma as the delimiter and then extract the zip code
    using the ListLast() function with space as the delimiter which
    would leave you with the state as the remaining text. This would
    only work however if your data is consistently in the format
    described above.
    Failing this you could build two tables with states and
    cities and then use them to identify valid states and cities and
    extract the data that way.
    cheers

  • Looking to expand hard drive configuration into multiple Raid Drives...how

    I'm want to put either two or three new drives into my new mac pro. I'll be using them for video editing
    .....how hard is it (or wise) to link them in a SCSI configuration? How would I go about doing this?
    ....I'm not anywhere near a "gear guy" but I'm not stupid either (at least that's what my mom told me......heh)
    I was told that an "enterprise class" is the way to go on the type of hard drive, so I'm planning on getting that type of drive.
    Thanks for any help in advance.

    No one almost uses SCSI - and I was a die-hard. Even SAS isn't worth the trouble generally.
    A fast boot drive is helpful and SSDs or 10K WD SATA VelociRaptor (150-300-600GB capacity). Most just go for 1-2TB drives.
    Software RAID using Apple Disk Utility. Backups, 2-3 sets.
    With no real experience with RAID or setting things up then you are left with experimenting and testing what you know and can do and keeping it simple at first.
    And most people do use 4 drive bays and then externals for backup and more.
    SCSI generally means ATTO or LSI or others with a large up front cost in controller, cables and disk drives, that part hasn't changed much in 10 yrs. but SATA II/III has more options today.

  • Copy the result of Execute immediate result into a variable.

    Hi All,
    Is there any way to copy the result of execute immediate result into a variable.
    am doing following steps but am getting an error.
    varSQLstmt1:='select count(*) into'||vararch_ct||' from '||vararch_count;
    dbms_output.put_line(varSQLstmt1);
    execute immediate varSQLstmt1;
    But am getting sql statement as select count(*) into from SALES
    the variable(vararch_ct) is missing in select statement .
    please help me to solve this issue. Or is there any way to insert the count of records into any variable.
    Thanks
    Sree

    declare
    varSQLstmt1    varchar2(4000);
    v_count          number;
    begin
    varSQLstmt1:='select count(*) from '||vararch_count;
    dbms_output.put_line(varSQLstmt1);   
    execute immediate varSQLstmt1 into v_count;
    dbms_output.put_line('Coutn :: ' || v_count);
    end;

  • Store multiple values into a variable

    I was wondering if it was possible to store multiple values into one varaible. Something along the lines of...
    Oracle: 10g
    --Table xSample (this is obviously a dumbed down version of the table for the sake of showing what I want to accomplish
    S_ID   YEAR
    1         2009
    2         2009
    3         2009
    4         2009
    --Query
    select     s_id
    into       pID
    from      xSample
    where    year = 2009;Basically the reason I was trying to figure out how to store multiple values into a variable is b/c I was going to use that variable (pID) as a parameter and have it's values passed dynamically when the proc was called. The values would go into a query that would look something like:
    select *
    from cust_data
    where person_id in (pID)
    aka
    select *
    from cust_data
    where person_id in (1,2,3,4)Not sure if this is possible, but if anyone knows of a way I could accomplish this that would be great.
    Edited by: user652714 on Dec 23, 2009 9:37 AM

    Here's a basic idea building a comma seperated list, then consuming it in another query (taking the in list approach from Tom's post, linked earlier).
    create table xsample (s_id number not null, year number);
    insert into xsample select level, 2009 from dual connect by level <=4;
    commit;
    declare
       --4000 should be lots ... hopefully?
       v_parameter_list varchar2(4000);
    begin
      --create the comma seperated list
      select
        substr(max(sys_connect_by_path(s_id, ',') ), 2, 4000)
      into
        v_parameter_list
      from
        select s_id, row_number() over(order by 1) as rn
        from xsample
        where year = 2009
      start with rn = 1
      connect by prior rn = rn - 1;
      --consume the comma seperated list
      for x in
        with data as
          select
            trim( substr (txt,
            instr (txt, ',', 1, level  ) + 1,
            instr (txt, ',', 1, level+1)
            - instr (txt, ',', 1, level) -1 ) ) as token
          from
            select ','||v_parameter_list||',' txt
            from dual
          connect by level <= length(v_parameter_list)-length(replace(v_parameter_list,',',''))+1
        select *
        from xsample
        where s_id in (select * from data) 
      loop
        dbms_output.put_line('next item = ' || x.s_id);
      end loop;
    end;
    /

  • How can I copy and paste a local variable into a custom type?

    I have a container variable that I want to copy and paste into a custom data type. So I open TestStand's Type window, expand Custom Data Types then right click on <Right click to insert Type> and the Paste option in my popup menu is disabled. How do I get my exact data type there?
     

    Hi
    A workaround :
    Create a container type in the custom data types.
    Under that i could copy the container.
    Hope it helps.
    Ravi

  • How to select data into multiple bind variables

    Hi,
    I need to load data into multiple bind variable how to do that
    As of now i am using this
    select a , b into :a, :b from dual
    But i want even a to be loaded into both :a and :c also b to be loaded into :b and :d Please suggest
    Thanks
    Sudhir.

    Thanks much it worked
    Thanks
    Sudhir

  • Copy Standard Variable into Z variable.

    Hi all,
    I am using a standard variable 0DAT in the query for 0calday.
    Now i want to make a clone of the same variable.i.e i want to copy it with the same structure into Z variable.
    Also, 0DAT is having SAP Exit and that should copy to Z variable.
    Please suggest.
    Regards,
    Macwan James.

    Hello,
    User exit are variable specific, so if u create new z variable you have to write your own user exit.
    Its pretty simple to create:
    1) Create Zvariable type user exit with single and no ready for input
    2) In CMOD write a simple code for this variable as
    when 'zvariable'.
    if i_step = 1.
    l_t_range-low = sy-datum.
    l_t_range-sign = 'I'.
    l_t_range-opt = 'EQ'.
    Regards,
    Shashank

  • Store results into a variable...

    How can I get a result I need into a variable, that I can use in a subsequent query.
    My initial thought was something like:
    select emp_id into MyVariable
    from emp where emp_NAME='Kevin';
    select * from emp
    where emp_id='&MyVariable';
    I'm doing this in TOAD, and I need to manually type the 'Kevin' once, and use the MyVariable in a series of queries; otherwise I would just use ACCEPT, and ask for the Name, and lookup the emp_id. But this is not what I need for this.
    I've tried OBG (Oracle By Google) which suggested something like:
    DECLARE
    MyVariable number;
    BEGIN
    select emp_id into MyVariable
    where emp_NAME='Kevin';
    dbms_output.put.line ('My Variable is ' || MyVariable);
    END
    But I'm getting and error on the dbms_output statement, and I can't seem to use the variable in a subsequet select statement!
    Appreciate any thoughts on this!

    I would advise putting the sql statements into a pl/sql block - then you could reuse the value
    declare
        v_my_var NUMBER;
    begin
        -- Get your value
        select ... into v_my_var from ... where name = 'Kevin' ...
        -- your first sql statement
        select  .... from .... where id = v_my_var;
        -- your second sql statement
        select .... from .... where id = v_my_var;
        etc.
    end;Toad does also provide for using the same value multiple times - for example, if you execute
    select &name from dual;   (any select statement)it will prompt you for a value for &name
    You can then have multiple statements after that in your sql tab
    select .... from .... where name = &nameand it will replace the &name with the value you previously entered. You need to use Editor -> Run as Script (F5) to run all the sql statements in your tab.
    Hope this helps.

  • Split the IDOC into multiple IDOC if the IDOC has more than 500 records

    Hi All,
    I developed an outbound IDOC in which we are facing an issue.
    There is some limitation on the maximum idoc size it can handle.
    If number of records is more than 500, split the idoc into multiple iDoc's, e.g. if it would have 1300 records , the result would be 2 iDoc's with 500 records, and the last one would have 300 records
    How can i acheive this.
    Regards
    Jai

    Hi,
    1) first you need to know which message type/Idoc type you are triggering.
    2) Get the Corresponding processcode from Partner profiles(WE20/ WE41).
    3) Then the look for prper user-exit in the related processing FM.
    4) write logic to split the IDoc accordingly.
    if no proper user exit available then copy the standard processing FM and need to all ALE related configurations.
    Catch hold any ABAP expert in your team to do all these.
    Suresh

  • How to Split Single Outbound Idoc into Multiples

    Hi guys
    Hope you all are doing good.
    Can you please let me know , How to Split Single Outbound IDOC into multiples.
    I am looking for some sought of configuration in IDOC/from SHIPMENT Configuration level.  Because this needs to be implemented for Shipment IDOCS.  Please let me know if this can be done through configurations apart from implementing  User exit or copying the outbound shipment function module.
    Awaiting for your valuable replies.
    Best Regards
    Shiva

    Hello,
    1. Routes
    2. Packaging used
    3. Shipment Type
    Regards
    Waza

  • Insert more copy-of-instance into not-finished-still-working multi-join

    Hi,
    any one can help me how to insert more copy-of-instance into not-finished-still-working multi-join circuit?
    my customer told me a fuzzy question.

    There is nothing out of the box that will let you create more copies inside a Multiple / Join once it has already created the original copies.
    What you could do is to have an Automatic activity create a certain number of work item instances into another process (called "spawned" process in the rest of this thread). One of the argument variables passed into the spawned process instances would need to be a unique correlation id for the original process instance. From the Automatic activity in the original process, the instance could flow into a Message Wait activity where it would wait to be notified once the last of the spawned work item instances complete. A count of number of work item instances created in the spawned process would need to be stored into an external database table. Just before each of the work item instances reached their End activity in the spawned process, they would do two things:
    1) any information gathered in the spawned process would need to be stored in the database and
    2) the count in the database would be decremented.
    If the count is zero (the last one in the spawned process to complete), it would send a notification to the Message Wait activity in the process that spawned the work items. The original process would then need to read the external database to read the information gathered by the spawned process instances.
    If you do this, to add another "copy", you would just need to do two things:
    1) create another work item instance in the spawned process and
    2) increment the count in the external database by one
    Hope this helps,
    Dan

Maybe you are looking for

  • Mavericks won't install on Mac Mini Server

    I am trying to install Mavericks on a headless Mac Mini Server. After I enter my admin password, the install stops with the error: An error occured while preparing the installation. Try running this application again. I have verified the disk - no is

  • Problem in x3

    my phone x3 nokia shows 4 numbers in log , which when deleted remins there..what should i do to format it.i formatted it, but it still shows the 4 no.'s.and when i delete them, my phone is turned off

  • Resolutions not detected...

    I have two Samsung HD (1920 x 1080) monitors connected to my MacBook Pro running 10.7.5 via a Zotac HDMI dual adapter to the computers Mini display port. My computer had been detecting these monitors as a single 3840 x 1080 resolution monitor (ie. th

  • Webarchive does not open since I upgraded to 10.8.4

    I upgraded from 10.6.8 to 10.8.4 and now I cannt open anything ending  webarchive

  • Can I upgrade Anygantt to v 4.1.0 on Apex 3.2.1

    I guess what I really need to understand is what the licence arrangement is between Oracle and AnyGantt. I assume that if we are using Apex then we are covered for AnyGantt licences and I also notice that Apex 4.0 is using the latest version of AnyGa