Accessing the Solver AddIn to Excel from LabVIEW

I would like to be able to set the parameters and run the Solver AddIn in Excel from LabVIEW. I know that from LabVIEW you can install the different AddIn's but is there anyway to access the actual AddIn once it has been installed?

Hi Karin -
I believe your answer is ActiveX.
Briefly, ActiveX allows application a (e.g. LabVIEW) to control application B (e.g. Excel, Word, etc.) programmatically. The kicker is that application B must export that functionality to LabVIEW. We ship an example with LabVIEW that controls Excel via ActiveX, it will give you a head start. We do not provide extended support for ActiveX programming simply because there are literally thousands of applications we could control. Microsoft might be able to shed more light with an Excel ActiveX programmer's reference or some relted document.
good luck-
ben schulte
national instruments

Similar Messages

  • Accessing the same stateful session bean from multiple clients in a clustered environment

    I am trying to access the same stateful session bean from multiple
              clients. I also want this bean to have failover support so we want to
              deploy it in a cluster. The following description is how we have tried
              to solve this problem, but it does not seem to be working. Any
              insight would be greatly appreciated!
              I have set up a cluster of three servers. I deployed a stateful
              session bean with in memory replication across the cluster. A client
              obtains a reference to an instance of one of these beans to handle a
              request. Subsequent requests will have to use the same bean and could
              come from various clients. So after using the bean the first client
              stores the handle to the bean (actually the replica aware stub) to be
              used by other clients to be able to obtain the bean. When another
              client retrieves the handle gets the replica aware stub and makes a
              call to the bean the request seems to unpredictably go to any of the
              three servers rather than the primary server hosting that bean. If the
              call goes to the primary server everything seems to work fine the
              session data is available and it gets backed up on the secondary
              server. If it happens to go to the secondary server a bean that has
              the correct session data services the request but gives the error
              <Failed to update the secondary copy of a stateful session bean from
              home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              to the primary server will not reflect changes made on the secondary
              and vice versa. If the request happens to go to the third server that
              is not hosting an instance of that bean then the client receives an
              error that the bean was not available. From my understanding I thought
              the replica aware stub would know which server is the primary host for
              that bean and send the request there.
              Thanks in advance,
              Justin
              

              If 'allow-concurrent-call' does exactly what you need, then you don't have a problem,
              do you?
              Except of course if you switch ejb containers. Oh well.
              Mike
              "FBenvadi" <[email protected]> wrote:
              >I've got the same problem.
              >I understand from you that concurrent access to a stateful session bean
              >is
              >not allowed but there is a
              >token is weblogic-ejb-jar.xml that is called 'allow-concurrent-call'
              >that
              >does exactly what I need.
              >What you mean 'you'll get a surprise when you go to production' ?
              >I need to understand becouse I can still change the design.
              >Thanks Francesco
              >[email protected]
              >
              >"Mike Reiche" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Get the fix immediately from BEA and test it. It would be a shame to
              >wait
              >until
              >> December only to get a fix - that doesn't work.
              >>
              >> As for stateful session bean use - just remember that concurrent access
              >to
              >a stateful
              >> session bean is not allowed. Things will work fine until you go to
              >production
              >> and encounter some real load - then you will get a surprise.
              >>
              >> Mike
              >>
              >> [email protected] (Justin Meyer) wrote:
              >> >I just heard back from WebLogic Tech Support and they have confirmed
              >> >that this is a bug. Here is their reply:
              >> >
              >> >There is some problem in failover of stateful session beans when its
              >> >run from a java client.However, it is fixed now.
              >> >
              >> >The fix will be in SP2 which will be out by december.
              >> >
              >> >
              >> >Mike,
              >> >Thanks for your reply. I do infact believe we are correctly using
              >a
              >> >stateful session bean however it may have been misleading from my
              >> >description of the problem. We are not accessing the bean
              >> >concurrently from 2 different clients. The second client will only
              >> >come into play if the first client fails. In this case we want to
              >be
              >> >able to reacquire the handle to our stateful session bean and call
              >it
              >> >from the secondary client.
              >> >
              >> >
              >> >Justin
              >> >
              >> >"Mike Reiche" <[email protected]> wrote in message
              >news:<[email protected]>...
              >> >> You should be using an entity bean, not a stateful session bean
              >for
              >> >this application.
              >> >>
              >> >> A stateful session bean is intended to be keep state (stateful)
              >for
              >> >the duration
              >> >> of a client's session (session).
              >> >>
              >> >> It is not meant to be shared by different clients - in fact, if
              >you
              >> >attempt to
              >> >> access the same stateful session bean concurrently - it will throw
              >> >an exception.
              >> >>
              >> >> We did your little trick (storing/retrieving handle) with a stateful
              >> >session bean
              >> >> on WLS 5.1 - and it did work properly - not as you describe. Our
              >sfsb's
              >> >were not
              >> >> replicated as yours are.
              >> >>
              >> >> Mike
              >> >>
              >> >> [email protected] (Justin Meyer) wrote:
              >> >> >I am trying to access the same stateful session bean from multiple
              >> >> >clients. I also want this bean to have failover support so we want
              >> >to
              >> >> >deploy it in a cluster. The following description is how we have
              >tried
              >> >> >to solve this problem, but it does not seem to be working. Any
              >> >> >insight would be greatly appreciated!
              >> >> >
              >> >> >I have set up a cluster of three servers. I deployed a stateful
              >> >> >session bean with in memory replication across the cluster. A client
              >> >> >obtains a reference to an instance of one of these beans to handle
              >> >a
              >> >> >request. Subsequent requests will have to use the same bean and
              >could
              >> >> >come from various clients. So after using the bean the first client
              >> >> >stores the handle to the bean (actually the replica aware stub)
              >to
              >> >be
              >> >> >used by other clients to be able to obtain the bean. When another
              >> >> >client retrieves the handle gets the replica aware stub and makes
              >> >a
              >> >> >call to the bean the request seems to unpredictably go to any of
              >the
              >> >> >three servers rather than the primary server hosting that bean.
              >If
              >> >the
              >> >> >call goes to the primary server everything seems to work fine the
              >> >> >session data is available and it gets backed up on the secondary
              >> >> >server. If it happens to go to the secondary server a bean that
              >has
              >> >> >the correct session data services the request but gives the error
              >> >> ><Failed to update the secondary copy of a stateful session bean
              >from
              >> >> >home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              >> >> >to the primary server will not reflect changes made on the secondary
              >> >> >and vice versa. If the request happens to go to the third server
              >that
              >> >> >is not hosting an instance of that bean then the client receives
              >an
              >> >> >error that the bean was not available. From my understanding I
              >thought
              >> >> >the replica aware stub would know which server is the primary host
              >> >for
              >> >> >that bean and send the request there.
              >> >> >
              >> >> >Thanks in advance,
              >> >> >Justin
              >>
              >
              >
              

  • Error -2146960888 when opening excel from labview using active x

    attempting to open an instance of excel from labview using active x, I even tried using the "open excel and make visible.vi" found on this site. I get errors every time, Inserting a break right after the property node, I found that it does open excel with no active workbook. once the program runs to ompletion excel terminates. The error is on the line right after the property node executes.

    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F15456A4E034080020E74861&p_node=DZ53003&p_submitted=N&p_rank=&p_answer=&p_source=External
    Attachments:
    XL97table.zip ‏29 KB

  • Hello, sombody knows how to start MS Excel from LabView (version 8.2)? Thanks

    Hello, sombody knows how to start MS Excel from LabView (version 8.2)? Thank you in advance.
    Regards Robert

    In the example finder  ">Help>Find Examples >>search for Excel", you'll find a sample program called "ActiveX Event Callback for Excel".
    It opens the Excel Application..  You can build on this to open/create new worksheet(s), etc.
    RayR
    Message Edited by JoeLabView on 06-20-2007 08:21 AM
    Attachments:
    OpenExcel.PNG ‏34 KB

  • Accessing a 3-axis USB joystick from LabVIEW

    I am trying to access a 3-axis USB joystick from LabVIEW. I see that this issue has been posted before...has anyone come up with a solution?

    Microsoft's DirectX, free via MSDN, is a set of development libraries for high performance games avilable in both a VB and C++ SDK. Input from USB joysticks is supported in the DirectInput portion of the SDK.
    The ActiveX object for the VB flavor will NOT work with LV. It initially appears to work. You can make an activeX connection but the input device objects are created dynamically from device enumerations and LV requires objects to be defined at connection time.
    However, if you are up to it, (I am severely C syntax challenged), you could probably use the LV call library node along with the C++ SDK to make the DLL calls.
    If your budget allows, these guys:
    http://www.xon.de/reference/XOnMultimedia/_XmmJoy_VIs.html
    sell a DirectX based LV multimedia
    toolkit that appears to support Z-axis joysticks. Their website is a little messed up and the German description for the toolkit is coming up on the english side. This link is the english documentation for the toolkit. Maybe if you poke around you can get 100% english. If not you can contact Peter Prinzen [ [email protected] ]for further info. I think it was $45 USD about 4 months ago. Good Luck.

  • How to access the java stack table "xi_af_msg" from the ABAP engine.

    Hello Guys,
    How to access the java stack table "xi_af_msg" from the ABAP engine.
    I need to access this table.

    These 3 are the tables that are for XI Adapter in ABAP Stack.
    SWFRXICNT
    SWFRXIHDR
    SWFRXIPRC
    You can also try the following tables.
    SXMSAEADPMOD                   XI: Adapter and Module Information
    SXMSAEADPMODCHN                XI: Adapter Module Chains
    SXMSAEAGG                      XI: Adapter Runtime Data (Aggregated)
    SXMSAERAW                      XI: Adapter Runtime Data (Raw Data)
    Cheers,
    Sarath.
    Award if helpful.

  • I cannot access the pictures on my iPhone from my PC anymore?

    For some reason I can no longer access the pictures on my iPhone from my WIndows PC.  I used to be able to navigate us explorer to the files and download them to my desktop.  A possibly related glitch is that when I connect the iPhone with the cable via the USB port windows says it's recognized and properly installed the device drive...however the device does not apeear under "My Computer" the device show up on iTunes on the PC but I cannot navigate to the picture.  Can someone please help me?
    Thank you,

    Thanks for update.
    Can you look into the bottom dock connector, and clean it with jet of air, also look if any pins/wire is not straight. My suspicion is that, the USB interface signal pins, 25 and 27, D- and D+, is not communicating with the iPod, especially pin 25.
    If cleaning doesn't work, then bring it to any 3rd Party iPod Repair, to let them have a look or replace the bottom dock or whatever they find out of place.
    Oops sorry, I forgot the basic
    Can you Reset the iPod.
    After charging till full charge, at least 2 hours (preferably 4 hours)
    Toggle the Hold switch, make sure you dont see the red mark when you do the  next step
    Reset the iPod -> Press Menu and Center button simultaneously for about 10 secs or till the Apple Logo comes ON
    Then release the buttons
    Select your preferred language.
    Here is the Apple support Article on the 5Rs
    http://www.apple.com/support/ipod/five_rs/classic/

  • How to  access the ORACLE APPS table structures from SAP

    Hi Experts,
        How to  access the ORACLE APPS table structures from SAP? Is it possible from SAP?
    Thanks in advance
    Thomas

    Hi Silviya,
    you can access this database using a technique called DB Multiconnect - sometimes written as multi-connect.
    Search the SAP documentation and notes for this term and you will find how to do it.
    Essentially you configure the remote database connection via transaction DBCON.
    If your SAP system is not running on Oracle you will need to install the db-specific kernel files for Oracle along with the Oracel db client software - SQL*Net.
    Then you can access the Oracle database from ABAP using native-SQL. It works a treat!
    Cheers
    Graham Robbo

  • How to Access the value(Ex: Delivery no) From Web to R/3 side.

    How to Access the value(Ex: Delivery no) From Web to R/3 side.
    Any sample code please suggest.
    sai

    Hi,
    Try RSA3.
    Extract Checker
    /people/sajeed.ms/blog/2006/02/12/extract-checker
    Thanks,
    JituK

  • How can I disable the access to windows 2000(O.S.) from LabView?

    I need to disable the access to windows when an application (exe), created by LabView, is running. When the application is running, the user can not acces to windows (for example, execute another application) until he stops the application.
    I am using LabView 6.1 and windows 2000
    Many Thanks

    Hi Francesc,
    There are a couple of options for this. One of them could be calling Windows OS activex components and making the Desktop invisible through labVIEW and then bringing it back on after the LabVIEW execution is stopped.
    The other option is to modify user settings on the target machine. I have tried this on windows 2000 and it works.
    Run "gpedit.msc" from your start menu. In the Group Policy template choose the user configuration that you wish to make the settings for. Expand User Configuration , expand Administrative Templates , and then expand System. Choose 'Custom user interface'
    In this panel select 'Enabled' and enter the interface file name, in this case C:\Program Files\National Instruments\Labview 6.1.exe. (or your own filepath\App
    lication.exe). Reboot the machine.
    This replaces the default windows shell (explorer.exe) with your LabVIEW executable. When the operator logs on, the only thing on his screen is the Labview application. No desktop, no taskbar, no start button.
    This can also be done through LabVIEW using register-level programming. But it would be a more complex approach.
    Hope this helps.
    Regards,
    Pravin Borade
    Applications Engineer, National Instruments

  • How to freeze and unfreeze panes in window by using Excel from LabVIEW

    Hello
    I am creating an Excel Report file programmatically using LabVIEW. I make the row headers for the sheet and store data using the program.
    The requirement that i need is that when the user opens the Excel sheet, the row heading should remain fixed at top, as the sheet is scrolled down by the user.
    This is possible in Excel, by clicking on Window in the menu bar and then select Freeze panes/Unfreeze panes. The same operation i need, to be done from LabVIEW. Please let me know how this can be done.
    I use LabVIEW 2009
    Thank you.
    Solved!
    Go to Solution.

    Please see this discussion. TCPlomp has an example of how to achieve this.
    Cory K

  • Access denied error when starting DIAdem from LabVIEW

    We are using the DIAdem Connectivity Toolkit in our application.  Our application starts a DIAdem session to handle querying and datasheet creation.  On a recent installation at a customer, our application was not able to communicate with DIAdem, i.e. we get an Access Denied error when our application tries to start up DIAdem.
    The location of the error is in the DIAdem Open Connection.vi.  I believe it is when the Automation Open is run.
    Is there some system setting that could be blocking communication between the two, i.e. ActiveX setting, etc?  If so, where could we control these settings from?

    Hello Derrick,
    While cBauer is away from the office, I will be working with this case on his behalf.  I will try to answer your questions as best I can to determine what might be causing this failure.
    1. The error which we encounter is an "Access Denied" error (as stated above).  I am currently investigating the error code, and will update this post accordingly when I have it.
    2. Our application is a built (.exe) application using LabVIEW 8.5 and DIAdem 10.2
    3. We do not install the toolkit directly on the customers machine as this is a built application.  We install the FULL LabVIEW 8.5 Runtime engine, as well as a licensed copy of the DIAdem 10.2 Basic edition.
    4. The error occurs in run-time environment at a customer site.  We have been unable to duplicate the error in development.
    5. We're using the "DIAdem Open Connection.vi" from the DIAdem.dll library to initialize the connection (this is the VI which appears to be producing the error via the "Automation Open" node), and we're using the "DIAdem Close Reference.vi" from the same library to close the reference.
    6. I will instrument a simple application which performs these tasks and post the results when we have tried this operation.
    7. I am unsure whether the repair operation has been attempted.  I will verify this behavior and again post the results to this forum.
    Thank you for your help.  Please let me know if you require additional information.  Hopefully we can discover a solution to our problem.
    Ken

  • How to access the client PCs via RDP FROM Windows Server 2003

    Hopefully this is not an ignorant question, but every thread I've read focuses on client PCs not being able to access the terminal server. I have the opposite problem. I am working remotely and have full access to the servers (some of which are virtuals).
    I need to be able to connect to the various workstations, but I cannot.  Is this just a setting I have misconfigured?  Is there any software I can deploy to these PCs that will allow me to log in and update their workstations?
    Any help is sincerely appreciated.
    - Jeff

    Hi Jeff,
    Thank you for your posting in Windows Server Forum.
    You can able to take RDP for client system from server. But keep in mind that; client system can only allow 1 RDP session at a time for administrator purpose. For that you need to have permission for taking rdp session. 
    Also you need to verify that “Remote Desktop Service” service is running and also need to verify the below thread as per snap.
    In addition, if you want to manage all the server and client system, then you can use Remote Desktop Connection Manager to manage all the client and server remotely.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Just bought an apple tv and it wont stream music from my imac. when i click on the apple tv music icon it goes straight into the itunes store and so i can only access the music i have bought from itunes not the music i have stored in itunes on my computer

    i just bought an apple tv and it wont stream music from my imac. when i click on the apple tv music icon it accesses the itunes store and brings up only that music i have purchased from apple instead of all the music i have stored in itunes on my imac.

    The music icon will only access your purchased music. You need to go to the computer icon. It must be on and running iTunes, and home-sharing enabled in order for it to be accessible to Apple TV

  • Accessing the MessageContext of a Handler From the Backend Component

    Hi,
    I am trying to access the MessageContext in my webService, but am not able to do it. I am able to get my handler executed and i see the flow thru the handler.
    public boolean handleRequest(MessageContext messageContext) {
    boolean flag = false;
    Document document = null;
    SOAPMessageContext smc = (SOAPMessageContext) messageContext;
    SOAPMessage soapMessage = smc.getMessage();
    try {
    SOAPBody soapBody = soapMessage.getSOAPBody();
    document = soapBody.extractContentAsDocument();
    flag = true;
    } catch (SOAPException e) {
    LOGGER.log(Level.INFO, "Error retrieving body from soap message: " + e.getMessage());
    messageContext.setProperty("bodyAsDocument", document);
    return flag;
    But when it is trying to get the context in the webservice using the following code:
    SOAPMessageContext smc = WebServiceContext.currentContext().getLastMessageContext();
    it says:
    unable to find context for current thread
    Here is my webservice.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <webservices xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1">
    <webservice-description>
    <webservice-description-name>ProductDataService</webservice-description-name>
    <wsdl-file>/wsdls/ProductDataWS.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/ProductDataService.xml</jaxrpc-mapping-file>
    <port-component>
    <port-component-name>ProductDataPort</port-component-name>
    <wsdl-port xmlns:prod="http://localhost/ProductDataService">prod:ProductDataPort</wsdl-port>
    <service-endpoint-interface>com.test.productdata.ws.ProductDataImplPortType</service-endpoint-interface>
    <service-impl-bean>
    <servlet-link>ProductDataServiceServlethttp</servlet-link>
    </service-impl-bean>
    <handler>
    <handler-name>com.test.productdata.handler.ProductDataSOAPMessageHandler</handler-name>
    <handler-class>com.test.productdata.handler.ProductDataSOAPMessageHandler</handler-class>
    </handler>
    </port-component>
    </webservice-description>
    </webservices>
    Any help is appreciated. Thanks in advance
    -k

    WebServiceContext.currentContext() API only works
    for web service created by WLS using ant tasks. This
    does not work for WLW web services.

Maybe you are looking for

  • Unable to integarte Oracle business rules with BPEL

    hi' I am unable to integrate Business rules with BPEL, I am using JDeveloper to do this. I have successfully made a connection to rule repository and using decision service in synchronous BPEL process. In the decision service wizard step 1 of 2 1.) S

  • Airport extreme update 2007-001 question

    I have a new MBP core 2 duo, I should receive my new EXTREME tomorrow, I'm a total newb to wireless and to Mac......after using the disc that comes with the EXTREME to "unlock" the n standard for my MBP, do I then perform the 2007-001 update? I am a

  • Device Manager in Windows 7 won't populate

    My device manager won't populate in Win 7 Premium. It started after I tried to install a video card, but could never get it installed, so I took it out & reverted to onboard graphics. I tried 2 different video cards-a Radeon 6450 & an Nvidia 8600 GT

  • Purchase Order Creation - Shipping Data Modification - EKPV-TRAGR

    I have a requirement to modify the Transportation Group EKPV-TRAGR in PO Creation based o on some conditions. I am looking for a suitable BADI or User Exit. 1. Class Interface: IF_PURCHASE_ORDER_ITEM_MM ==> method SET_SHIPPING_DATA has some limitatio

  • Speaker icon is gone. why did everyone lose their sound 9/17?

    I am using windows 7 on CQ57-339WM. I did install (malware byte) yesterday. This was in effort to remove FUNMOODS which is the biggest garbage and intrusive to my system.Now, My speaaker icon has totally vanished. Can anyone help get my speaker icon