How To Use GOOP and The VI Server?

I created several VIs that work together to display images on a remote
computer using a VI server. To make it easier to use I turned the several
VIs into methods in a GOOP class. This works fine to display the images on a
local machine.
I then added more methods which call the existing methods via a VI server.
This version will not run, even when the VI server is the local machine.
The error it returns is "Object not valid." This comes from the object
repository method that GOOP created automatically. I'm passing what appears
to be a valid object reference, it seems that the object repository doesn't
recognize it as valid. Of course the object repository is password protected
and so I cant delve any deeper.
Has anyone
used a GOOP object over a VI server successfully? Is this even
possible?
TIA,
Don

You must be very careful because objects and refnums created on one instance
of LabVIEW are local to that instance only. Objects created on one machine
with the object repository are unknown to the other object repository
running on the remote machine. You must pass the whole object data from one
machine to the other, not only the refnum.
Jean-Pierre Drolet
"Don Brocha" a écrit dans le message news:
1_er5.467$[email protected]..
> I created several VIs that work together to display images on a remote
> computer using a VI server. To make it easier to use I turned the several
> VIs into methods in a GOOP class. This works fine to display the images on
a
> local machine.
>
> I then added more methods which call the existin
g methods via a VI server.
> This version will not run, even when the VI server is the local machine.
>
> The error it returns is "Object not valid." This comes from the object
> repository method that GOOP created automatically. I'm passing what
appears
> to be a valid object reference, it seems that the object repository
doesn't
> recognize it as valid. Of course the object repository is password
protected
> and so I cant delve any deeper.
>
> Has anyone used a GOOP object over a VI server successfully? Is this even
> possible?
>
> TIA,
>
> Don
>
>
>

Similar Messages

  • How to use toplink in the tomcat server?

    Hi,
    I want to use Toplink in the tomcat server. I am connecting to oracle database using DataSource.
    Can any body help me, what are the setup required to use the toplink in the tomcat?
    Please help me if any body has idea on the same.

    Take a look at this other forum posting: Tomcat acquire dataSource [TOPLINK-7060]
    --Shaun                                                                                                                                                                                                                               

  • What to do if I have 2 apple ID's.How to use one and the other just as a email?

    I have 2 apple ID's, an old moble me email and a new Apple ID using my Gmail How to use the new @gmail Apple ID as my primary and the @me.com just as an email?

    For the primary account sign in at settings > iCloud and for the secondary account sign in at settings > mail, contacts, calendars.

  • How to use audio and mic with multipoint server with out it crashing on you

    how to use audio and mic with multipoint server with out it crashing on you when i use them to make calls thru my station (zero client) at the same time it crashes on me and i need to restart the multipoint is there a setting i may have mist that enable's
    them to work at the same time and if posible can i use a non USB device 

    Look for "Single Sign-on Using Kerberos in Java" in google or on Sun's web site. Maybe this paper will help you.
    Claude

  • I keep getting Alarm popups saying that it cannot send msg using the server null. I think I have disabled email (I use Gmail) and the calendar however I still get these popups and I can't close them?

    I keep getting Alarm popups saying that it cannot send msg using the server null.
    I think I have disabled email (I use Gmail) and the calendar however I still get these popups and I can't close them?
    How can I disable the Alarm popups?
    Thanks
    Brian

    OS X Mail: Troubleshooting sending and receiving email messages - Apple Support
    Google Mail recently implemented additional security measures "for your protection" of course. The manifestation of that may be the requirement to create a unique, "application-specific" password for each one of the various Google services you may use. That requirement probably includes Google Mail. So if the above Apple Support document doesn't resolve the problem, research Google's application-specific password requirements, and how to configure Mail to use it.
    I asked the Hosts to edit or obscure the email address in your post.

  • HT2534 how do i use itunes and the app store without any credit card or gift card?

    i just got my iphone and i used to use itunes all the time before when downloading all songs were completly free, how do i use itunes and the app store to find free stuff to download without having to add a credit card or gift card with my account?

    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
      http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/

  • SQL ENTERPRISE: The edition of Reporting Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database

    The error below makes absolutely no sense! I'm using Enterprise Core...yet I'm being told I can't use remote data sources:
    w3wp!library!8!03/05/2015-19:08:48:: i INFO: Catalog SQL Server Edition = EnterpriseCore
    w3wp!library!8!03/05/2015-19:08:48:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: The feature: "The edition of Reporting
    Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.;
    Really? This totally contradicts the documentation found here:
    https://msdn.microsoft.com/en-us/library/ms157285(v=sql.110).aspx
    That article says remote connections are completely supported.
    ARGH! Why does this have to be so difficult to setup?!?

    Hi jeffoliver1000,
    According to your description, you are using Enterprise Core edition and you are prompted that you can’t use remote data sources.
    In your scenario, we neither ignore your point nor be doubt with what you say. But actually we have met the case before that even though the SQL Server engine is Enterprise but the reporting services is still standard. So I would recommend you to find the
    actual edition of reporting services you are using. You can find Reporting Services starting SKU in the Reporting Service logs ( default location: C:\Program Files\Microsoft SQL Server\<instance name>\Reporting Services\LogFiles). For more information,
    please refer to the similar thread below:
    https://social.technet.microsoft.com/Forums/en-US/f98c2f3e-1a30-4993-ab41-acbc5014f92e/data-driven-subscription-button-not-displayed?forum=sqlreportingservices
    By the way, have you installed the other SQL Server edition before?
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How to bind the java client stub and the C++ server's skeleton?

    hi, i'm currently working on a project which a java client invoke a C++ object.
    i've wrote the idl and compile it using idl2cpp and a object is created.
    then i try to compile my java client using vbjc Client. it was done without errors.
    but when i try to run the client (after i run the smart agent and the C++ server) using vbj Client, it promts error which fail to load the class Client.java
    and i've try to run my java client using jre (java Client), the program throws exception --> org.omg.CORBA.BAD_PARAM: minor code: 0 completed: No
    so, wat's wrong with my codes actually??
    it's urgent and i really need you all's help...
    thanks a lot...

    below is my code:
    TimeObject.cpp (C++ server)
    #include "TimeImpl.h"
    // USE_STD_NS is a define setup by VisiBroker to use the std namespace
    USE_STD_NS
    int main(int argc, char* const* argv)
    try {
    // Initialize the ORB.
    CORBA::ORB_ptr orb = CORBA::ORB_init(argc, argv);
    /* // Initialize the BOA
    CORBA::BOA_ptr boa = orb->BOA_init(argc, argv);
    // Create the Time object
    POA_Time::TimeSetting timesetting = new TimeSettingImpl("My TimeSetting");
    // Export the newly created object
    boa->obj_is_ready(timesetting);
    // Ready to service requests
    boa->impl_is_ready(); */
    // get a reference to the root POA
    CORBA::Object_var obj = orb->resolve_initial_references("RootPOA");
    PortableServer::POA_var rootPOA = PortableServer::POA::_narrow(obj);
    CORBA::PolicyList policies;
    policies.length(1);
    policies[(CORBA::ULong)0] = rootPOA->create_lifespan_policy(
    PortableServer::PERSISTENT);
    // get the POA Manager
    PortableServer::POAManager_var poa_manager = rootPOA->the_POAManager();
    // Create myPOA with the right policies
    PortableServer::POA_var myPOA = rootPOA->create_POA("sntp_poa",
    poa_manager,
    policies);
    // Create the servant
    TimeSettingImpl timeServant;
    // Decide on the ID for the servant
    PortableServer::ObjectId_var managerId =
    PortableServer::string_to_ObjectId("TimeManager");
    // Activate the servant with the ID on myPOA
    myPOA->activate_object_with_id(managerId, &timeServant);
    // Activate the POA Manager
    poa_manager->activate();
    CORBA::Object_var reference = myPOA->servant_to_reference(&timeServant);
    cout << reference << " is ready" << endl;
    // Wait for incoming requests
    orb->run();
    catch(const CORBA::Exception& e) {
    cerr << e << endl;
    return 1;
    return 0;
    Client.java:
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class Client
         public static void main(String args[]) throws IOException, InterruptedException
              try
                   // Initialize the ORB
                   System.out.println("Initializing the ORB");
                   org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, null);
                   // Get the manager Id
                   byte[] managerId = "TimeManager".getBytes();
                   System.out.println("get the manager id");
                   // Locate an account manager. Give the full POA name and the servant ID.
                   Time.TimeSetting time =
                   Time.TimeSettingHelper.bind(orb, "/sntp_poa", managerId);
                   System.out.println("bind the object");
                   // Bind to the TimeSetting Object
                   //System.out.println("Binding to TimeSetting Object");
                   //Time.TimeSetting time = Time.TimeSettingHelper.bind(orb, "My TimeSetting");
                   SntpClient client = new SntpClient();
                   long Offset = client.synchronizeTime();
                   // Set offset
                   System.out.println("Setting offset to" + Offset);
                   time.offset((long)Offset);
                   // Set the system time
                   System.out.println("Setting system time");
                   time.SetTime();
              } catch (org.omg.CORBA.SystemException e)
                   System.out.println("System Exception");
                   System.err.println(e);

  • Query: how to use structure and selection and what's the difference between

    Query: how to use structure and selection and what's the difference between these two?
    Would be appreciated if some experts here give examples to demenstrate on how to use structure and selection in query and what's the difference between these two?
    Thanks in advance!

    Hi Kevin,
    1. Well by default all the KF that you include in your query go into a Key Figure Structure. You can additionally have another structure for defining how your chars are laid out. A common example is a Calmonth structure where you have selections for 12 months, quarers and YTD values. This would be a char structure with different selections (for each month, qtr etc)
    2. Yes, a selection with a KF is the same as restricting a KF. You can use am RKF is you have one on the left hand side, or if you need to do this locally in the query, right click the structure and choose New Selection, then proceed to choose your KF and reqd char values.
    Hope this helps...

  • How to use lsmw and load cin details of the customer

    hi,
    how to use lsmw and load CIN details of the customer master data as the CIN DETAILS are not visible under XD01.
    thanx in advance
    regards,
    balajit

    i got the solution

  • The disk containing your iPhoto library is running low on space.How is this possible? I have no photos and have never used iphoto and the program is up to date.

    How is this possible? I have no photos and have never used iphoto and the program is up to date. I try to import and drop my pictues into iphoto but nothing happens or I get above statement. Help please!

    Then it's a bogus message and indicates that the default library is damaged.
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and use that one.
    Regards
    TD

  • I purchased a used iphone4 and the phone displays the previous owners apple id and prompts me for the previous owners password. how do i get rid of his info....and install my own apple id number?

    I purchased a used iphone4 and the phone displays the previous owners apple id and prompts me for the previous owners password. how do i get rid of his info....and install my own apple id number?

    Login to the app store with YOUR ID. You can't use the app store without an Apple ID. If there are apps on the phone that were purchased with the original owners ID, you do NOT own them. The owner had no legal right to give them to you and they are permanently tied to the ID that was used to purchase them.
    ...i was also allowed to purchase an apple network id for this phone...
    I have absolutely NO IDEA what you mean by that. You can not "purchase an apple network id".

  • I purchased a used macbook and the other persons apple id information is still on this for example apple updates it wont allow me to update apps unless i am logged in with his email. how do i change that

    i got a used macbook and the other persons apple id is still connected to the macbook. for example i cant update apps unless i have his passwod but i dont wanna pay for apps such as iphoto and more. is there anything i can do? this is a macbook 13 inch late 2008 model

    You're going to have to purchase those apps for yourself. The seller shouldn't have left anything he had purchased on the computer when he sold it to you.

  • How to use PS to judge the existence of a folder in the specified directory and how to use PS in the specified directory to create to create the folder?(javascript)

    1,How to use PS to judge the existence of a folder in the specified directory?(use javascript)
    2, how to use PS in the specified directory to create to create the folder?(use javascript)
    Thanks you!

    Thanks you!

  • How to use CC and BCC in demo mail

    how to use CC and BCC in the demo mail ?

    I havent tried bcc. But I tried cc. Below is the code. It works excellent+
    PROCEDURE RAJ_MAILCC (
    from_addrs VARCHAR2,
    to_addrs VARCHAR2,
    cc_addrs VARCHAR2,
    sub VARCHAR2,body IN VARCHAR2) IS
         conn UTL_SMTP.CONNECTION;
         crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
         vrfy_msg utl_smtp.reply;
         SUCCESS_VALUE NUMBER(4) := 252;
         oracle_sid varchar2(20);
         email_addr varchar2(50):= null;
         from_addr varchar2(100) := '<<from email id >>';
         to_addr varchar2(1000):= to_addrs;
         cc_addr varchar2(1000):= cc_addrs;
         mesg VARCHAR2(4000);
         subject varchar2(300):= sub;
         mail_body varchar2(32000) := body;
         to_mail varchar2(1000) := null;
         cc_mail varchar2(1000) := null;
         no_addresses number(4):= 0;
         temp varchar2(4000) := null;
         temp2 varchar2(4000) := null;
         ERROR_ADDR varchar2(20):= '<<to email id for errors>>';
         ERROR_MSG varchar2(1000);
         ERROR_SUBJECT varchar2(1000) := 'Error in email '|| sub;
    begin
    mail_body := 'To:'||to_addrs || chr(10) ||'CC:'|| cc_addrs || chr(10) ||'Sub:'|| sub || chr(10) || body;
    subject := 'Test: ' || sub;
              select email, cc_email
              into to_addr, cc_addr
              from my_table
              where userid = user;
              temp := to_addrs||';';
              while( instr( temp, ';') != 0) LOOP
                   temp := substr(temp, instr( temp, ';') + 1);
                   temp2 :=to_addr||';'|| temp2;
              end loop;
              to_addr := temp2;
              temp := cc_addrs||';';
              temp2 := null;
              while( instr( temp, ';') != 0) LOOP
                   temp := substr(temp, instr( temp, ';') + 1);
                   temp2 :=cc_addr||';'|| temp2;
              end loop;
              cc_addr := temp2;
         end if;
         /*** Establish a connection to a mail server******/
         conn:= utl_smtp.open_connection( 'MAIL SERVER', 25 );
         utl_smtp.helo( conn, 'MAIL SERVER' );
         utl_smtp.mail( conn, from_addr );
         to_addr := to_addr || ';';
         cc_addr := cc_addr || ';';
         to_mail := to_addr;
         cc_mail := cc_addr;
         /*** Send mail to To: addresses ****/
         while( instr( to_addr, ';') != 0) LOOP
              email_addr := substr( to_addr, 1, instr( to_addr, ';') - 1);
              vrfy_msg := utl_smtp.vrfy(conn,email_addr);
              IF vrfy_msg.code = SUCCESS_VALUE THEN
                   UTL_SMTP.RCPT( conn,email_addr );
              END IF;
              to_addr := substr(to_addr, instr( to_addr, ';') + 1);
              email_addr := null;
         end loop;
         /*** Send mail to CC: addresses ****/
         while( instr( cc_addr, ';') != 0) LOOP
              email_addr := substr( cc_addr, 1, instr( cc_addr, ';') - 1);
              vrfy_msg := utl_smtp.vrfy(conn,email_addr);
              IF vrfy_msg.code = SUCCESS_VALUE THEN
                   UTL_SMTP.RCPT( conn, email_addr);
              END IF;
              cc_addr := substr(cc_addr, instr( cc_addr, ';') + 1);
              email_addr := null;
         end loop;
         mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
         'From: ' || 'Abacus' || ' <' || from_addr || '>' || crlf ||
    'To: '|| to_mail || crlf ||
    'Cc : '|| cc_mail || crlf ||' ' || crlf ||
    'Subject: ' || subject || crlf;
         mesg:= mesg || '' || crlf || mail_body;
         utl_smtp.data( conn, mesg );
         utl_smtp.quit( conn );
    EXCEPTION
    WHEN OTHERS THEN
         ERROR_MSG := 'Mail notification could not be sent '||SQLERRM;
         sendmailcc(ERROR_ADDR, ERROR_ADDR, null, ERROR_SUBJECT, ERROR_MSG); /
    RAISE_APPLICATION_ERROR(-20001,ERROR_MSG);
    END;

Maybe you are looking for

  • Macbook pro seems not to be shut down normally after adding one more user account

    after i have created a new user account and i tried to shut it down, it does not appear a white background on the screen to let me know if the pc was in the process. After few second the screen becomes black and it shuts down. I tried to turn on the

  • Cannot start second instance of collector

    Hi everyone I've got a strange one here. A workstation I noticed that wasn't scanned since 6 months (WinXP SP3, ZCM 10.3.1). When I check the ZAA windows, it says Last Scanned i.e. today, Last Upload June 2. I've found several errors 'Cannot start se

  • How can a Java prg pass data to a SAP table (TStpo)

    Hi All, I created a webservice using JAVA. Got WSDL for a SAP Funtional Module(CSAP_MAT_BOM_CREATE) and created Java Classes using (WSDL2Java -t XXX.wsdl ). While Invoking the service from Java Client program by Passing all the parameters. Error:Dese

  • PGP Encryption Error using OpenPGP

    Hi all, I am trying PGP Encrption using Custom module in one of the scenario's. While Executing the code on my local system(simple java project) i am getting following error. Exception in thread "main" java.lang.RuntimeException: NYI      at cryptix.

  • Photo order for slideshow

    I have a directory of 300 photos, numbered 1-300, which are in the order I want them in...they are not in date order at all.   how can i preserve my order when pulling into the organizer in elements for slideshow creation? a related topic...any batch