Control Array Access Problem while loading panel on 2 Tabs

I am using LabWindows CVI 10.0. My intention is to programmatically disable a control array in a panel.
Problem:
       I am loading a panel with control array in TabControl pages -  Tab0 and Tab1.
Error occurs, While programmatically accessing through below functions.
GetCtrlArrayFromResourceID( Tab0_panel, CTRLARRAY) -  Able to get resource ID.
GetCtrlArrayFromResourceID( Tab1_panel, CTRLARRAY) - Not able to get resource ID.
Its giving error as Resource ID not found in UIR.
Error picture i have attached below for reference.
Please give some suggestions.
Solved!
Go to Solution.
Attachments:
Error.PNG ‏7 KB

Ok, if you didn't use it so far you should use it now  : If you are accessing controls on a tab panel you have to use the correct panel handle using the function GetPanelHandleFromTabPage, you can not simply use the constant defined in your UIR.
Have a look at the example TabExample.cws for an example of this function.

Similar Messages

  • Problem while loading data from ODS to infoobject

    Hi guys,
    I am facing problem while loading data from <b>ODS to infoobject</b>.
    If I load data via PSA it works fine but
    if I load data without PSA its giving error as Duplicate records.
    Do u have any idea why it is so.
    Thanks in advance
    savio

    Hi,
    when you load the data via the PSA, what did you select? Serial or Paralel?
    If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
    Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
    hope this helps...
    Olivier.

  • Problem while loading applet in opera- very urgent please

    hi,
    I am having problem while loading applet in opera browser. Showing "Applet loading " continuously. I am trying to use URLConnection to read information from applet's own host. I cant find the exact problem what is happening, Since there is no error message in browser Javaconsole.
    If anybody have idea on this please help me. I am in great hurry.
    Thanks in advance.
    Rao. V

    hi this is rao,
    I inserted a lot of System.out statements throughout applet life cycle. But they are not displaying in java console. I think the problem is in Opera-java settings. Since i am new to the opera environment i cant get right solution.
    Please help me if anybody having clear idea on this aspect.
    thanks in advance

  • Problem while loading security information (users/roles) from repository

    Iview have stopped connecting to our MDM, All repositories, all IViews Very strange
    Here is what I see in the logs.... Any ideas? Please if you have seen this before only
    Marty
    com.sap.mdm.extension.MetadataException: Problem while loading security information (users/roles) from repository 'PORTAL_CUSTOMERS'
    at com.sap.mdm.extension.MetadataManager.loadRoleCache(MetadataManager.java:559)
    at com.sap.mdm.extension.MetadataManager.internalGetRoleSet(MetadataManager.java:502)
    at com.sap.mdm.extension.MetadataManager.getRoleSet(MetadataManager.java:471)
    at com.sap.mdm.extension.MetadataManager.createMetadataKey(MetadataManager.java:464)
    at com.sap.mdm.extension.MetadataManager.getRepositorySchema(MetadataManager.java:197)
    at com.sap.mdm.uwl.MdmUwlConnector.createUserSessionContext(MdmUwlConnector.java:1463)
    at com.sap.mdm.uwl.MdmUwlConnector.new_retrieveItems(MdmUwlConnector.java:546)
    at com.sap.mdm.uwl.MdmUwlConnector.getItems(MdmUwlConnector.java:129)
    Caused by: com.sap.mdm.commands.CommandException: com.sap.mdm.net.ConnectionException: java.io.IOException: Unexpected socket read.  Result is -1.
    at com.sap.mdm.security.commands.GetUserListCommand.execute(GetUserListCommand.java:72)
    at com.sap.mdm.extension.MetadataManager.loadRoleCache(MetadataManager.java:526)
    Caused by: com.sap.mdm.net.ConnectionException: java.io.IOException: Unexpected socket read.  Result is -1.
    at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:102)
    at com.sap.mdm.security.commands.GetUserListCommand.execute(GetUserListCommand.java:69)
    at com.sap.mdm.internal.net.DataSocket.receiveData(DataSocket.java:62)
    at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:497)
    at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:490)
    at com.sap.mdm.internal.net.ConnectionImpl.nextMessage(ConnectionImpl.java:629)
    at com.sap.mdm.internal.net.ConnectionImpl.receiveMessage(ConnectionImpl.java:572)
    at com.sap.mdm.internal.net.ConnectionImpl.send(ConnectionImpl.java:233)
    at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:99)
    com.sap.mdm.commands.CommandException: com.sap.mdm.net.ConnectionException: java.net.SocketException: There is no process to read data written to a pipe.

    Early this month we upgraded the MDM server to:
    MDM Server version: 5.5.63.57
    And the portal components:
    MDM 5.5 SP06 Technology Patch 3 (Build 5.5.63.57)
    MDM 5.5 SP06 Application Patch 3 (Build 5.5.63.57)
    MDM 5.5 SP06 Java API Patch 3 (Build 5.5.63.57)
    However the issue just began 2 days ago?
    We started intgrating MDM Workflow with UWL and assigned Roles and Iviews to the Universal Worklist Configuration
    It seems the Iviews work for a while and then after some time everything gives up? Very confounding
    And yes we are using standard Iviews (search, Result and detail)
    Thanks
    Edited by: Marty Monroe on Oct 31, 2008 3:07 PM

  • Facing  problem while loading data into XI

    Hi All,
    I am facing a peculiar problem while loading data into XI when we load small amount of data say 5-10 records these records gets processed, but when we try to load a bit higher volume say 100-500 which comes out to be around 7 record s per second then the record processing gets stalled. That is it gives a message that "recorded for outbound processing".
    So can any body throw some light on it and can tell us why we rare facing such problem and how can we resolve that problem.
    Thanks in Advance.
    Regards
    rahul

    Hi rahul,
    Deregistering and Registering the Queue is a temporary solution.
    The better way to this would be to Tune your Xi system as already mentioned by Vijaya as mentioned in the guide ,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7fdca26e-0601-0010-369d-b3fc87d3a2d9
    Regards,
    Bhavesh

  • (Class cast Exception)Problem while loading data fro database in java class

    Dear all,
    Please help me...to solve this
    I have a database having two columns of String and Date Types.
    In my java code i was trying to load the data to a UI.
    I am successfull in loading the String type value.
    But while loading date field value,is showing Class cast Exception.
    What i am doing is Getting the values from database to a String[] array.
    So my question is how to
    get the Date field as date field itself,Then convert it to a String..Then put it in to String[] array...
    Any body please help...If any one want more clarification in question i will give......

    Hi,
    I am using GWT to display my data in a Grid.
    So it will accept a Single two dimensional String array....Here i have one as String and other as Date.
    So i was trying to get each row in a sindle dimensional array array[] then store it in a list.
    Iteration goes up to 10 rows.After i am setting it in to a list
    ie list.add(array);
    Now while returning this list i am doing this
    "return (String[][])list.toArray(new String[0][]);"
    When i tried to get the date element to String array it is showing class cast exception. When i tried with toString() method it is showing the same problem.

  • Idoc problem while loading

    Hi Gurus,
    I am getting error "<b>Idocs missing: No end-confirmation arrived in the Warehouse from</b>" while loading data from R3 to BW via process chain.
    Can any one please suggest me how solve this problem.
    Thanks in advance.
    Regards
    Tony

    Hi,
    It may be due to below reasons...
    1. Check whether the Log Table is full in the BW side.
    2. Check Whether the Connection to Source System is fine.
    3. System might be busy , Many jobs running in system.
    Go to SM58 in BW system , find TRFC queue with enteries for each LUW . U can come to know why IDOC is not processed by looking at the error there . Also check whether the job is finished successfully in Source System. U can process the LUW in Sm58 manually from Edit menu entry ....
    Thanks
    DSt

  • SQL Loader problem while loading records from txt file to database table.

    I am getting following error while loading records from flat txt file into database table with the help of 'sqlldr' command. I have executed catldr.sql from RDBMS folder but it is still showing same error. I am setting DIRECT = TRUE while issuing sqlldr command. If I try with DIRECT = FALSE then it works fine. Database is Oracle 8i.
    SQL*Loader-951: Error calling once/load initialization
    ORA-24329: invalid character set identifier
    F1 Please.

    Hello,
    Direct path load, can only be used with SQL*Loader and Database have the same version.
    Care to tell the database version and sql*loader version you are using.
    -Sri

  • Problem while loading texts and authorization objects file in RAR

    Hi all,
           i am getting internet explorer error while loading the texts and authorization objects text files in RAR .actually we uploaded rule file before this,does this step causes any error ?if so how to resolve this error.do i need to remove all rules/risks and then load text and authorization files? is there any shortcut to renove all risks generated in one shot? please reply me soon to resolve this.
    Thanks,
    Joseph.

    Hi Joseph,
    Please make sure to convert both the files in UTF-8 encoding format and then try to upload the files again. This should resolve the issue and if not then please paste the logs here.
    Regards
    Harleen

  • Problem while loading windows 7 and dual boot

    good evening am getting problems while installing windows 7 and fedora,is this laptop HP 15-R262TU supports only windows 8.1 and it is suppoting dual boot or not? please reply soon
    This question was solved.
    View Solution.

    Hi 
        Here is the link required for all Windows 7 Drivers for your machine ,  Once you have installed Windows 7 goto the link and download all drivers that are not installed via Device manager .  If you make a list of drivers not installed and then refer to the drivers page and take all the drivers you require .
     http://support.hp.com/us-en/drivers/selfservice/HP-15-Notebook-PC-series/7486447/model/7812714#Z7_30...
                                           Checkurtech
    ****Click the White Kudos star to say thanks****
    ****Please mark Accept As Solution if it solves your problem****

  • Firefox does not show url in navigation toolbar while loading webpage (in new tab)

    Firefox 3.6 when opening a link in new tab the url does not show in navigation toolbar while loading the web page. All ypu see is "Type a Web Adress" until the page load.
    Before with my older version the URL was visible in navigation toolbar even before page started loading. How can I get this back?

    A couple of possible causes. First check for an incompatible add-on, for details of how to do that see the [[troubleshooting extensions and themes]] article.
    Another possible cause is a problem with the file that stores bookmarks. One of the symptoms is the URL not being updated in the Location Bar as you browse. For details on this see [http://kb.mozillazine.org/Locked_or_damaged_places.sqlite locked or damaged places.sqlite].

  • Access denied while loading jar files from client

    I am creating a platform
    that can be started by JWS
    and then load plug-ins from client drive.
    I've signed my platform (packaged as a jar file),
    and set up the security tag in my jnlp,
    so that it can access client files.
    The plug-ins are packaged as jar files.
    And in one of the plug-ins, there is a class that has a JFileChooser field.
    While initializing this field, the AccessControlException is thrown.
    I can't figure out what is wrong,
    So I tried to sign the plug-in, but the problem stands still.
    PS. I have made my own ClassLoader,
    and this platform works well without JWS.
    Please help me, thanks.
    Below is the error message:
    Java Web Start 1.4.2 &#20027;&#25511;&#21488;,&#24050;&#21855;&#21205; Fri Jul 02 01:31:17 CST 2004
    Java 2 Runtime Environment:&#29256;&#26412; 1.4.2,&#20316;&#32773;:Sun Microsystems Inc.
    /*my own log message*/
    2004/7/2 &#19978;&#21320; 01:31:23 pluginmanager.Activater activate /*this is my own classloader*/
    &#37197;&#32622;: activate jar=\Plugins\Common.jar /*load plug-in Common.jar*/
    2004/7/2 &#19978;&#21320; 01:31:23 pluginmanager.Activater activate
    &#32048;&#32251;: collect resources /*collect other jar files needed by Common.jar*/
    2004/7/2 &#19978;&#21320; 01:31:23 pluginmanager.Activater activate
    &#32048;&#32251;: load plugin=\Plugins\Common.jar
    2004/7/2 &#19978;&#21320; 01:31:23 pluginmanager.Activater activate
    &#32048;&#32251;: activating class name=filemanager.FileManager /*instantiate plug-in component*/
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at java.io.Win32FileSystem.getUserPath(Unknown Source)
         ... /*cut*/
         at javax.swing.JFileChooser.<init>(Unknown Source)
         at filemanager.Open.<init>(Open.java:20)
         at filemanager.FileManager.<init>(FileManager.java:38)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         ... /*cut*/
         at java.lang.Class.newInstance(Unknown Source)
         at pluginmanager.Activater.activate(Activater.java:120)
         at pluginmanager.PluginManager$ActivateAction.actionPerformed(PluginManager.java:53)

    When running under Java Web Start, a security manager is installed.
    Since you have created your own classloader, you are responsible for assigning permissions to the classes you load.
    You can change you class loader to extend SecureClassLoader, then override getPermissions:
    protected PermissionCollection getPermissions(CodeSource codesource) {
    PermissionCollection perms = super.getPermissions(codesource);
    /* add whatever permissions you want your code to hance*/
    perms.add( ... );
    /* or just add all-permissions */
    perms.add(new AllPermission());
    or - you can just remove the Security Manager:
    System.setSecurityManager(null);
    /Dietz

  • Cache Problem while loading PDF in IE

    Hi,
    I am getting a problem when I load a PDF from my servlet.
    I am using the following code.
    pdfInputStream = httpURLConnection.getInputStream();
    output = aResponse.getOutputStream();
    aResponse.setContentType("application/pdf");
    byte[] buffer = new byte[1024];
    int bytesRead = 0;
    while((bytesRead = pdfInputStream.read(buffer, 0, buffer.length)) >0) {
    output.write(buffer, 0, bytesRead);
    It works fine in Netscape. In IE it gives a problem when the PDF is very small 5KB and less. It does not show the report. When I click reload it shows it then.
    When I make the browser cache setting to "Every visit to page". It works fine.
    Then I tried to disable the cache for IE using the following code but this does not work in IE.
    pdfInputStream = httpURLConnection.getInputStream();
    output = aResponse.getOutputStream();
    aResponse.setContentType("application/pdf");
    aResponse.setHeader("Cache-Control", "no-cache"); //or
    aResponse.setHeader("Pragma", "no-cache"); //or
    aResponse.setDateHeader("Expires", 0);
    byte[] buffer = new byte[1024];
    int bytesRead = 0;
    while((bytesRead = pdfInputStream.read(buffer, 0, buffer.length)) >0) {
    output.write(buffer, 0, bytesRead);
    Each of the above methods did not work. IE was not recognising it as pdf any more and showing the save file box.
    Anybody have any solutions for this. There was another query of this kind but no answers for that.
    Regards,
    Ritesh

    This is not a cache problem.
    With IE you must specify the PDF content length you sent to browser.
    So:
    You must add aResponse.setContentLength(bytesTotal); where bytesTotal is the length of data sent to browser.

  • Problem while loading a jar file into database

    Hi All,
    We are using Oracle 8.1.5 in Solaris. When I try to load a jar file into the database by using loadjava it gives the following error
    Error while processing jar cryptix32.jar
    Exception java.io.IOException: Load Java is unable to handle compressed entries: cryptix/provider/Cryptix.class
    loadjava: 1 errors
    Can anybody suggest anything to overcome this. Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Emmer ([email protected]):
    I presume you've tried creating the jar w/o compressing it? If not, and even if you didn't create the jar, then first unpack the jar into a directory and re-jar it without using compression.<HR></BLOCKQUOTE>
    Hi John,
    Thanks for your help. I unpacked the jar and rhen re-jared it with -0 (uncompress ) option. The above error is gone. But I am getting another problem. I am getting the following error for all the classes except the property files.
    Error while resolving class cryptix/cryptix/provider/cipher/Rijndael
    ORA-04043: object cryptix/cryptix/provider/cipher/Rijndael does not exist
    But the class is there in the jar. I am able to load single individual classes. Can anybody help me in this matter. Thanks in advance.

  • Problem while loading the applet across SSL in IE 5.0 & NS 6.0

    Hi
    Can any one of u guys solve my problem????
    I m trying to load an applet thru https protocol in both the browsers( IE 5.0 and Netscape 6.0). I am having a jar file which contains the applet class files and some helper files for the applet.When i m accessing the image URL (in the html file for the applet) thru https protocol itz working fine on both the browsers. But when i try to access codebase thru https i m getting different errors on both the browsers. Errors r as follows.
    Exception in IE 5.0
    java.net.ConnectException: HTTPS response=404
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.openStream(Native
    Method)
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.<init>(Unknown
    Source)
    at
    sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(Unknown
    Source)
    at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown
    Source)
    at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in Netscape 6.0
    java.lang.ClassFormatError: package1/package2/package3/TiffViewer (Bad
    magic number)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at sun.plugin.security.PluginClassLoader.access$201(Unknown
    Source)
    at sun.plugin.security.PluginClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Plz help me out if any one of u guys have came across such type of problem. Its very very urgent as well as critical. Any help / suggestion will highly be appreciated
    tks in advance
    Soniya

    Hi..
    I m also facing the same problem as described above. I have checked up the path for the class files mentioned in the "code" param in the html file.I also tested with the sample program but could not succed in getting the result.Both the browsers give different error messages as mentioned in the query posted by soniya1.I would be thankful if u can kindly throw some light on this
    if u have some sample code u may kindly drop it to the following mail id
    [email protected]
    hope to hear from u soon
    tx in advance
    R.Lakshmi

Maybe you are looking for

  • LaserJet 500 color MFP M575 ePrint

    I have enable ePrint on my new HP LaserJet 500 color MFP M575 when I first got it. A lot of changes to the configuration has now been done and ePrint does not work anymore. I tried to reset it, disabling and re-enabling HP Web Services on the embedde

  • Organise in adobe bridge

    To DPS users, looking at the organising of folders again, through adobe bridge and then into the folio builder, having sorted my files within bridge along with a new order structure for the content, but have yet to upload them onto acrobat.com. I hav

  • Horizontal scroll in TreeTable

    Hi everybody Is there a possiblity to have a horizontal scrollbar in a JTreeTable? I ran the program from java.sun.com and a personal one, and both never display a horizontal scrollbar. If you program it as always displayed, it is not scrollable anyw

  • I have a rectangle with the word caption written twice on it which appears on my page and obscures my information - how can I get rid of this please?

    I have a rectangle with the word 'caption' written twice on it which appears on my page and obscures my information. How can I get rid of it please?

  • Control Tab order?

    How can i control(customize) the Tab order? By default Tab order is from left to right on the Form, I need to change this order. Do i have to use focusLost/Gained ? Thx Ali