How to create a vi that can be connected to any type of array

I would enjoy to create a vi that can perform an operation (like resizing) on any type of array (array of string, of cluster, of num,...): Which type of control or indicator could I use for this purpose? Any Idea?
Thank's for your help

Olivier,
to do this you have to use a variant input. You can wire any type of data to a variant input. Inside the VI you flatten the variant to a string. The flattened string of an array contains both data and length of the array. You reshape the array manipulating the string. When done, you unflatten the data to a variant and output it from the VI. The caller has to convert the variant input to the source array type. OpenG.org provides a quite extensive toolkit to manipulate variant data. Some VIs specifically manipulates arrays. To see a description of VIs go to : http://opengtoolkit.sourceforge.net/lvdata/index.html
LabVIEW Data Tools can be downloaded from http://sourceforge.net/projects/opengtoolkit/
You need both packages lvdata AND error.
LabVIEW, C'est LabVIEW

Similar Messages

  • How to create a user that can login the LDAP?

    I want to create a user that can login the OID/LDAP. I know how to create a user, it is allowed to login OIDDAS, but I also want the user to grant access to ldap directly. How do i do that?
    And how can I give it read rights and or update/delete rights on a specific tree?
    Regards
    Eelco

    Eelco,
    did you see the OiD developers guide? Here you find some examples how to create users in OiD using pl/sql or java.
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95193/smplcode.htm#637294
    how to use directory access control can be found in
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95192/access.htm#1054232
    --Olaf

  • How to create a JButton that can run other Apps?

    Hi, Every1
    i want to create a JButton which can let the user click it and it runs a
    specified installed app in the system ( say, a JButton that fires up MS
    Outlook). how can i do that?
    thank you very much.
    Yu.

    hi, if i want to execute some kind of the following, how would i handle it?
    mailto:[email protected]
    i tried: Runtime.getRuntime().exec("mailto:[email protected]");
    but it gave me java.io.IOException: CreateProcess: mailto:[email protected] error=2
    i think this problem would be relatively easy but i just cant figure out.
    thanks

  • How to create PDF files that can't by copied by MAC

    Hi,
    I need to create pdf files that I can put on my website, that cannot be copied or edited by MAC users. I have created pdfs that can't be copied by Windows users, but they're still copyable by Mac users.
    Thank  you!
    Alicia

    Your Windows users must be exceptionally uninformed...

  • How to create a DVD that can play on a computer

    I've finally become familiar with using Premiere Pro CS3 and Encore. When I'm creating a DVD I understand that it will be played on any standard DVD player but I would also like to have it play on a computer. Is there a setting which will allow this to happen?
    I've tried playing it on my PC as well as another, but nothing happens.
    Have I overlooked something?
    Thank you.

    Persius,
    Nearly every DVD that will play on a set-top player *should* play on a computer, provided two things:
    1.) the computer has a DVD player that can handle that flavor of DVD media, DVD RW, DVD-R, DVD+R, DVD DL, etc.
    2.) the computer has a software player installed. This feature has been removed from some common media players. You may need to locate, download and install a separate software player.
    There could be another discussion on interlaced vs progressive scan media, but I'll let you ask that question.
    Hunt

  • How to create BI templates that can appear on Blackberries

    Hello,
    I am trying to create web templates that will appear on some BI users' blackberries. They use Blackberry models 8110 and 8520. Using the Blackberry simulator for testing, I have managed to get the web templates to appear on the Blackberry screen.
    Unfortunately, I cannot display output in a table or graph format. Right now all I get is a line by line text display. I also cannot get variable screens to appear. We are using BI version 3.5 to create the templates. I understand it is not possible to use BW 7 for this purpose.
    Does anyone know of any tricks or techniques to get table or graphical web template output to appear on a Blackberry screen?

    Persius,
    Nearly every DVD that will play on a set-top player *should* play on a computer, provided two things:
    1.) the computer has a DVD player that can handle that flavor of DVD media, DVD RW, DVD-R, DVD+R, DVD DL, etc.
    2.) the computer has a software player installed. This feature has been removed from some common media players. You may need to locate, download and install a separate software player.
    There could be another discussion on interlaced vs progressive scan media, but I'll let you ask that question.
    Hunt

  • How to create a latch that can latch the input data for 50ms?

    Now I have some data come from the sensor. I want to latch this data for 50 ms and then reset it to 0. Does anybody do this before? Thank you

    Now I am using the "two button dialog" to create a dialog box. After the dialog box pop up, I choose "yes" the "two button dialog" will output a "True". My problem is that this "True" disapear too fast. My while loop frequency is only 20Hz. And I want to send this "True" value to somewhere. However the two "button dialog" will clear this "True" after 10ms?. So I always got a "false" value. How to "Freeze" this dialog box output value for at least 50ms? How to create a latch to hold this value?
    Attachments:
    Two_button_Dialog.bmp ‏1132 KB

  • Can we create a cursor that can hold records of any table

    DECLARE
         CURSOR cr_tablenames IS
              SELECT tname
              FROM tab;
         v_tablename tab.tname%TYPE;
    BEGIN
         OPEN cr_tablenames;
         LOOP
              FETCH cr_tablenames INTO v_tablename;
              EXIT WHEN cr_tablenames%NOTFOUND;
              DBMS_OUTPUT.PUT_LINE('Table: '||v_tablename);
              -- HERE, I WANT TO PERFORM SELECT * OPERATION ON
              -- EACH TABLE WHOSE NAME COMES INTO v_tablename
              -- AND DISPLAY THE RECORDS
         END LOOP;
    END;
    I want to perform SELECT * operation on each table whose name comes into the variable and display the records. How to achieve it? I am clueless.
    Can this be achieved by something like... using cursors which can be defined dynamically and which can hold records of any table?
    Or, do I need to have some different approach to this problem?
    Edited by: kartins on Nov 5, 2009 11:41 PM

    something like
    SQL> create or replace
      2  function getContent (p_tn in varchar2)
      3     return sys_refcursor
      4  is
      5     retval sys_refcursor;
      6  begin
      7     open retval for
      8       'select * from '||p_tn;
      9     return retval;
    10  end;
    11  /
    Function created.
    SQL>
    SQL> var rc refcursor
    SQL>
    SQL> begin
      2     :rc := getContent ('emp');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print rc
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        900                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1700        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1350        500         30
          7566 JONES      MANAGER         7839 02-APR-81       3075                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1350       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2950                    30
          7782 CLARK      MANAGER         7934 09-JUN-81       2551                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3100                    20
          7839 KING       PRESIDENT            17-NOV-81       5100                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1600          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1200                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81       1050                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3100                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1400                    10
    14 rows selected.
    SQL>
    SQL> begin
      2     :rc := getContent ('dual');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print rc
    D
    X

  • How to create a DAD that allows multiple connection to database

    many users can access through the same dad

    In OAS4.0.8, open the Database Access Descriptor Form, and uncheck the option, "Store database username and password in the DAD".
    This prompts the user to enter a username and pwd when accessing the database. Even if you specify one set of values while creating the DAD, you can specify any other valid username and password from the browser.
    However, it would be interesting to figure how to do the same thing in versions > 4 where do not have an OAS manager interface.
    If you figure how to set it in the conf files, fdo let me know as well.
    Viji

  • How to create a form that can auto-populate all fields based on a specific selection?

    We have created a template for each type of package used in our business.  The template is the same but depending on the package selected, the fields would be populated differently.  How can we create a template to load the fields based on the specific package selected?  We use Adobe Acrobat Pro in creating the templates.

    This forum is for the Adobe FormsCentral (http://formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask Acrobat/PDF related form questions in the Acrobat forums:http://forums.adobe.com/community/acrobat/acrobat_windows
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • How to create stored procedure that can be read through Hyperion intelligen

    hello everyone out there. I need some help I create a select stored procedure and would like to run it through Hyperion intelligence with some input parameters. The procedure is not working. it is throwing an error when I execute it through Hyperion. Also how do I put multiple values like an array sort of things in a where clause like this where name in('test', 'test1). I place the stored procedure below any help will be greatly appreciated.
    CREATE OR REPLACE PROCEDURE emp_by_dept (
    p_deptno ert_dept_t.dept%TYPE
    IS
    emp_refcur SYS_REFCURSOR;
    v_dept ert_dept_t.dept%TYPE;
    v_deptname ert_dept_t.deptname%TYPE;
    BEGIN
    OPEN emp_refcur FOR SELECT dept, deptname FROM ert.ert_dept_t WHERE dept = p_deptno;
    DBMS_OUTPUT.PUT_LINE('dept deptname');
    DBMS_OUTPUT.PUT_LINE('----- -------');
    LOOP
    FETCH emp_refcur INTO v_dept, v_deptname;
    EXIT WHEN emp_refcur%NOTFOUND;
    END LOOP;
    CLOSE emp_refcur;
    END;

    Chrome has its own PDF viewer plugin that is quite buggy when it comes to PDF forms (as do Firefox and Safari, by the way).
    So yes, the best solution is to download the file and then open it locally using Adobe Reader. However, you can't enforce that. It's up to the user and their browser settings. You can only recommend it to them.

  • How to create a plugin that can be installed on a webserver

    Hi,
    I want to create a program in java which can be installed as a plugin on a WebServer. Can anyone please give me some suggestions as how to go ahead with this.
    Thanks in advance
    -Raghu

    The means of writing plugins for web servers (Apache, IIS, iPlanet, etc.) vary widely and why would you want to do that anyway? Wouldn't a Servlet be a better idea?

  • How to create a SO that can be taken as account assignment object for PO?

    Dear all,
    I am trying to create a PO with ME21n and I want to assign the item to sales order item (SO). I put in account assignment group "C", but everytime I enter the SO number I get the message: "Account 612200 requires an assignment to a CO object                                                   
        Message no. KI235"
    So it seems that it does not recognize the SO as an CO object, although the help says you can assign to a sales order.
    What has to be done to get this assignment working?
    By the way "E" is also not working.
    Unfortunately I am neither in an individual purchase order scenario (because we do not always require a PR and moreover the material/service we must buy depends on many factors, so a subcontracting scenario with a BOM won't help neither) nor in a 3rd party order scenario.
    My scenario is: SO is entered. Sometimes we have to buy either a service or a material. Shipping is directly to us and we pay the supplier. When the whole SO is fulfilled we bill our customer for the material/services we bought for them and hopefully can put a little margin on top.
    Any ideas?

    Hi,
    i tried the same scenario, i was getting the same error but FICO consultant assigned the CO object to the GL acoount then it works i used the account assignment category C. but still i am testing this scenario because the cost is not going on SO.
    regards,
    Qasim

  • How to create interactive PDF that can be submitted through website?

    I have created an interactive PDF with a submit button at the bottom that will send to my email when clicked. However, when I uploaded the form to my website to test it, the form didn't do anything once I clicked the 'submit' form.
    So my question is: What do I need to do to allow the form to submit from my website? I am using Acrobat 9 Pro and Dreamweaver Cs5 if it makes a difference.
    Thanks!

    Chrome has its own PDF viewer plugin that is quite buggy when it comes to PDF forms (as do Firefox and Safari, by the way).
    So yes, the best solution is to download the file and then open it locally using Adobe Reader. However, you can't enforce that. It's up to the user and their browser settings. You can only recommend it to them.

  • How to create two UILoader that can be nested with each other and save the parent UILoader - as3

    Hi all,
    I am currently researching on the problem but I can't find any solution in the web.
    Here is my problem:
    I have two UILoader instance (loader_inner and loader_outer) I need to have loader_inner to be part of the loader_outer. I have also a button that will save all contents on loader_outer. Unluckily, when I trigger the save function, I only got  a white image file. I was expecting that the contents of loader_outer (with loader_inner) to be saved also.
    Note: background_1.jpg and rabbit.jpg are present in the directory. loader_outer and loader_inner where manually placed in the scene using UILoader component.
    Here is a code snippet:
    loader_inner.load(new URLRequest("background_1.jpg"));
    loader_outer.load(new URLRequest("rabbit.jpg"));
    loader_outer.addChild(loader_inner);
    var bitmapData:BitmapData = new BitmapData(loader_outer.width,loader_outer.height);
    bitmapData.draw(loader_outer);
    var jpgencoder:JPGEncoder = new JPGEncoder(100);
    var mybyte:ByteArray = jpgencoder.encode(bitmapData);
    var myfile:FileReference = new FileReference();
    myfile.save(mybyte,"test.jpg");
    My expected output should be that background_1.jpg and rabbit.jpg should be saved in an image file and must be positioned like the ones placed in the scene.
    Any ideas on this?
    Thanks ahead.

    the load method is asynchronous so you don't want to apply that draw method until both loads are complete.  ie, use a complete listener:
    loader_inner.addEventListener(Event.COMPLETE.loadcompleteF);
    loader_outer.addEventListener(Event.COMPLETE,loadcompleteF);
    var loadNum:int=0;
    loader_inner.load(new URLRequest("background_1.jpg"));
    loader_outer.load(new URLRequest("rabbit.jpg"));
    loader_outer.addChild(loader_inner);
    // you should declare these variables outside this function so there are no gc issues.
    function loadcompleteF(e:Event):void{
    loadNum++;
    if(loadNum==2){
    var bitmapData:BitmapData = new BitmapData(loader_outer.width,loader_outer.height);
    bitmapData.draw(loader_outer);
    var jpgencoder:JPGEncoder = new JPGEncoder(100);
    var mybyte:ByteArray = jpgencoder.encode(bitmapData);
    var myfile:FileReference = new FileReference();
    myfile.save(mybyte,"test.jpg");

Maybe you are looking for

  • Which ID i should provide

    It's sounds a bit stupid. I'm using a Airport Extreme in a Static IP network. The network will distributing IP based on pre-registered MAC address. From the back of the Device, there's two ID number 'Airport ID' And 'Ethernet ID' which one i should g

  • Huge TTL_WAIT_TIME in EBS

    Hi Gurus , I am using oracle apps 12.0.4 and database is 10.2.0.5. having integrated SOA. I have gather stats run weekly at default 10% with gather_auto option. when i query the active_session_history , i am getting the below result . TTL_WAIT_TIME  

  • I have k9n sli platnm having video play back issues

    When I hooked up with Comcast from Verizon I switched modems from DSL to cable modem all using my lan port for the internet and since then some of my videos won't play. Microsoft seems to think that it has something to do with open h.323 a couple of

  • ADSTARTAL.sh

    Hi, EBS 11i Is there a one line command to check if all the subprocesses of adstartal.sh are still active or running after sometime just to check or validate or monitor them? Something like to check the ff: adapcctl.sh - Apache Web Server Listener ad

  • Embedding a dtd with jdom

    Does anyone know how to embed a dtd into the xml using jdom? Thanks,