Automation interface for specified class cannot be obtained

I am trying to use a TestStand UI Expression Edit Control in LabVIEW to undertake an Expression.Evaluation, but I feel I must be missing something. I have a TestStand UI ExpressionEdit Control on the LabVIEW front panel, and when i try to evaluate it, or anything else (properties or methods) for that matter, the error is always the same:
"Automation Interface for the specified class cannot be obtained. Check if the automation refnum type is the correct class for this operation" Error Code 3008; User defined error code.
Any help tips or pointers would be appreciated.

Hi
To help resolve this issue can you post the VI which gives you this error.
Regards
Anand Jain
National Instruments.

Similar Messages

  • Unable to find associated SLD for specified class(SAP_XIIntegration Directory)

    Hi All,
    We have installed PI 7.4  dual stack on windows platform. All Post Installation activities were completed succesfully. I am able to succesfully execute transactions: SLDCHECK, SXMB_ADM (check) etc.
    All RFC connections are also configured properly. SXI_CACHE working fine.
    But when I tried to create a communication channel it gives me following warning message:
    " Unable to find associated SLD element for specified class (source element: SAP_XIIntegrationDirectory "., CreationClassName,SAP_XIIntegrationDirectory,string, Name, directory.sxi.ict-vxi-65,string)target element class: SAP_XIIntegrationServer).
    Please suggest what needs to be done to solve this issue.
    Thanks
    Pawan

    Hi Pawan,
    SAP note #764176  should be applied. Before you do that, apply note #1117249 Incomplete Registration of PI components in SLD.
    Hopefully this will resolve the error.
    Regards,
    Naveen

  • Creating an Interface for a class: error

    Hi there,
    I'm new to Java as you'll see from the question.
    I created a class "Bicycle" and then went on to create an interface for it "InterBicycle" only I get the following error:
    bad class file: C:\Documents and Settings\Melanie\Bicycle\src\bicycle\InterBicycle.java
    file does not contain class bicycle.InterBicycle
    I checked in the bicycle folder and the "InterBicycle.java" file is there.
    Does anyone know where I am going wrong?
    Butterfly82

    Hey, thank you for that petes.
    Silly mistake on my part, I was just reading about Inheritance and then went on to reading about Interfaces.
    Changing this I came up with another error for each of the methods implemented by Bicycle.java:
    C:\... applyBreaks(int) in bicycle.Bicycle cannot implement applyBreaks(int) in bicycle.InterBicycle; attempting to assign weaker access privileges; was public
    Here is the code I have (Taken from The java Tutorial):
    package bicycle;
    class Bicycle implements InterBicycle {
        int cadence = 0;
        int speed = 0;
        int gear = 1;
        void changeCadence(int newValue) {
            cadence = newValue;
        void changeGear(int newValue) {
            gear = newValue;
        void speedUp(int increment) {
            speed = speed + increment;
        void applyBreaks(int decrement) {
            speed = speed - decrement;
        void printStates() {
            System.out.println("Cadence: " +cadence+ " Speed: " +speed+ " Gear: " +gear);
    package bicycle;
    interface InterBicycle {
        // List of the methods that the Bicycle class holds/implements
        void changeCadence(int newValue);
        void changeGear(int newValue);
        void speedUp(int increment);
        void applyBreaks(int decrement);
    }

  • ALE interface for Sposnored Class in grants management

    Hi All,
    Is there any standard interface (ALE/IDOC/PROXY) provided by SAP for sponsored class in Grants Management module.
    Thanks,
    Swapnil Pawar

    Swapnil,
    Please see the Function Module GM_SPONSORED_CLASS_CREATE and determine if it works for you.
    Thanks
    Shyam

  • Api or open interface for ABC class

    Hi All,
    Is ther any api or open interface available for mass updating items with new ABC class ?
    Regards,
    Sam

    There is no api. So recently, I had to use the following unsupported way to achieve this.
    There are no other relationships for this table so you can do a straight insert.
    insert into MTL_ABC_ASSIGNMENTS
    (select v.inventory_item_id, g.assignment_group_id,c.abc_class_id,sysdate,11531,sysdate,11531,null,null,null,null
    from MTL_ABC_ASSIGNMENTS_V v,MTL_ABC_ASSIGNMENT_GROUPS g, MTL_ABC_ASSGN_GROUP_CLASSES_V c
    where v.ASSIGNMENT_GROUP_NAME = 'OLD GROUP'
    and g.assignment_group_name='NEW GROUP'
    and c.abc_class_name= substr(v.abc_class_name,1,1) -- the new group is the first character of the old group
    and g.assignment_group_id = c.assignment_group_id
    --and inventory_item_id!=18895
    Hope this helps,
    Sandeep Gandhi

  • Automated tool for Documenting Class and method definition

    Is there any tools or command lines that you can use to automate documentation for your java classes? :-/

    http://docwiz.sourceforge.net/
    Also, NetBeans has an "Auto Comment" feature
    http://www.netbeans.org/

  • A more successful experiment in creating compositable user interfaces for Config Dialogs

    A couple weeks ago I posted an experiment in creating compositable user interfaces using transparent subpanels. The approach might best be described as, "It at least was notable for being novel."
    Today, I'm posting another attempt, this one along more traditional lines, and far more successful. Particularly notable: this one can do all the arbitrary composition of the last one AND it solves the TAB order problem.
    This solution uses a picture control and renders N copies of a control. When the user tabs to a control or moves the mouse over the control, a real control slides into that position to be able to catch the events (update mouse over draw state, highlight for keyboard focus, handle typing, etc). When the Value Change occurs, a master array of data is updated and the picture control is updated.
    This is something that has been attempted in various forms in the past, but there are two aspects of this particular implementation that make it nice:
    its programmatic interface for specifying the behavior of the various objects should make it fairly easy for a user of the framework to programmatically generate their dialogs
    it handles the TAB problem without flickering, something I haven't seen in other attemps
    This idea spawns out of conversation about the previous experiment -- thanks to those of you who posted on various forums, e-mailed me, or, in a couple cases, showed up at my desk. That last one is not something I'm encouraging unless you work at NI... just saying. :-)
    Now, this experiement has already yeilded some interesting conversation. We note that as long as controls are instantiated independent of each other -- that is, no property of one control depends upon the property of another control -- this dialog system scales nicely. But in this experiment, I implemented Radio Buttons, which interact with each other -- when one is set True, the others go False. As soon as controls start interacting with each other (such as graying out one control when a checkbox is toggled, or having expandable sections, or really complex cases like updating a graph as some options change, like happens in some Express VI config dialogs) then we start needing ways to refer to the other controls. This rapidly moves us in one of two directions: naming controls or creating references. The naming approach is definitely my preference as it fits better with dataflow and I can do some interesting effects with breaking apart some of the tree. But all of this quickly starts sounding like "Please implement a XAML parser in LabVIEW." For those of you unfamiliar with XAML, in the world of UI design, it might very well be the coolest thing since sliced bread. A XAML string would indeed fit with dataflow, and we could start building that up. I hesitate to head down this road for two reasons. One, as many have noted, there's really not a good XML parsing library written in LabVIEW that can give me a useful DOM tree. Two, that's a huge project and my gut sense is that you'd have to complete a fairly large chunk of it before you'd start seeing any return on investment. But it is worth thinking about -- I might be wrong. Wouldn't be the first time. This code that I've posted today can at least get you started on the generation side if one of you decides to become industrious.
    I'm turning my attention away from this project for now... coding in G is lots of fun, and I wish I could spend more days doing it, but this has been a side project and it's time to get back to my assigned projects in text programming. Building a powerful platform for automatic UI generation in LabVIEW would be really useful -- I see lots of requests for this sort of thing, and other languages are pulling ahead of us in this domain.
    [UPDATE 5/17/2012 - There is an improved version.]
    Solved!
    Go to Solution.
    Attachments:
    ConfighThroughCtrlCreation.zip ‏558 KB

    Elijah K wrote:
    Thanks for posting this Aristos.  I would normally be one of those to go bug you at your desk, but in case I'm not the only one with this question... which particular flickering problem are you referring to?  The act of switching tabs?  In all honesty, I've never noticed...
    When you move controls around on the screen, normally you try to Defer Panel Updates while you do that. But Defer Panel Updates has an effect on control's abilities to catch certain mouse clicks, so when you're trying to move a control to catch the mouse, you have to work a lot without Defer Panel Updates, so if you're adjusting captions, etc, to match the new location, you can see flicker as properties adjust. You can move the control off-screen, as long as you have already updated the picture control to reflect the changes. It took a while to catch all the ways that the flickering can crop up. I think I got 'em all.
    Attached are the VIs saved for LV 2009. Actually, they're saved for LV 8.6, but it doesn't work in 8.6 because of a bug in the picture control that existed back then.
    Attachments:
    ComposableUI_LV2009.zip ‏391 KB

  • How to create an interface if the class has a nested class

    I have the following class
    public class SampleImport{
    public SampleResult import (InputSource xml) {
    SampleResult sampleResult = new SampleResult();
              //do something
              return sampleResult;
    public static class SampleResult {
              public final String sampleName;
              public SampleResult (String s) {
                   sampleName = s;
    I would like to create an interface for this class for teh following method signature 'SampleResult import(InputSource(xml))', how would I create it ?
    Any help is appreciated,
    TIA,

    public interface Nameable {
        String getName();
    public interface Importable {
        Nameable importSource (InputSource xml);
    public class SampleImport implements Importable {
        @Override public SampleResult importSource (InputSource xml) {
            SampleResult sampleResult = new SampleResult("foo");
            //do something
            return sampleResult;
        public static class SampleResult implements Nameable {
            public final String sampleName;
            public SampleResult (String s) {
                sampleName = s;
            @Override public String getName() {
                return sampleName;
    }edit: er, you do know import is a keyword?

  • Creating Model Interfaces for GUI Layer

    I'm trying to avoid directly using a class from my model layer in my GUI. But I need to use a method in my class lets say, "setPropertyFoo(object)". So is it worthwhile to create an interface for my class, have my class implement the interface, and then use the interface in my view layer just for this one method? And the broader more general question is, is there a point at which one should not create interfaces? Are interfaces, though a standard of proper OOP programming, ever a symptom of an underlying poor design structure if they are needed in some way? I would hope not but I'm still learning.
    // Model layer
    public class MyClass implements MyInterface
         private Object foo;
         // For simplicity
         public void setPropertyFoo(Object obj)     
              foo = obj;
    public interface MyInterface
         // Just this...Just this one method...
         public void setPropertyFoo(Object obj);
    // View layer...
    MyInterface face = Factory.createMyClass();
    public void valueChanged(ListSelectionEvent event)
         <.....>
         face.setPropertyFoo(list.getSelectedValue());

    Your response sounds sensible to me. Thanks.
    Part of any piece of software will be about behavior.
    Part will be about data. Face it, a lot of what
    software does is move data around. IMHO, at boundaries
    between layers or modules (e.g. the DTO/DAO/VO for
    moving data between a database and your program), or
    wherever conversion occurs (to/from XML for instance)
    you may need some getters and setters.I agree.
    I try to avoid get/set in my code, but if I find I'm
    writing a whole bunch of goop just to achieve that
    grail, I stop and think about whether concealing that
    particular object's state really needs to be
    sacrosanct. And when I do provide access to that data,
    it's not just blind get/set that sets or returns any
    and all fields directly.This is helpful. It makes me think that there may be alternative means of achieving the same end without directly calling "set" on a field. Interesting.
    Off the top of my head, if
    you're doing a lot of passing objects as parameters to
    methods that just call getters and setters and act on
    the results, as opposed to saying
    object.doSomethingThatModelsABusinessAction().This is helpful too. I think I see what you are saying here.
    Using my example in the first post, I could modify it and say...
    // View layer...
    MyInterface face = Factory.createMyClass();
    public void valueChanged(ListSelectionEvent event)
         face.selectionResponse(list.getSelectedValue());
    // Then the model class...
    Public class MyClass implements MyInterface
         private Object foo;
         // For simplicity
         private void setPropertyFoo(Object obj)     
              foo = obj;
         public void selectionResponse(Object obj)
              setPropertyFoo(obj);
              // At least this gives the object more control
              // over whether or not to set the property at the
              // selection...
    }But I also appreciate what you've shared about the danger of the extreme point of view. From just what I've tried, I've been able to determine that it is possible to twist up a simple application and create more design flaws by attempting to eliminate each and every set or get method. So It's reassuring that I can leave some in where it makes sense to do so.

  • An error occurred while releasing interface Loopback Pseudo-Interface 1 : The system cannot find the file specified

    Hello All
    I have TMG server installed on windows 2008 R2 64x  with 3 network adaptor (Lan,Premiter and External), but for some reason the clients on premiter Network cant get ip addresses from dhcp which located on LAN. i have done 
    ipconfig /release
    ipconfig /flushdns
    ipconfig /renew 
    but no success...... also uninstalled premiter network adaptor and reinstall network adaptor still no success.....getting this error.
    An error occurred while releasing interface Loopback Pseudo-Interface 1 : The system cannot find the file specified
    by the way My Lab is based on Hyper-v
    any help would be much greatfull
    thanks

    Hi,
    Have you checked the TMG logging?
    You could try the troubleshooting steps in the thread below.
    http://answers.microsoft.com/en-us/windows/forum/windows_vista-networking/an-error-occurred-while-releasing-interface/4261cacb-e924-4d74-a349-4f3b898c27a9
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • LMS 3.2 syntax for specifying an interface for packet capture

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Tableau Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";}
    Hi fellows,
    I have been trying to specify a particular interface on the packet capture windows and can not find the syntax on any documentation.
    It has to be something like @IPswitch /or: or ? and the interface
    Can someone have an example for the correct syntax?
    Thanks in advance
    Tewfiq

    You can't specify a device interface for packet capture.  The packet capture in LMS runs on the LMS server itself.  You can select a server interface and filter on a specific IP, but you cannot filter down to the device interface unless you filter on that device interface's IP address.  To filter on an IP, just type the IP address in the Address(es) text field.

  • Unable to locate specified base class 'resources.style1.HelpButtonIcon' for component class

    Hi,
    I have a Flex (4.1.0) project, which has many skinnable custom components. The application allows a user to choose another style which changes these skins via loading a new compiled CSS. These non-default skins are in a separate Flex project.  I've not had a problem with this method until now.
    The custom component I am skinning contains several icons which are defined in the component like this:
    [SkinPart(required="true", type="mx.core.IVisualElement")]
    public var componentIconHelp:IFactory;
    then I use the iconRendererFunction to return the appropriate component part:
    private function iconRendererFunction(item:Object):IFactory
         //truncated method    
         return componentIconHelp;
    Within the skin for "style1", I then have
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         xmlns:style1="resources.style1.*">
    <!-- host component -->
    <fx:Metadata>
         [HostComponent("myApp.components.ButtonComponent")]
    </fx:Metadata>
    <fx:Declarations>
         <fx:Component id="componentIconHelp">
              <style1:HelpButtonIcon />
         </fx:Component>
    </Declarations>
    When I try to compile this, I get the "Unable to locate specified base class 'resources.style1.HelpButtonIcon' for component class 'resources.style1.ButtonComponentSkinInnerClass0'" error.
    If I remove the HelpButtonIcon from the <fx:Component> declaration, and just put it in the main body of the skin, it compiles and renders, but I need it to be a component (there's multiple components I have to choose from to display, similar to the ButtonBar skin).
    Any ideas why it's not compiling and what I need to do to achive this?
    Thanks

    Thanks, one step closer (or further away :-)
    I tried adding the airspark.swc to the library path for the project and it made no difference so I added:
    -external-library-path /Applications/Adobe Flash Builder 4/sdks/4.0.0/frameworks/libs/air/airspark.swc
    to the external tools configuration and now get the error:
    command line: Error: unable to open 'Flash'
    The project itself runs fine, it's only the ASDocs that's causing problems.

  • Access Specifiers for a class

    Why we can't declare private or protected for a class as access specifier.
    Can you give me an example on it.

    This is the third time someone asked something like this today:
    http://forum.java.sun.com/thread.jspa?threadID=664848 (where someone references your post on JavaRanch).
    http://forum.java.sun.com/thread.jspa?threadID=664790

  • Can I convert a proxy for a class that does not has any interfaces?

    Can I convert a proxy for a class that does not has any interfaces?

    Hi.
    I can hardly understand your question: what do you want your proxy (what kind of proxy?) to be converted into?
    All I can tell you is the following: Proxies created using java.lang.reflect.Proxy can only be created using an interface. This interface has to be implemented by the proxied object. So: no interface, no java.lang.reflect.Proxy.
    Bye.

  • Error.  Cannot install public key for specified user

    I'm getting "Error. Cannot install public key for specified user" when trying to add a public ssh key for a service processor user on a V20z. I've tried it for different users and still get the error. The same operation works fine on a V40z. Any help would be appreciated.

    That would be great if the resolution was that simple.  I am using a public key I generated using the putty key generator.  Below is the key I would use if I got that far.  However I get an error on the "ssh authentication publickey" attribute so I never get the chance to enter a public key.  What code version and hardware version are you running that this worked on?
    AAAAB3NzaC1yc2EAAAABJQAAAIEA2h00RCKBbpbrTWSe/3TYAvRpkJz7tLwQDCf9
    4fDJUWUGrmxXHeomuBhNGZh7tyfFjRL2CKY6nWmFyKN/eDm0PF4IWhhCArzOPVDu
    q7Nu2y/pD8wWH8dH4a3zRpkLSekNJtH6lzuqmY0zqz9TnZlpS6g4LI1a+lOGSmhU
    /HySw9s=
    ciscoasa(config)#username test nopassword privilege 15
    ciscoasa(config)#username test attributes
    ciscoasa(config-username)#ssh ?
    configure mode commands/options:
      Hostname or A.B.C.D  The IP address of the host and/or network authorized to
                           login to the system
      X:X:X:X::X/<0-128>   IPv6 address/prefix authorized to login to the system
      scopy                Secure Copy mode
      timeout              Configure ssh idle timeout
      version              Specify protocol version to be supported
    exec mode commands/options:
      disconnect  Specify SSH session id to be disconnected after this keyword
    ciscoasa(config-username)# ssh
    ciscoasa(config-username)# sh ver | in Ver
    Cisco Adaptive Security Appliance Software Version 9.1(1)
    Device Manager Version 7.1(1)52
    ciscoasa(config-username)#

Maybe you are looking for

  • Log on to web application

    Hello! I am very new to SRM and I try to log in to the user interface for almost a week now, but no success till now I get the message that SSO login is not possible and therefore sending the password is not secure, and if I still want to login a pop

  • Show some error no longer authorized window for purchase

    dear sir           when i conect i phone via usb to my pc then itune show it not longer authrized for window . agin i authrized window then again it show same error . and when i connect with mac pro then its show error 0xe8000001

  • WBS settlement rule

    Dear PS Sifu, What is the maximum number of settlement rule can we maintained in CJ20N by WBS element? Please advise. Thank you. Kind regards, Eila

  • Project library - audio

    What does the little icon (next to all of my projects) in the project library window mean? It has what looks like an audio symbol and an exclamation mark in a small triangle.

  • What is the cheapest way for me to upgrade from tiger 10.4.11 to the most recent operating system?

    Hi, just after i bought my laptop all them years back when tiger 10.4.11 was the operating system mac decided to release a new one just a week after my purchase, so the bitterness in me refused to pay for an upgrade. Years have gone by and hardly any