Pass 2D array from LabVIEW to C# problem

Hi , I have made a dll using .net assembly to use my labview code in c# . I can easily pass string , numerical and 1D arrays from labview to c# and vice versa, but when I want to read back 2D U16 array from Labview in c# I get the following exception although they have exactly the same type (ushort)
Cannot widen from source type to target type either because the source type is a not a primitive type or the conversion cannot be accomplished.
Could you please let me know how should I pass 2d array from labview to c#
Thanks

If all else fails, you could pass n 1D arrays across and then put the original 2D array back together. That's probably how the computer would do it behind the scenes, anyway.
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ

Similar Messages

  • How do I return a Boolean array from LabView to TestStand?

    I am trying to return a Boolean array from Labview to TestStand and have TS evaluate the results. I can do this for arrays of integers or reals but booleans do not work. I tried copying the PassFailTest step type and adding an array of Bool but I couldn't get it to evaluate the array. It simply always passed. How can this be done?
    Bob A.

    I have thought about evaluating the Boolean data in TestStand but, as you say, this is a lot of work. What I have been doing is to map the boolean data to integers in LV (very easy) and then use the multiple numeric step type to evaluate the integer array automatically. This feels kludgy and I have tried a couple of times to create a "multiple boolean" step type with little success. I'm surprised TS hasn't anticipated a test returning multiple pass/fail results. I do this all the time for production code.
    What I have tried is to copy MultipleNumericLimitsTest data type to a custom type and add a BooleanArray with a data type Array of Boolean[0..empty]. Then when I specify module, I select Step.BooleanArray as the value. The last step (that I know of) is to select Step.BooleanArray as the data source in the edit limits window. At this point if I run the test, I get the error "expect numeric, found boolean" (or something similar). When I look at the properties of my custom step type, the Substeps has DoMultiNumericMeasEvaluation as the Post-Step. I believe this is the root of my problem but I can't figure out how to change this to "DoMultiBooleanMeasEvaluation" or similar. Any Ideas?

  • Passing an array from one method to another

    I am passing an array from my "load" method and passing it to be displayed in my "display" method in an applet .
    I made the array a class variable (to be able to pass it to the "display" method).
    The applet runs, but nothing seems to be in the array.The screen says applet started, but nothing else. There does not seem to be any CPU activity.
    Trying to debug this, I have tried to paint the screen during the array build. I never figured out how to do this. So I made this a non applet class, put it in debug, and the array seems to load okay.
    Any help is appreciated.
    This is the applet code:
    import java.applet.Applet;
    import java.awt.*;
    import java.io.*;
    import java.util.*;
    import java.net.*;
    public class urla extends java.applet.Applet
    int par1;
    int i = 1;
    int j = 20;
    int m = 0;
    int k = 0;
    String arr[] = new String[1000];
    String inputLine;
        public void load() throws Exception
          try
            URL mysite = new URL("http://www.xxxxxxxxxxxxxx.html");
           URLConnection ms = mysite.openConnection();
           BufferedReader in = new BufferedReader(
           new InputStreamReader(
           ms.getInputStream()));
             while ((inputLine = in.readLine()) != null)
               arr[m] = inputLine;
               m++;
           in.close();
          catch (MalformedURLException e)
            k++;
        public void display(Graphics screen)
          screen.drawString("THE FOLLOWING HAVE ADDED THEIR BIOS:",5 ,5);
          for (int i = 0; i < 20; i++);
            j = j + 20;
            screen.drawString("output - "
            + arr, 5, j);
            repaint() ;
    }

    String arr[] = new String[1000];is this typing mistake????? because if u did it in
    program as well i don think it will work.. the tag is
    innnside array lenght... hope iam saying this right!!no, he had the bold form tags (b and /b inside square brackets) in his previous non-code tagged post. He carried it over to this post and they caused an error. I highly doubt that they were in his actual program. Just delete them.
    Message was edited by:
    petes1234

  • Passing an array from one jsp page to another.

    I need to pass an array from one page to another, without using the query string.
    Can anyone help?
    I was given one suggestion about putting the array inside a Map object, then putting the map in the session.
    Is there an alternative? i am struggling to find out how to use maps properly.
    Alternatively, could someone give me a pointer on how to implement this possibility?
    Help needed ASAP.
    Thankyou

    First.jsp
    String[] str = {1,2,3,4,5};
    session = request.getSession(true);
    session.setAttribute("str",str); //or application.setAttribute("str",str);
    Second.jsp
    session = request.getSession();
    String str[] = (String[])session.getAttribute("str"); //or String str[] = (String[]) application.getAttribute("str");
    Now you can use str[].
    Sudha

  • Example of passing String Array from java to C using JNI

    hi all
    i searched net for passing string array from java to C but i dont get anything relevent
    i have
    class stu
    int rollno
    string name
    String [] sub
    i want to pass all as String array from java to C and access it C side

    1. Code it as though it were being passed to another method written in java.
    2. Redefine the method implementation to say "native".
    3. Run jnih to generate a C ".h" file. You will see that the string array
    is passed into C as a jobject, which can be cast to a JNI array.
    4. Write the C code to implement the method and meet the interface
    in the generated .h file.

  • How to import a string array from labview into DIAdem Spreadsheet/table

    How to set up a diadem template so when using labview diadem express, the values are imported into a table.
    I have values such as gain, corner frequency, and pass/fail that exist in arrays generated from collecting information from a 7 electrode EEG system.  I want to create a table/spreadsheet in DIAdem that imports the data when using the LabVIEW DIAdem express function, into a table or spread sheet?
    Any takers?
    -Regards
    eximo
    UofL Bioengineering M.S.
    Neuronetrix
    "I had rather be right than be president" -Henry Clay
    Solved!
    Go to Solution.

    Hi eximo,
    The DIAdem Report express block makes it easy to populate text boxes and 2D graphs in DIAdem from variables (wires) in LabVIEW.  Unfortunately neither 2D tables nor 3D graphs are implemented in the DIAdem Rerpot express block.  So you've got 2 options.
    Option 1:  if you don't have too many strings that you want to display, you can arrange that many text boxes into the shape of a 2D table and use the DIAdem Report express block as it was intended (sending data to it from LabVIEW wires).
    Option 2:  at some point as you continue to add elements to your report, you'll probably end up here.  The DIAdem Report express block was designed to connect LabVIEW wires with simple DIAdem reports.  But there is a hook you can use in the DIAdem Report express block to run a VBScript instead of loading a REPORT template *.TDR file.  With a DIAdem VBScript you can accomplish anything in DIAdem.  In addition to wiring up a VBScript path instead of a REPORT template path, you'll also need to send all the data you want to report on to a TDMS file and have DIAdem read the data from that file, instead of receiving the data directly from the LabVIEW wire at the express block's input terminal.  This is a little more complicated, but it will allow you to do absolutely anything you want to in DIAdem and start that report from LabVIEW.
    I'm attaching an example of Option 2, but I'd be willing to help you adapt it to your data and reporting needs if you'll post or email ([email protected]) your data set and a rough *.TDR file of what you want in REPORT.  It's pretty slow here at the office over Christmas, so I've got time....
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    DIAdem Report File.zip ‏90 KB

  • Passing an array from Java to Pl/SQL Procdures

    I am relatively new to the Java world and I am unable to pass back an array from Java back to the calling PL/SQL procedure. I have read many of the posts that deal with this issue and in specificly have viewed Ask Tom. My main issue is trying to get the data types matched up. I am able to return varchar2, numbers, and the like, but an array of filenames is not happening. I have tried a variety of "types" but unable to accomplish the task. Please help.
    I have my Java class basically defined as:
    public static oracle.sql.ARRAY[] getCollection(String directory)
                   throws SQLException
    { // provide a directory and get a listing of files
    File path = new File( directory );
    String[] list = path.list();
    return list;
    SQL Type and PL/SQL Procedure is:
    CREATE OR REPLACE TYPE PTO_FILE IS TABLE OF VARCHAR2(100);
    create or replace function get_dir_collection( p_directory in varchar2 ) RETURN PTO_FILE
         as language java
    name 'DirCollection.getCollection( java.lang.String ) return oracle.sql.ARRAY[]';
    /

    I know that it is not an ARRAY. It is however an "array" and I am attempting to map Java's String[][ to some "object" on the oracle side.  I have looked at the link you sited and was not able to find the data mapping.  I have found that mapping data types between different "languages" is some of the most difficult aspects of working with multiple languages.
    Any suggestions? Thanks

  • How To Pass an Array from One Frame in a Sequence to a ptr in the next Frame

    I have an array (generated from the "Replace Array Subset" VI) that I
    wish to pass to the next sequence in a frame.
    In this second frame, however, the VI that this data will go into
    expects it as a pointer to a buffer.
    Of course in C, the array name is the pointer to the array itself, but
    apparently this is not the case in Labview..
    because if I wire the output array to the edge of the frame (Blue
    solid blox - "Tunneling'?), and then try to connect
    that blue box in the second frame, to the VI expecting a pointer and
    the wire connection gets broken, and the blue
    solid box goes empty.
    How Can I do this??

    You are not being quite clear.  If the next frame expects a pointer to a buffer, it cannot be a vi.  Labview has no pointer types.  You must be referring to a Call Library Node which is set up to call a DLL function.  If this is the case, you need to configure the Call Library Node to accept an array of the data type.  Then you can wire the array into the call library node.
    Is this the case, Call Library Node?
    - tbob
    Inventor of the WORM Global

  • What is the best way to open close and pass instrument handles from labview in teststand parallel model?

    I have a number of test systems that use a parallel model with labview. We have a good number of instruments(PXI).
    What is the prefered method for open,closing and passing instrument handles in teststand using labview? 
    Solved!
    Go to Solution.

    Hi,
    No, Below is a bit from the Session Manager Help
    Currently, Session Manager supports the following instrument session types:
    IVI Sessions—Use an IVI session to obtain the C-based instance handle for an IVI logical or virtual instrument name. NI Session Manager does not support IVI-COM drivers at this time. When IVI-COM drivers are available, you can use an IVI session to obtain an ActiveX interface reference to an IVI-COM driver.
    VXIplug&play Sessions—Use a VXIplug&play session to obtain a C-based instance handle for a VXIplug&play logical or virtual instrument name. Configure VXIplug&play names in the <VXIplug&play directory>\<Platform directory>\NISessionMgr.ini file.
    VISA Sessions—Use a VISA instrument session to obtain a C-based viSession handle to a VISA resource or logical name. Configure VISA logical names in the <VXIplug&play directory>\<Platform directory>\NISessionMgr.ini file.
    Custom Sessions—Use a custom session to create a data container object that shares ActiveX objects you create or other data between software components you write. Use the Attach and Get methods to attach data to and retrieve data from a session. A custom session does not initialize, close, or own an instrument handle. The data you share with a custom session does not have to be instrumentation related. You can create a custom session with any name you request.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How  to Pass String array from Java to PL/SQL  and this use in CURSOR

    hi,
    I cant understand how to pass Array String as Input Parameter to the Procedure and this array use in Cursor for where condition like where SYMPTOM in( ** Array String **).
    This array containing like (SYMPTOM ) to be returned from the java to the
    pl/sql (I am not querying the database to retrieve the information).
    I cannot find an example on this. I will give the PL/SQL block
    create or replace procedure DISEASE_DTL<*** String Array ***> as
    v_SYMPTOM number(5);
    CURSOR C1 is
    select distinct a.DISEASE_NAME from SYMPTOM_DISEASE_RD a
    where ltrim(rtrim(a.SYMPTOM)) in ('Fever','COUGH','Headache','Rash') ------- ***** Here use this array element(like n1,n2,n3,n4,n5..) ******
    group by a.DISEASE_NAME having count(a.DISEASE_NAME) > 3 ----------- ***** 3 is no of array element - 1 (i.e( n - 1))*****
    order by a.DISEASE_NAME ;
    begin
    for C1rec IN C1 loop
    select count(distinct(A.SYMPTOM)) into v_SYMPTOM from SYMPTOM_DISEASE_RD a where A.DISEASE_NAME = C1rec.DISEASE_NAME;
    insert into TEMP_DISEASE_DTLS_SYMPTOM_RD
    values (SL_ID_SEQ.nextval,
    C1rec.DISEASE_NAME,
    (4/v_SYMPTOM), --------**** 4 is no of array element (n)************
    (1-(4/v_SYMPTOM)));
    end loop;
    commit;
    end DISEASE_DTL;
    Please give the proper solution and step ..
    Thanking you,
    Asish

    I've haven't properly read through your code but here's an artificial example based on a sql collection of object types - you don't need that, you just need a type table of varchar2 rather than a type table of oracle object type:
    http://orastory.wordpress.com/2007/05/01/upscaling-your-jdbc-app/

  • Passing String Array from Java to PL/SQL

    Hi,
    We are having couple of packages which have been written in PL/SQL . I would like to know how i can send arrays as input parameters from Java to any stored proc in Oracle. I am having Oracle 8i as the DB and am using Websphere RSA for deployment purposes.
    please find below Java , PL/SQL code and exception
    PL/SQL Code :
    PACKAGE PKG_SURCHARGE
    IS
    TYPE commodity_key IS TABLE OF VARCHAR2(500) INDEX BY BINARY_INTEGER;
    PROCEDURE RETRIEVE_CHARGES
    in_Commodity_tab IN commodity_key,
    IS
    BEGIN
    dbms_output.put_line('in_Commodity_tab(' || '0' || ') : ' || in_Commodity_tab(0) );
    Java Code :
    CallableStatement cstmt=null;
    Connection conn=null;
    try{
    conn=getConnection();
    System.out.println("++++++connected");
    String sqlStr = "{call Pkg_Surcharge.RETRIEVE_CHARGES(?) }";
    cstmt = conn.prepareCall(sqlStr );
    //1.
    String[] javaArray={"20081117","20081117"};
    ArrayDescriptor dateDescripter = ArrayDescriptor.createDescriptor( "commodity_key", conn );
    oracle.sql.ARRAY dateArray = new oracle.sql.ARRAY(dateDescripter, conn, javaArray);
    System.out.println("++++++registered-1");
    Catch (Exception e){
    e.printStackTrace();
    Exception Occured:
    java.sql.SQLException: Invalid Pattern Name <Schema Name>.commodity_key
    Appreciate your help in this regard
    Thanks
    Srini
    Edited by: [email protected] on Nov 25, 2008 4:55 AM

    Avi is correct. You must create a varray or nested table instead of using a PL/SQL index-by table.
    SQL> create type commodity_key as varray(#) of varchar2(500);
    or
    SQL> create type commodity_key as table of varchar2(500);
    Use the varray if you know the number of items in the array. Otherwise, use the nested table.

  • Passing two variables from LabView to Javascipt program or Vice Versa

    Ok let me be blunt here. Below is my code to move a ethernet camera. As you can see from the code when the page is opened up you are immediately prompted to enter values for a X-coordinate and a Y-coordinate. Once your value has been inputted in, the camera moves based on the values. Fantastic right? Here is where i'm scratching my head. My Labview program basically takes in sound (short-version here) and is able to determine the position of where the sound is coming from in a x, y value (NOTE: the program  THUS far has been able to determine the position but has not been worked on to output to a x y value. But for argument sake let's say it does). My question to all of you is this I have read other theads that asked this and noticed that the code (highlighted in blue) is what they think would do the trick. However, this needs to be constantly working. Meaning my program needs to be constantly be feeding data to the X Y coordinate OR it constantly needs to be prompted through Labview. I dont know what would work best or even what is feasible at this point.
    Any help, suggestions comments or opinions anything would be greatly appreciated.
    <script type = "text/javascript">
    <!--
    var x,          // x variable axis
        y,          // y variable axis
        counter;    // Basic Counter
    var newWindow; //varibale to open up new windows
    // The following code should be used to implement Labview into this program
    // This code has been unmodified since it was given to me
    // NOTES: Consider intializing lvapp and vi and variables
    // NOTES: The response function should be changed to X and Y
    // NOTES: The parameter "Output" should be whatever the Team uses to distinguish X and Y
        lvapp = new ActiveXObject("Labview.Application");
        viPath = "C:\\test.vi";
        vi = lvapp.GetVIReference(viPath);   // Load the vi into memory
        vi.FPWinOpen = 1;                    // Open front panel
        vi.SetControlvalue("Input",125)      // set the input parameter, 125 is just a sample
        vi.Run();                            // run the VI here, the "Call"-methode without parameter
                                             // does not work since it uses
                                             // the defaults of the controls
        response = vi.GetControlvalue("Output")  // get the output parameter    
        alert("Result from LV:"+response);  */
    // Initialization Phase
    counter = 0; // prepare to loop
    ccounter = 0;
    while ( counter <= 0 ) { // loop 1 times
            // prompt for input and coordinate from user
            x = window.prompt( "Enter X-axis coordinate:", "0" );
            // prompt for input and coordinate from user
            y = window.prompt( "Enter Y-axis coordinate:", "0" );
            counter = counter + 1;
    //if statement frame for camera control
    //Home position
    if (x==0 && y==0)
        newWindow = open('http://192.168.0.3/cgi-bin/camctrl.cgi?move=home', 'secondWindow',
            'scrollbars,resizable,width=500,height=400');
        if (newWindow && !newWindow.closed) {
                newWindow.close();
    if (x==1 && y==0)
        newWindow = open('http://192.168.0.3/cgi-bin/camctrl.cgi?move=right','secondWindow',
            'scrollbars,resizable,width=500,height=400');
        if (newWindow && !newWindow.closed) {
                newWindow.close();
    // -->
    </script>
    </head>

    I know that it's not very elegant, but how about writing the data to a file which could be read by the other application?  You could use some sort of locking scheme or queue to make sure the data stays current.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Pass error cluster from labview dll to teststand

    Hello,
    I just want to pass an error cluster from a dll compiled in LV7.1 to TestStand 3.1. I never receive the contents of the LV error cluster in TS. I compiled my function with standard calling convention option, this should work. In my VI I generate only an error and pass to error output.
    LV Settings:
     TS settings:
    regards
    MB

    MB,
    please follow the info in this KB:
    http://digital.ni.com/public.nsf/allkb/22BF02003B4588808625717F003ECD67?OpenDocument
    Please note that using "By Value" will never return any values to TestStand!
    You cannot use the default error-container in TestStand to receive data from the LV error cluster if you compile the VI into a LV DLL.
    So either you choose to follow the KB or you split up the error cluster in your LV VIs to return error.occurred (boolean), error.code (numeric i32) and error.msg (LV String) .
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • I cant pass an array from JSP to Servlet

    I have a JSP which creates a table when it is loaded doing a query on a database and showing the content of the result set.
    The data showed are some items' names and at the end of each row there is a text field where the user can write the quantity of each item to buy.
    I need to send to a servlet the name and the quantity of each item with a quantity value > 0.
    This is what I think to do:
    in the text field I've put an onChange event which calls a javascript function, the function inserts the item and the quantity inside an array if the quantity is > 0, removes the item if the quantity is <= 0.
    The submit button calls another function which put the array in the session
    session.setAttibute("daAcquistare",daAcquistare);
    daAcquistare is my array created in the JSP
    var daAcquistare = new Array();
    Inside the servlet I don't know how to take that array since if I do like this
    String[] ingrediente = new String[i*2];
    HttpSession session = request.getSession();
    ingrediente = session.getAttribute("daAcquistare");
    I obtain "Cannot convert from Object to String[]"
    How can I do to have that array inside the servlet?

    Thankyou for your reply.
    This is my form:
    <form name="rimanenze" action="VerificaRimanenze" method="post">
    <table width="650" border="0" cellpadding="6">
         <tr>
              <td width="25%"><b>Ingrediente</b></td>
              <td width="25%"><p align="center"><strong>Unit� di misura</strong></p></td>
              <td width="20%"><p align="center"><strong>Disponibilit�</strong></p></td>
              <td width="20%"><p align="center"><strong>Soglia</strong></p></td>
              <td width="10%"><p align="center"><strong>Acquista</strong></p></td>
         </tr>
              <% rs = IngrController.getInEsaurimento();
                 while(rs.next()) { %>
         <tr>
              <td><%= rs.getString("nome") %> </td>
              <td><%= rs.getString("unitaDiMisura") %></td>
              <td><%= rs.getString("disponibilita") %></td>
              <td><div align="center"><%= rs.getString("soglia") %></div></td>
              <td><div align="center"><input type="text" id="ingrediente<%= i %>" name="<%= rs.getString("nome") %>" value="0" onChange="selezionato(this)" /></div></td>
         </tr>
              <%i++; } %>
         <tr>
              <td> </td>
              <td> </td>
              <td> </td>
              <td><input type="hidden" name="totale_selezionati" value="0"/> </td>
              <td><input type="submit" name="acquista" value="Acquista" /></td>
         </tr>
    </table>
    </form>and this is the servlet's doPost method
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              int i = Integer.parseInt(request.getParameter("totale_selezionati")); //nuber of item with quantity value > 0
              int j = 0, aux = 0; //j counts the number of items with quantity > 0 found, aux loops on each item id
              String[] ingrediente = new String;
              while (j < i) { //while stops when number of item with quantity value > 0 found is the same of the known number of those items
                   if(Integer.parseInt(request.getParameter("ingrediente"+aux)) > 0) {
                        ingrediente[j] = request.getParameter("ingrediente"+aux); //takes the attribute value of the item, how to thake the name too?
                        j++;
                        aux++;
                   else
                        aux++;               
              IngrController.aggiungiIngredienteMagazzino(ingrediente,i);
              RequestDispatcher dispatcher = request.getRequestDispatcher("/verificarimanenze.jsp");
              dispatcher.forward(request, response);
    I can't use the items' names to loop on the form because the form is dinamically generated, I need to use the id attribute for that and then, take the name and value in the servlet... I can only take the value, I don't know how to take the name.
    Edited by: Kumidan on Jul 24, 2008 9:16 AM
    modified an instruction inside the while in the doPost method.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Pass 2D array from java to PLSQL

    HI,
    My requirement is that I have to pass dynamic parameters to be stored in a table. The table I have is
    CODE || TAG_LABEL         || TAG_COLMN_NAME
    023 || Registration            || CHAR_TAG1
    023 || Agreement Number || NUM_TAG1
    023 || Agency                  || NUM_TAG2
    023 || Start Date              || DATE_TAG1
    this table A. gives me the list of all possible parametes
    CODE || CHAR_TAG1 || CHAR_TAG2 || NUM_TAG1 || NUM_TAG2 .. ..
    023 || 420/09 || -- || 100023 || 1002
    021 || -- || 400030 || -- || --
    023 || 450/10 || -- || 100025 || --
    this table B gives the place where the values for this parameter has to be stored.So for code 023 if I have parameters say Registration='240/10' and start_date = '10/02/2010' then, how do I pass these dynamic paramters to the plsql and from there how do i handle storing this in my final Table B.
    I searched the net for Dynamic sql and I am very basic in PLSQLs. Can anyone please help or atleast if there is a documentation that does exactly this, it would be very helpful.
    Thanks
    Rache

    From the pl/sql side you need to create your object types
    create or replace type sample_array_obj
    as object( firstitem     varchar2(20 char),
                   seconditem varchar2(10 char)
    create or replace
    type sample_array_type  is table of sample_array_objand then you need to grant execute access on both the object and type
    grant execute on sample_array_obj to public;
    grant execute on sample_array_type to public;you have to declare these to java then. (I'm not a java programmer, but the java then has to get its collection type from the database)

Maybe you are looking for

  • How to install a new hard drive in a G4?

    I got instructions from the genius bar about buying and installing a new hard drive. I installed it in the front carrier.I must have not connected it correctly as it doesn't show up anywhere on my computer. The main thing I wasn't sure about was conn

  • Error playing media clip in Adobe Reader X (10.1.0)

    Hi, A pdf, which was sent to me, has embedded media clips. However, when I try to play these clips a JavaScript error message comes up saying 'Acrobat has encountered an error while playing this media clip'. The document was probably created in an ol

  • Object id for BP Internal reconciliation and SPTN

    Hi expert, Can any one help, What is the Object id for BP Internal reconciliation SAP B1? We want to make SPTN notification if any BP reconciliation customer/supplier code are not matching then system block for reconciliation. Thanks in Advance. Rega

  • Font change

    Why did the font change in my uploaded PDF document?

  • Add Competitor Material via MMW1 but material number exists

    Master Data Experts: 1. We are adding material type WETT competitor materials via tcode MMW1. However, we have many cases where our competitor number is the same as one of our own existing physically different material numbers. When we try to add the