Labview, ACCESS and ActiveX

I have made a VI which open a database ACCESS and I want to open a table of this database... I've begun this operation but I have a problem of connection...
the VI is attached...
Thanks in advance
cordialy
hasna
Attachments:
base.vi ‏24 KB

There are actually a number of Developer Exchange Forums on this right now. Click here to see one of them. Here is another. There are multiple others one available to which have been very busy the past couple of days.
J.R. Allen

Similar Messages

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • How i can access and edit the table of database(.mdb) file through Labview

    Dear sir,
    I want to access and edit the table of database(.mdb) file through Labview and it should save.
    please tell me how i can do it.
    i am waiting for reply.
    regards
    Rajendra

    there are options aplenty for this.  First off, do you have the database connectivity toolset?  If so, You can do it from there.  Following the examples in labview. Or you can do a search for ADO or access database, and find plenty of VIs that can do this. 
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • Matlab and ActiveX performanc​e

    I am playing around with using Labview as an ActiveX server with
    Matlab.  The anticipated application is to run instrument control
    in Labview
    and then use ActiveX to transfer data over to Matlab for more processing.
    The data transfer speed is surprisingly slow.  Over a 100 Mbit
    network, two PCs can move a large double-precision 2D array at 6
    Mbyte/sec.  When both Labview and Matlab are on the same PC (1.4
    GHz P4) , the transfer rate is only ~10 Mbyte/sec. 
    The Matlab code looks something like this:
        LV = actxserver('Labview.Application') ;
        vi = invoke(LV,'GetVIReference','c:\test.vi') ;
        vi.Run ;
        % now transfer the data from Labview to Matlab
        array = vi.GetControlValue('Output Array') ;
    I am using tic/toc to time that last line of Matlab code.  Am I
    doing something wrong or inefficient here, or is this just the way
    ActiveX is?

    Hello pcyservice
    There is NOT a way to downgrade/roll-back/revert to a previous firmware without wiping all data.  This is specifically mentioned on the firmware update page:
    " CAUTION!
    This update is not data destructive, however, ALWAYS back up your data before performing any firmware update!
    Once you have updated the firmware, you will NOT be able to revert to an older firmware version."
    I recommend you disable any unnecessary features/protocols such as Media Server and Active Folders, then reboot the unit.
    If you are still experiencing performance issues, please contact LenovoEMC support to troubleshoot further.
    LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:
    US and Canada: https://lenovo-na-en.custhelp.com/
    Latin America and Mexico: https://lenovo-la-es.custhelp.com/
    EU: https://lenovo-eu-en.custhelp.com/
    India/Asia Pacific: https://lenovo-ap-en.custhelp.com/
    http://support.lenovoemc.com/

  • Problems controlling Microsoft Access with ActiveX

    I have done quite a bit of searching on this topic, and have found several answers that are close, but do not address my actual problem.
    I would like to use ActiveX to control Microsoft Access, specifically to create new database files without having to copy a blank file I have stored somewhere. I also can't stand it when I can't get something to work, so this is now a personal thing too.
    Anyway, when I run a simple VI to open the creatable reference Access._Application, I get the error: "Error 3005 occurred at Automation Open: Object specified is not creatable in Access.vi". I have tried a lot of the common answers to this problem, like browsing for the library in the ActiveX window, and trying to register it with regsvr32, but the file is msacc.olb, which cannot be registered with regsvr32.exe. I have attached the original VI and I have tried this on 3 different PCs, all with slightly different installs of Office, but all with Access 2007. If anyone can help me figure this out, I would greatly appreciate it.
    Thanks 
    Eric
    "When I see an adult on a bicycle, I do not despair for the future of the human race."
    -H.G. Wells
    Solved!
    Go to Solution.
    Attachments:
    Access.vi ‏6 KB

    Your vi gave the same error on my machine.  Then I deleted the Access._Application reference, right-clicked on the reference input and selected Create Control.  Then I changed the Active-X Class by browsing to my computers version of the reference ("Access._Application.12").  The same vi ran without error.
    The class still shows as Access._Application, which indicates that there may be an incompatibility which is not visible.  
    When and activeX node fails to run when copied from any other machine, it is recommended to Replace each node that generates the error and reselect the properties and methods.
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • WebUtil and ActiveX

    What is the correlation between WebUtil and ActiveX?
    The reason I ask is that we have successfully installed WebUtil on our 9iAS R2 apps server and the Webutil forms that were created all work perfectly on site.
    However our WAN covers sites all over the UK and the majoiry of these sites have all ActiveX settings disabled for security reasons. When accessing from one of these sites the form correctly loads all the .dll and .jar files but the CLIENT_TEXT_IO procedure will not operate.

    ... one thing I forgot. Duncan Mills, who could answer this question a lot better than I can, is on vacation this week.
    Frank

  • [BUG] deploytk.dll file and activex control is NOT uninstalled

    deploytk.dll file and activex control is NOT uninstalled, when you uninstall the latest JRE.
    I have uninstalled the latest JRE, but the file deploytk.dll is still present in c:\windows\system32\ and the related activex control deploytk.dll 6.0.190.4 is loaded in IE8. Please fix this bug.
    Windows Vista SP2

    Unfortunately, it was *all* of my ActiveX controls that wouldn't load. That said, A user of the Info-LabVIEW list came up with the answer: reinstall the RunTime engine - wierd....
    thanks,
    Christopher
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • LabVIEW 2011, and Excel 2010: saving problems

    Hello to all! I am a student of Mechanical Engineeringfthat very little has been using this software. I present the problem: for a matter which is called Biomechanics, I and my colleagues, we have developed the design of a rheometer, which is controlled by LabVIEW2011. Since we are still at the experimental stage, always has been simulated using labview: the whole experience. So, labview, at present, not only controls the stepper motor through the frequency sets, but also simulates the output (in the specific, the response to the torsion of the cartilage, simulated with a low pass filter of the second order). All this was done by my colleague more experienced than me, who today passed me the finished project that in his pc works perfectly while not in mine (we have the same version of labview, but different version of office). In practice, the program is fine (there is no arrow "Run" broken) and the simulation with the creation of the sine graph (response of the cartilage) is done perfectly. My colleague then set labview in order to save the data to an excel sheet at the end of the simulation, asking the user where to put it (the excel file must already exist, labview does not create it). The excel file should contain two columns and a scatter plot (one column represents the frequency, f, of the stepper motor, the second represent the shear modulus G, which increases as the frequency increases and the graph represent the trend of G in function of f). As soon as I decide to save the data, excel opens, for an instant appear the scatter plot and data in columns but immediately after the graph disappears and remain only the columns with data (so I have to make the graph "manually") and labview gives me the following error:
    Error -2147023170 occurred at Property Node (arg 2) in NI_ReportGenerationToolkit.lvlib:Excel_Insert_Char
    t.vi->NI_Excel.lvclass:Excel Insert Graph.vi->NI_ReportGenerationToolkit.lvlib:Excel Easy Graph.vi->SaveExcelFile.vi->Progetto 2.0.vi
    This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
    Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-2147023170) or for its hexadecimal representation (0x800706BE).
    What can I do?
    Thanks. Regards
    Solved!
    Go to Solution.

    The LabVIEW Report Generator in LabVIEW 2010 and more recent versions does, indeed, work very well with Excel in Office 2010.  I helped someone about two weeks ago with a problem saving a series of measurements to a (new) Excel Workbook.  Your problem differs in two ways -- you want to save in an existing Excel file (why? Aren't you worried about overwriting data, or are you trying to add a new WorkSheet, or append to the end of an existing WorkSheet?) and making a Chart.  I've not tried charts, so don't have advice right now.
    Judging by your error message, it is the Chart feature that is giving you trouble.  Can you see how your code runs if you eliminate the Chart functions?  [You can do that by putting a "Diagram Disable" Structure around the Chart code, clicking on the top of the structure and wiring the wires through in the Enable case].
    Give that a try and let us know what happens.

  • Handling LabView events in ActiveX

    Hi all,
    I know most ActiveX discussion here is about getting ActiveX to work inside of LabView, but I'm trying to go the other way around.
    General Question:
    How to I catch or listen to events generated by LabView (in VB or whatever)? And is there some kind of library of LabView ActiveX events?
    More specific:
    If anyone has ever used the Jacob libraries for using ActiveX from Java, how would I create a LabView event listener from within Java? I can create a VI ActiveXComponent, but I don't know how to use it to listen to events.
    Any help on either part of the question will be most appreciated!
    Thanks,
    Sam

    "SamF" <[email protected]> wrote in message news:[email protected]..
    Thanks for both of your replies, I'm pretty certain that it is possible to generate ActiveX events from LabView, but unfortunately those links don't deal with events. Those are what I used to get to where I am -- opening and running a VI from ActiveX -- but I can't find anything on generating events.If it really seems as though there is no way for LabView to generate ActiveX events (or just catch those that are automatically generated), then I have another question: Is it possible to use LabView to catch its events internally (using it's own events methods), and write to, say, an excel file everytime an event is generated?My thinking is that even if LabView doesn't throw events, other programs such as Excel do, and so if the events were routed through Excel I could catch *those* events.(BTW, I know there are examples of writing to Excel, but I'm looking for something that is *event* driven).Any help either on catching LabView events or using LabView events to write to an MS program will be much appreciated, as always!Thanks,Sam
    Sure it's possible to build an activex server. No doubt about that.
    If I where to communicate events between the LabVIEW code and another language, I'd think about occurrences or windows events.
    There is documentation available about occurrence communication between dll's, cin's and LabVIEW. Never used it, so I can't help you much further.
    The windows events are well documented in the msdn. They should be available in any language, though relatively simple api calls.
    And you can always use window messages. If you have a window handler of the main program available in LabVIEW, you can use sendmessage or postmessage to communicate to it. The other way around is more difficult, but seems not necessary.
    Hope it helps,
    Wiebe.

  • LabVIEW, MSAcess, and Database Toolkit (Exclusivity Problem)

    Hi all,
    I have recently developed an application that's used for testing production products and sends the final test data to a MS Acess database via the database connectivity toolkit.  We've run into a problem with it though.  This program needs to be able to run at all times, its a high flow production line.  During production though, we have a large group of engineers that need access to this data.  Its set up so that only myself and one other person have write access to the directory containing the database, everyone else can only open it as read only.
    The problem I'm running into is that whenever the database is open by one of the two engineers with write access OR any one of the other people just going in to review data as read only - the production tester isn't able to save records their creating in LabVIEW.  No warning or notice is given to the user in form of error to indicate the data wasn't stored.
    I'd like to get this problem fixed but the last time I tried to use the Username/Password inputs on the connectivity VI I ended up locking up access and we finally resorted to just making a new database.  Given the amount of data in there now, you could say I'm a little "gun shy" about randomly fooling with the security settings again without a good idea of how to accomplish fixing this.
    Basically I just want for that database to be opened exclusively by labview, and prempt anyone who is logged in (aside from one of us with write access...its a small enough group we are fine with just closing the test program for a few minutes while we make changes)
    Any ideas on how to do this?
    LV7.1, LV8.5

    Hi Dennis,
    Our IT guys tend to push SQL also.  How much work is it to switch over to the other?  
    You know I'm not sure if its worth it at this point, at most we only have 1-2 people on the database at once.  The test computer is always on which brings that number to 1, and it only happens maybe once a day that someone looks at the database and only to check some values in 1 record - then they close out.  Aside from the tester, no one else is in there for more than 1-2 minutes tops maybe once every other day.  Its just during that time if the user submits his report in that 1-2 minute window - we don't find out about it until someone needs to view that record.  
    A worst case scenario though is if someone gets in for their 1-2 minute window and gets a call or gets distracted and forgets its open :-/
    I did try some quick research....it looks like one recommendation might be to make a "front end" basically another database with a form linked to the data stored in the tables of the original one.  That way anyone viewing doesn't go into the storage database itself.  I haven't tested this yet though...one question comes up -if they are in this front end thats linked...I wonder if that is considered a "constant connection" to the storage database and we'd still run into the same problem with the storage one "thinking" its open anyhow...
    I dunno this database stuff is a bit loopy imho.
    LV7.1, LV8.5

  • Certified LabVIEW Architect and Professional Instructor willing to relocate

    I have been working for an NI Integrator for about 3.5 years and interested in seeing if I could be
    of value elsewhere. I like to travel, have no real roots and could move
    internationally if necessary.
    LabVIEW
    (6i to 8.5) including:
                FPGA, Real-Time, CompactRIO (Third-Party Development)
                Traditional DAQ, DAQmx
                VISA, Serial, GPIB
                I2C, SPI, CAN
                TCP/IP, UDP, AFDX
                Shared Variable Engine
                .NET, ActiveX
                Motion Control
                Compact FieldPoint
    Project
    management
    Software
    architecture
    Contact
    me at L a b V I E W A r c h i t e c t @ a o l . c o m (no spaces) if
    interested.

    We also have a client in the Brighton, NY Area that is looking for a full-time LabVIEW Software Engineer.
    Job Description
    Well established company in the Brighton, NY area interested in hiring a Programmer with skills in LabVIEW. This is an excellent opportunity to work for a growing company offering great benefits.
    Responsibilities:
    Project Programming using National Instruments LabVIEW
    Manage Projects and client relationships
    Work with other software developers at the firm.
    Requirements:
    Bachelors degree in Software or Engineering
    Strong Project Management Skills
    Strong Interpersonal Skills
    Strong LabViEW skills and experience
    LabVIEW Certified Developer
    Willingness to Travel
    Notes
    If interested please send your resume to [email protected] or call Ash @ 973-519-1840
    www.mamoollc.com

  • Generating LabVIEW events via ActiveX

    I have a Labview 2010 Vi compiled to an EXE with ActiveX server enabled.
    The VI has a single control that is a latched boolean control that is used in an Event Handler.
    When I toggle this control, remotely, via an ActiveX client, the control changes state, but does not generate an event. (non-signaled).
    I can understand this behavior if the control was not a latched control, but I would have thought that the latched control would automatically generate an event, since it doesn't make a distinction between "value" and "value (signaled)".
    Other than monitoring/polling the control status and when it changes using a Value (Signal) local variable, is there a way to generate an Event, in a LabVIEW EXE, via ActiveX?  Or is there another, more appropriate way to accomplish this.  I'm trying to remotely run an program from another program through an activeX interface.   I suppose if every control had a unique message and I had a message handler loop, then I could just use the ActiveX control to insert the appropriate message into the Queue, but this is an existing application and would take a fair effort to set that up.

    What if you tried dynamically registering the event? You could create a reference to the boolean and use the Register for Events VI. Then, wire this event into the dynamic event terminal of the event structure (right click the border and say "Show Dynamic Event Terminals").  I don't have an ActiveX program to call into LabVIEW with, so I'm not sure if this will be any different than what you're doing now, but it's something easy to try.  Perhaps you could post you ActiveX code and LabVIEW code or a modified version of both illustrating what you're mentioning?

  • How do I unblock email attachments so I can access and download?

    I'm accessing my email from work via a secure website. Each time the email has an attachment that is type .xml or other extension the attachment is blocked. How do I unblock it so I can access and download the attachment?

    Hi Drew1005
    It sounds like you have a security issue there. The agilent instrument driver that you are using requires access to some files that are restricted to Administrators on that machine. What you need to do is to give everyone full access to the instruments' driver directory. For example, if you are using LabVIEW, this will be in /labview/instr.lib. You will have to right click on the directory if you are in the Windows environment, choose properties and in the security tab, give Every One full access to the directory.
    Let me know if you nee more help.
    Thanks for contacting National Instruments.
    Serges Lemo
    Applications Engineer
    National Instruments

  • Labview HDA and DA OPC clients

    I have developed a true OPC HDA and DA clients in Labview, using the OPC Foundation's wrapper, to solve some of the problems I was having with the DataSocket for DA access, and to address the non-existent access to HDA servers (historical data access).
    Is there any interest or need for these in this community ??
    Leo
    [email protected]

    Hi,
    How do you access OPC HDA server using LabVIEW? 
    Thanks.

  • Difference between LabVIEW RTE and TS LabVIEW RTE

    Ok, this may be an easy one but still I would to have it clear. What is the difference between using LabVIEW RTE and TS LabVIEW Runtime Server to run LabVIEW modules/steps in PC's with TestStand Deployment licences???
    Thank you,

    Hi,
    The TestStand LabVIEW Adapter can run VIs
    using any of the following LabVIEW environments, or servers: the LabVIEW
    development system, the LabVIEW Run-Time Engine, or a LabVIEW executable built
    with an ActiveX server enabled. The Teststand LabVIEW run-time server
    (TestStandLVRTS) is a version of the third option written way back at a time before the LabVIEW run-time engine is what it is now.
    The only reason you would possibly want to use the TestStandLVRTS is when you
    have VIs written with versions of LabVIEW older
    than 6.1.
    Have a great day,
    Ecleamus Ricks, Jr.
    National Instruments
    Applications Engineer

Maybe you are looking for

  • Iphoto 9.6 shows zero pictures

    I’ve been struggling with iphoto for several months.  When I open iphoto, it looks like I have never uploaded pictures.  However iphoto library info says 76.65GB of memory used of data since 2009.  I made a back-up copy of the folder and even tried t

  • SAP BW - R/3 4.7 newbie

    Hello there I have a sap BW issue I can not log on to sap bw, i dont know where it is, i have installed sap R/3 and trying to use the BW but dont know how can someone help it is sap r3 4.7 thanks.

  • Portg R600-11B - Problems with switching displays

    Hi, I've a problem with a Portg R600-11B running Windows 7 64bit. The computer is nomally plugged in a docking station that is connected with a DVI monitor. Here I can select with <FN> + <F5> between the different display modi "internal" / "internal"

  • InDesign CS6 Map export tags

    I have viewed the video on mapping which is most helpful. I have one difficulty. The export tags dialogue box shows only 6 heading options. Because my document was prepared for print, I have eight-nine heading styles. How do I deal with this problem?

  • For implementation

    I Need to do R & D on Oracle 11g with Linux. as our database was in windows we are planning to move on linux at present it is requirements two node rac version 10.2.0.4 asm windows we just want to move to linux i require following to requirement to t