LabVIEW, LabJack, activex problem

Hello,
      I have a problem
running a LabJack vi with LabVIEW 7.1 but only in one of the user accounts on my
computer.  I have a computer that has two
user accounts. There is no problem with account “A”, but when I log into
account “B” and load the LabJack vi I get the message “Control can not be
loaded” on the Front Panel.  The name of
the LabJack vi is AISample.vi.  I believe
this is an Activex vi and in the system32 folder there is a file called
ljackuwx.ocx.  I have run “regsvr32
ljackuwx.oxc” but that did not fix the problem.   Please let me know how to fix this problem.
Thank You,
Gary

See the following:
http://www.labjack.com/forums/index.php?showtopic=2669

Similar Messages

  • Problems using Labview as ActiveX Server

    Hello,
           I have been having difficulty using Labview as an AcvtiveX server. I have reviewed all the postings on this subject and most are either pre Labview 8.2 and thus do not account for the changes made between 8.2 and 8.5 which broke the Activex server functions. I have looked at the recommendations for changing the to code to export (exported vi's in a DLL or Source distribution) and have tried these with no success. The closest example I have found was posted here http://forums.ni.com/ni/board/message?board.id=170&thread.id=283417 the example code they posted does ont work for me and still generates and error 3005.
          What i need is simple. I want to turn my applicaiton into a Vi server.. Expose a vi that acceses elements in the Vi server.. (controls, queues, Globals etc) that are in the Vi server context. I would then like to build a vi .. or dll that calls the 'exposed' vi in the vi server to pass data to or from the vi server. The V test.zip example file in the above indicated post is a pretty good example of this .. it just does not seem to work when i build it in 8.5. Are there any GOOD and 'current' examples of using labview as the ActiveX server (Compiled) and calling exposed vis from an external application Labivew, Visual Basic.. etc??  I am only interested in cases where Labview is the Sever. or both client and server.
           I have used a tool "ActiveXplorer" to examine the registered "exe" when the viserver is run. It always shows that there is no Type Library associated and the object is not creatable. There is a .tlb created by the project build however, where as the previous version 8.2.1 of Labview did not build that correctly. I have also tried this on 8.6 with similar error 3005 generated. sooooo what am i missing?
          Thanks
           Louis Ashford

    Mike,
           Thank you for your response to my question. The problem is that the example you site does not use the Labview vi as the Server. Excel is actually the vi server and the automation open is using and excel automation object. I am sure that Excel creates proper automation objects .. Labview however does not seem to. So while this example shows how labview can function as a client it is not an example of a compiled Labview Sever being accessed by a 'laview vi'. Possibly I am not looking at the vi that you are thinking of.
           The examples i am aware of:
                        "ActiveX Event Callback for Excel.vi... (Excel is server not Labview vi)
                        "ActiveX Event Callback for IE.vi (same Labview vi is client)
                        "Write Table to XL.vi" ( again excel is the server)
                        "3D Graph Properties - Torus.vi" (accesses an activex Control 'not' and Activex EXE)
                        "3D Lorenz Attractor Draw at Compeltion using 3D Curve.vi (Uses an activex  control not activex Exe server)
                        "3D Parametric Surface - Ribbon.vi (Uses an activex  control not activex Exe server)
                        "3D Surface Example - Fluctuating Sine Wave.vi (Uses an activex  control not activex Exe server)
                        "Excel Macro Example.vi (Uses excel as automation server..not Labview)
                        "FamilyTree.vi (uses MSComctlLib.ITreeView object not Labview as server)
                        "SlideShow.vi" (uses PowerPoint._Application not Laview as server)
          Most of the posts I have seen are for versions prior to  Labview version 8.2 (where the ActiveX server was broken) I have seen only a few posts that actually address the issue i am talking about. however thus far no real solution has been offered. I get the same results when compiling and testing this with 8.6..  as well. So have you tried this Mike? Possibly i am missing something very simple..
          The example i did find and gave the link to is a pretty simple one. This does not work on my machine at all. You can select the automation server that is registered with windows after running the server one time and this then breaks the client vi.. I have found by reselecting the GetViReference property node in the Client vi that it will the 'fix' the client vi as far as labview is concerened and it no longer shows and error. Now when you run the Client vi it will infact find the vi server and will launch it ok. However. The open automation object then hangs.. for quite some time then returns the error
    "Error -2146959355 occurred at Server execution failed
     in Client_reader.vi" Obviously the automation Exe (server) was seen because it was opened yet it did not return a valid reference so the subsequent property nodes in the client.vi will fail. Something is wrong with Labviews opening of or creating of automation objects..
              Thanks,,
                    Louis Ashford

  • ActiveX problems after upgrading to 7.0

    I upgraded from 6.1 to 7.0. I kept the 6.1 version intact. Afterwards the ActiveX functions did not work in either version. For example, the 3D plots within Labview did not work. I had to uninstall 7.0 and reinstall 6.1 for it all to work again. Any comments?

    Greg McKaskle wrote in message news:<[email protected]>...
    > > I upgraded from 6.1 to 7.0. I kept the 6.1 version intact.
    > > Afterwards the ActiveX functions did not work in either version. For
    > > example, the 3D plots within Labview did not work. I had to uninstall
    > > 7.0 and reinstall 6.1 for it all to work again. Any comments?
    >
    > I suspect that this isn't a general ActiveX problem, but a problem with
    > the specific 3D graph control. I don't really know why that happened,
    > but the first thing to do would be to install 7.0, on a safe machine and
    > see if other ActiveX, such as to Excel, or dropping the calendar control
    > works or not. You might then want to search the support site and see if
    > this is alr
    eady known, otherwise contact them and see if they can help
    > you debug it.
    >
    > Greg McKaskle
    Here is a simple test I would do if I fall into such a problem.
    I would install LabVIEW Express(7.0)on a windows 2000 machine (a clean
    machine would be prefereable).
    Then drop a automation open function. Create a Control and then select
    an ActiveX class to the Microsoft Common Dialog Control Version 1.0
    type library.
    Select the CommonDialog (MSComDilg.CommonDialog.1) object.
    You can select any of the objects depending on the type library
    choosen.
    Now go back to the diagram and drop the property node. Connect the
    property node and take care the error handling. Now by selecting
    different properties, one ata time you can check if there is any error
    returned.
    Repeat the same procedure with LV 6.1.
    If there is an error returned in one property when using LabVIEw
    Express but it works fine with LV6.1, then probably this is to be
    reported to an Application engineer of NI.
    Good luck

  • Controlling CANoe TestCases in LabVIEW over ActiveX

    Hi,
    I want to run CANoe TestCases in LabVIEW using ActiveX.
    Handling envVars and sysVars in CANoe was not a big deal and there are a lot of examples here.
    But handling TestCases is quite difficult. The CANoe help file shows this way in the object hierarchy:
    Application
    Configuration
    TestSetup
    TestEnvironments
    TestEnvironment
    TestModules
    TSTestModule
    TestSequence
    TestCase
    But I didn't find any way to realize it. I ended up in the following:
    IApplication3
    IConfiguration4
    ITestSetup
    ITestEnvironments
    ITestEnvironment
    ITestSetupItems
    ITestSetupItem
     ITestSetupItem is an object without any methods. I don't know how to access the TestCases without the linking objects in between.
    Greetings,
    Ludwig.
    Solved!
    Go to Solution.

    I've solved the problem with the help of Vector Support. They send me the following C# Example:
    CANoe.Application mApp = new CANoe.Application();
    CANoe.Configuration mConf = (CANoe.Configuration)mApp.Configuration;
    CANoe.TestSetup mTestSetup = (CANoe.TestSetup)mConf.TestSetup; //Test SetUp Window
    CANoe.TestEnvironments mTestEnvs = (CANoe.TestEnvironments)mTestSetup.TestEnvironments;
    CANoe.TestEnvironment mTestEnv = (CANoe.TestEnvironment)mTestEnvs[1]; // Test Environment (*.tse File)
    Console.WriteLine("Name " + mTestEnv.Name);
    CANoe.TestSetupFolders mTestSetupFolders = (CANoe.TestSetupFolders)mTestEnv.Folders;
    CANoe.TSTestModule mTSTestmodule = (CANoe.TSTestModule)mTestEnv.TestModules[1];
    Console.WriteLine("Name " + mTSTestmodule.Name);
    CANoe.TestSequence mTestSequence = (CANoe.TestSequence)mTSTestmodule.Sequence;
    Console.WriteLine("TestSequence Count " + mTestSequence.Count);
    CANoe.TestCase mTestCase = (CANoe.TestCase)mTestSequence[1];
    Console.WriteLine("Testcase Name " + mTestCase.Name);
    mTestCase.Enabled = false; // deactivate testcase - XML and structured NET module only.
    //CANoe.TestReport mTestReport =(CANoe.TestReport) mTSTestmodule.Report; // Access To report
    CANoe.Measurement mMeasurement = (CANoe.Measurement)mApp.Measurement;
    if (!mMeasurement.Running)
    mMeasurement.Start();
    mTSTestmodule.Start();
     I've realized that you can cast ActiveX object references to another child class in the following way:
    This was the correct solution and I want to share it with you. 

  • ActiveX problems with 3.0.F.2 (fwd)

    This is the message I sent to tech support. Has anyone else seen this
    type of thing? Any suggestions (even half-baked) would be appreciated.
    -- Adam
    ---------- Forwarded message ----------
    Date: Tue, 17 Mar 1998 13:48:17 -0600 (CST)
    From: Adam Mckee <[email protected]>
    To: [email protected]
    Subject: ActiveX problems
    Product: Forte
    Version of Forte: 3.0.F.2
    Server OS: HPUX
    Client OS: NT/Win 95
    DBMS: Oracle
    Reproducible(?): Yes
    Brief description of issue:
    I have experienced problems using ActiveX controls. I have tried several
    controls, including:
    o Microsoft Forms 2.0 SpinButton
    o Microsoft Forms 2.0 CheckBox
    o Microsoft Forms 2.0 EditBox
    o AddSoft Gantt/OCX
    o Sheridan MonthView
    o Sheridan DayView
    o Sheridan DateCombo
    o Microsoft Calendar Control
    (specifically mentioned in a Forte technote)
    I have experienced problems with all of these controls. With the Sheridan
    DateCombo, the Forte environment crashes when I attempt to drop the
    control into a form using the "Insert Control..." button. Before the
    environment crashes, I get a series of informational and error dialog
    boxes as follows:
    o error: unexpected exception -10737415717
    o error: The Error Manager stack is empty (repeated 3 times)
    o information: the workspace is now read-only because the
    repository is disabled.
    o error: Exception escaped from terminating task CW.Display
    o ERROR: TMgr.Terminate: fatal error terminated partition
    With all the other controls I tried, the ActiveX support appears to work
    properly until I attempt to bind an instance of the olegen-generated
    class to the control itself in the window's Init() method:
    --- MyWindowClass.Init() ----
    super.Init();
    myActiveXControl = new();
    After this has been done, the Forte environment may "hang" when I interact
    with the control at run-time. For example, each time a generate a mouse
    event inside the control, I risk hanging the Forte environment. I might
    be able to interact with the control 50 times before the environment
    hangs, or it might hang after a single mouse click. Until the crash/hang
    occurs, the ActiveX support appears to work properly: I am able to trap
    mouse events, and interact with the control using the provided interface.
    Any help or advice you can offer would be appreciated. I would be happy
    to provide any additional information you may require.
    -- Adam McKee

    I don’t recall any problems importing to “selected item’ which I always use so I define where it goes and what it’s called.
    Do you have Aperture’s Activity Window open so you can see where it is hanging up? Is it just busy generating Previews etc.? I know it sounds more serious than just ‘busy’ but would be interesting to know what it’s doing then.
    After these problems, assuming that previews and thumbnails are generated correctly, it may be a good precaution to restart Aperture while holding down the OPTION and COMMAND keys so you can Repair Permissions or Repair the database. Even rebuilding the database is fairly quick if those first two options are ineffective.

  • Read an AutoCAD drawing In Labview using ActiveX

    I want to read an AutoCAD drawing (.dwg) in the LabVIEW using Activex
    plz send me the procedure for it & the Library files that will be required to get the objects.

    Had to change the labview background color. Here is an image of a dwg file inside the activex control.
    Attachments:
    autocad dwg document inside labview.PNG ‏113 KB

  • Calling Microsoft word speech in LabVIEW through ActiveX

    hi
    Yesterday i had posted 1 question , how to get the output of some other programme in LabVIEW. Well. i have found out the answer. This can be done by using ActiveX. For this the programme also must be ActiveX enabled.
    I wanted to use the microsoft Word Speech in labVIEW through ActiveX.Since microsoft word is also ActiveX enabled, this can be called.
    But the question is HOW????????
    Help me out of this
    Somil Gautam
    Think Weird

    If you want to give voice commands to LabVIEW, you might want to read this blog
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Exporting figures to word from labview using activex??

    Does anybody know how to export figures into MS Word, XP edition from LabVIEW using activex. I am not using the report generation toolkit...dont have it....help wld be appreciated
    kuttu

    Here are some examples you can use. they all use activeX. One is even a toolkit I got from somewhere.Try these and if you have any more questions let me know.
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    word.zip ‏1226 KB

  • NVIDIA control (Shadowplay mostly) with LabVIEW via ActiveX - Does anyone have documentation?

    Hi Everyone,
    I'm looking to capture my monitor video at around 30fps. ShadowPlay works well with my graphics card, and I've found that there is an ActiveX Library on the PC. The attached screenshot shows an example code for 5 seconds of capture. 
    Shadowplay only captures one monitor but I want it to capture both, or make two videos (one for each monitor) preferably. Although a possible work around would be recording one at a time but being able to programatically change between the two. The Shadowplay library is: ShadowPlayServerLib and the NVIDIA Library is: NVI2Lib (I presume this is NVIDIA but could be wrong)
    I can't find any documentation on the activeX commands so I'm struggling to know what inputs and outputs of the property nodes should be. Does anyone have any? A search of the internet brings up my own forum post on NVIDIAs website: 
    https://forums.geforce.com/default/topic/805560/geforce-experience/shadowplay-activex-documentation-...
    Any help on the NVIDIA/ShadowPlay side of things would be great, alternatively any ideas for capturing video at 30fps (I tried to use .NET to capture the screen shots to png files but it only managed 2.5fps without saving them)
    Many thanks
    Attachments:
    NVI class.png ‏27 KB
    shadowplayActiveX.png ‏32 KB
    ShadowPlayCapture.vi ‏12 KB

    Hi Woody247,
    Here is brief overview to help using LabVIEW with ActiveX:
    http://www.ni.com/white-paper/2983/en/
    Here is an interesting example that could be useful to your application's functionality 
    https://decibel.ni.com/content/docs/DOC-41144
    Regards,
    Mark 
    Applications Engineer Intern
    National Instruments UK and Ireland

  • How does labVIEW use ActiveX controls?

    How does labVIEW use activeX controls?
    I recently wrote an activeX control in VB and noticed that it would not work if the control was set so that its properties could not be set in ambient mode. This may suggest that labVIEW uses some activeX controls only in ambient mode.
    Is this the case or are there more complexities?

    Dan,
    Which version of LabVIEW do you have?
    As per the KnowledgeBase bellow, in versions of LabVIEW prior to 5.1 you would get errors accessing the ambient properties.
    ActiveX Controls in LabVIEW 5.0.1 Containers Cannot Access Ambient Property
    Do your controls use the Ambient.UserMode to determine when the control is being used in a development environment? When embedding ActiveX controls into a container on the front panel, by default, the ActiveX control generates and responds to events, i.e. it is running, even when LabVIEW is in edit mode.
    Right-click an ActiveX container and select Advanced»Design Mode from the shortcut menu to display the container
    in design mode while you edit the VI. In design mode, events are not generated and event procedures do not run. The default mode is run mode, where you interact with the object as a user would.
    Information can be found in the LabVIEW help files
    Zvezdana S.

  • How to create a table in MS Access from Labview using ActiveX?

    I want to transfer datas from Labview to Access using activeX method. My only problem is to find out how to create a new table (array) in Access from the Labview program.
    Remarks: I use Labview 6i and MS Access 2000.
    For the moment I can write and read datas of Access from Labview.
    If someone could help me... that would be grate!

    This is off the Microsoft MSDN site "creating an external table". I think you can drop the last step.:
    Open the database you want to create the table in. If it is the current database, use the CurrentDb function to return an object variable that represents the current database. If it isn�t the current database, use the OpenDatabase method to open the database you want.
    Use the CurrentDb function to create a Database object that points to the current database.
    Use the CreateTableDef method of the Database object to create a table definition for the Microsoft Access table.
    Use the CreateField method of the TableDef object to create one or more fields in the Microsoft Access table.
    Use the Append method of the Fields collection to add the new field or fields t
    o the Microsoft Access table.
    Use the Append method of the TableDefs collection to create the Microsoft Access table.
    Use the TransferDatabase method to create the external table in the specified folder.
    Use the Delete method of the TableDefs collection to delete the Microsoft Access table definition.

  • Add records in table ACCESS from labview by ActiveX

    I try to add records in table of database ACCESS by an ActiveX from labview but my programme doesn't work ...
    What is the problem ?
    I have attached my VI
    Thanks in advance
    hasna
    Attachments:
    base1.vi ‏35 KB

    On Thu, 11 Jul 2002 08:13:48 -0700 (PDT), Lab Viewer
    wrote:
    >I saw your previous posts related to ActiveX/Access. I once had the
    >same kind of problems. It's not an easy task (without a toolkit)
    >because you have to learn the "interface" provided by Access/DAO in
    >order to manage what you are trying to do.
    >In my case, the best solution it was to follow the Visual Basic for
    >Applications examples included in MS Access. Even though you don't
    >know VB, don't be afraid. Important is to figure out from that example
    >what methods/properties you need to use, the proper order to call them
    >and eventually some parameters. You are dealing with the same
    >methods/properties in LabVIEW, the difference is that you have them in
    >a graphical format instead of text
    .You can find these examples by
    >going to MS Access help > Index and type DAO objects and then choose
    >one to start with (Database, recordset, field =85).
    >
    >Hope this helps
    The examples on NI's website were originally written using the DAO
    model, but the latest one was written using the ADO model.
    However, I am unable to find either example LLBs on their website
    anymore. Maybe they're trying to push their SQL Toolkit.
    Along with the VBA help in MS Access, I *highly* recommend the book
    ADO Programming for Dummies. Wonderful book. Helped me understand the
    VBA help. :-)
    Again, if anyone is intersted in VIs using ActiveX that works. He/she
    is welcome to email me.
    Linda

  • Excel ActiveX Problem

    Hello All,
    I think every body knew that If I move spreadsheet ActiveX control from one version to other. It will not work and we need to reconnect. 
    I built an application, which can be used in several countries and mostly I am facing the problem with ActiveX. Because of version change.
    Now even we are thinking not to give Microsoft office to the customer to reduce the cost of machine.
    So is there any LabVIEW internal tool, which can used to design as Excel and use. It is so important that not to use any ActiveX control of Microsoft.
    Please let me know, if any body knows,
    Thanks,

    LVTestek wrote:
    Hello All,
    I think every body knew that If I move spreadsheet ActiveX control from one version to other. It will not work and we need to reconnect. 
    I'm not sure that everybody knows that, and I'm not quite sure I actually understand what you're saying here. Yes, if the ActiveX interface changes then you need to update the code to reflect the API change. I don't understand what you mean by "reconnect".
    Now even we are thinking not to give Microsoft office to the customer to reduce the cost of machine.
    So is there any LabVIEW internal tool, which can used to design as Excel and use. It is so important that not to use any ActiveX control of Microsoft.
    The only thing that NI has available is the Report Generation Toolkit, but that requires Office in order to work. I do recall people asking about an interface to Open Office, but I don't recall how far any kind of development has gone related to that. You can do a search for "Open Office" and see what's available. What are you trying to create? Are you trying to create spiffy reports, or just saving data? If it's the latter you can probably get away with simply writing text files using the Write to Spreadsheet File VI or the Write to Measurement File VI.

  • ActiveX problem in windows 7 64 bit version...

    I have x64 bit windows 7 version operating system i used my all report as printmode="Activex"
    1. http://i41.tinypic.com/k9861g.png
    Check this URL.
    I just want to know after installed the printconrol.dll, how the printcontrol.dll get registered / also in register
    entry.
    Let me know the procedure...
    2.i hAVE INSTALLED THIS Crystal Reports Basic for Visual Studio 2008 x64 Redistributable Package (64 bit) IN MY
    WINDOWS 7 64 BIT VERSION ON MY LOCAL PC WHICH HAS NO INTERNET ACCESSS
    FROM THIS LINK
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap
    (bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes
    %7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636
    453735364436323635373233443330333033303331333633343335333033303336%7D.do
    YOU HAVE SHOWN HOW TO REGSITER FOR vs2010..
    regsvr32 "%programfiles(x86)%SAP BusinessObjectsCrystal Reports for .NET Framework 4.0CommonCrystal Reports
    2011crystalreportviewersActiveXControls
    BUT IM NOT FINDING THE PATH LIKE the above TO REGISTER MY PRINTCONTROL.DLL IN WIN7 64BIT AFTER INSTALLING Crystal
    Reports Basic for Visual Studio 2008 x64 Redistributable Package (64 bit)
    so would you please tell me how the above location comes for you..? to REGISTER DLL for us we are not getting the
    location in my pc.
    3. I COPIED PRINCONTROLL.DLL IN D: drive of win 7 64bit THEN I USED rEGSVR32 D:PRINTCONTROL.DLL IT SHOW DLL
    REGSITER succesfully on clicking print button in CR toolbar the print dilogues comes get disapper?let me know whats
    the problem. I applied the same pocedure on windows xp machine it works fine..
    4. I have printcontrol.dll in downloaded prgram file. I just want to register the dll, it is no registering, please
    let me know how to register.
    thanks lot to Ludek Uher and Don Williams hows support are very good.. I hope i will get all the aboves in details

    1) After Installing this software https://smpdl.sap-ag.de/~sapidp/012002523100009351332008E/CRBasicVS2008_redist_x64.zip what i have to do let me know other steps and will active x print control works or i have to do some more things...
    2) i asked you above if i have internet in win 7 64 bit pc on clicking print button it shows me this dialogue
    http://i41.tinypic.com/k9861g.png
    after clicking Install Printcontrol.dll  it goes to C:\Windows\Downloaded Program Files so how it register i want to know..?
    2 point is my important want....
    Thanks for your quick reply
    Edited by: Priya_here on Nov 16, 2011 6:14 PM

  • LabView per ActiveX Interop DLL

    Hi Everybody,
    I am trying set up a Software called "iLab - Interactive Server" developed by the MIT (see https://wikis.mit.edu/confluence/display/ILAB2/iLab+Downloads). This Software allows to run remote Experiments (which are controlled by LabVIEW).
    iLab starts and controlls the VI via the DCOM Interface of LabVIEW.
    The Software is tested and should work fine, it runs on an IIS Microsoft Webserver.
    All the time i am trying to run it, I get the following error (see attachement)
    To Test my interface, i also run the "CallLV" from this forum: http://forums.ni.com/t5/LabVIEW/How-can-i-use-labview-tlb-to-control-Labview-from-an-external/td-p/1...
    This sometimes works fine, but sometimes i also get the same error like in iLab..
    I tested it with LabView 2009, 2012 and 2014!
    Does someone has an idea why it doesnt work?
    Thanks
    Attachments:
    COM.jpg ‏285 KB

    Hi!
    the visual studio project is fairly old (year 2003), so I would recommend to try this:
    Community: Running or Calling a VI using the LabVIEW ActiveX Automation Server from C# .NET - National Instruments
    https://decibel.ni.com/content/docs/DOC-25663
    Please be advised that the directory seems to be hardcoded, so please extract the ZIP-file to "C:\"
    Best regards,
    Christoph

Maybe you are looking for