LV + access tool kit

Bonjour a tous,
J’aimerais avoir des confirmations sur l'utilisation de VI, et plus particulièrement le VI Fetch et fetch all.
J'aurais besoin de pouvoir faire des filtres sur une table, les requêtes s'exécutent bien mais je n'arrive pas a faire l'affichage du résultat...
J’ai vu qu'il y avait l'utilisation du fetch.vi ou fetch_all.vi mais avec l'utilisation de celui-là il faut ajouter un VI de conversion (databse variant to data) mais celui-ci n'a pas l'air de vouloir fonctionner correctement, il me met entrée "le récepteur est de type vide"... je ne comprends pas pourquoi.
Avez-vous des exemples de VI dans lesquels un filtre est appliqué sur une base et on voit le résultat? Je suis un peut bloquer même si j'ai une solution alternative qui devrait marcher mais avec de la bidouille.
je joins mon VI pour ceux qui veulent regarder mais il faut le tool kit connectivity pour pouvoir l'ouvrir je pense.
Merci de votre aide.
Attachments:
test_ecr_bdd.vi ‏64 KB

I'm not sure whether your problem is interacting with the database, or how to format a query to return just the data you need. This thread discusses how to interact with a database, presents some drivers for doing so and includes links that list some good books for learning SQL.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Problem with database tool kit, and MS Office Tool kit.

    One of my programmer's who has the Office tool kit noticed this on Monday, and we haven't been able to find the problem yet.
    We use the database connectivity reads and writes to a MS Access database. This program reads the data from a Symbol Scanner, and then inputs it into the database.  He then has a query that to create a data table to pump into the MS Toolkit to build a MS World file (This is for a Bill of Lading).
    What we found it that it works really well the first time, and on any further runs it will not update the database with any new data. It starts working again if we do a restart on the computer.  It seems like something is not freeing up the database.   He is freeing all the tables and closing the DB connection at each process, and everything else seems to be doing everything else right.  I think the problem is that it goes into this MS Toolkit to make the table that goes on the Bill of Lading.
    I did a modification that makes it read from an excel file on my desktop, and I found that it is doing the same thing. I deleted the report generator part of the program, and found that it will update the database properly.  I have no clue.
    here is the machine specs:
    labview 8.6
    Database connectivity toolkit 1.0.2
    Report generator toolkit MS Office 1.1.3
    MS Office 2007, the file is a Office 2003 format, 

    Given that the code still fails when talking to a excel file it sounds like this isn't really related to the database. Can you post a bit of your that shows the problem. Beyond that, be looking for things in the code that change between subsequent interations -- things like shift registers, globals, etc.
    On the other hand, the fact that you have to restart the computer would tend to indicate that there is something going on with the MS Office side of things. To be clear: shutting down and restarting LV is NOT sufficient to clear the problem?
    When the problem is occurring, if you shut down LV and open the Task Manager do you see (on the Processes tab) any MS Office components still running?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Excel MSGraph Axis Value w/ Report Gentration Tool kit help needed

    Hello,
    I am working on making all my Printed Data sheets dynamic so I don't need to have an Excel Template for each test I create. I have been able to make my own modifications to some of the Report Generation tool kit VIs to add little things I need or want changed, but I am stuck.
    I currently have LabVIEW writing Charts in Excel, using the Insert Graph VIs from the tool kit but I want to be able to make the X Axis Values invisible but leave the Y values for this particular data sheet.  I have looked through all my documentation but cannot find anything referring to setting that.
    What is the correct ActiveX Method and/or Property that I need to incorporate to do this? I found that in Excel if I click on the Chart it is in the Chart Options Menu but I cannot find a way to control it through LabVIEW.
    I am currently using 7.1.1 with Office 98 and the Report Generation Toolkit 1.1.0
    Any ideas?
    Thanks
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Hello,
    LabVIEW should have access to everything that the excel ActiveX object publishes.  One way to discover how to do it would be to record a macro in excel, where your recorded actions are on the x-axis as you desire.  This way you will have a macro which you can run that will do this for you.  Perhpas more importantly, you will then be able to look at the code for that macro you recorded, and make the equivalent calls in LabVIEW, which should basically expose which ActiveX calls on that object achieve the axis modification.  In any event, to help you with this process, below are some useful links.  Also, you will find other threads on this matter if you search the discussion forums.
    Excel and LabVIEW Integration Tutorial:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4d86c9752c658da78625689300730c10
    Here are links to examples of using macros in Excel from LabVIEW:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DD2F56A4E034080020E74861&p_...
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9D856A4E034080020E74861&p_...
    I hope this helps!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • How to add License Key For Integration Tool kit For SAP in Linux Server

    Dear Experts,
    We are Using BO XI R3.1 SP3 Enterprise Version ,Integration Tool Kit For SAP,Live Office.
    The Server is Linux Server.
    But while generating reports in Infoview it is giving error like ""_check that you are licensed to access SAP Data Source_".
    So we came to know that license Key might Expire for Integraton Tool Kit For SAP in Bo Server.
    So can you tell me how to add the license key For BO XI R3.1 SP3 Integration Tool Kit For SAP in Linux Server.
    Thanks & Regards,
    Venkat

    On Unix / Linux you should be able to leverage the response from Raphael and change:
    Location=%BOBJDIR%/bobje/data/.bobj/registry/software/business objects/suite 11.5/sap/keycode/.registry
    For more information verify the below link
    [How do you update the SAP Integration Kit license?;
    Regrads
    Pardhu

  • Query using database connectivity tool kit

    I'm currently using an application that can read and write from an access database using labview. My problem is that I want to somehow have a query (hopefully just using the tool kit) that searches the database and displays the results in the read screen. I uploaded the program... can someone please take a look at it and try to help me out. I know the "look up screen" is a little messy, but i'd greatly appreciate any help you can give me.
    Thanks
    Attachments:
    hail_mary3a.vi ‏198 KB

    I am unable to look at your program, since I am using an older version, but here is an example of what I do to display query results. I just do an SQL query and display it in a table. All data must be converted to strings first, though.
    Attachments:
    Access_Query_Example.vi ‏116 KB

  • Sim tool kit services

    how to access stk services- sim tool kit services on bb torch. just cant find any option to get menu for sim services.
    i can access sim contacts but not the sim menu.

    Same here

  • Error while installing Migration Tool kit for SAP BPC7.0

    Hi all,
    We are implementing SAP Business Planning and Consolidation Migration Process to BPC 7.0.
    We are trying to installin Migration Tool Kit. In this kit we are having two set up files - one for BPCMigrationClient and another for BPCMigrationServer.
    When i am trying to install the BPCMigrationServer set up file it diaplays a screen which says - Enter the service type accounts.- it has the following items - 1. System Admin ID, 2. password, 3. Admin ID, 4. Admin Password, 5. User ID, 6. User Password.
    1. System Admin ID already has the id ( through which i have logged on to the system). This option is non editable.
    2. password: gives option to type in the password.
    3, 4, 5, 6 options are disabled and are blank. we are not able to edit them or write anything in them.
    After entering the password when clicked on next , it gives us message saying Invalid Admin ID (3). But the problem here is that the 3,4,5 and 6 options are disabled. We cannot write anything in them. We are not able to install the migration tool kit because of this.
    Can anyone help us out in solving this issue.
    Thanks,
    Madhav

    CAn you precise also what Migration tool are you using?
    Migration from 5.1 to SAP BPC 7.0 NW?
    In that case when you are speaking about the installation about what part are you speaking?
    I think actually you are speaking about the migration tool from 4.2 to 7.0 Microsoft version .
    In that case you can install the mIgration tool just with SAP BPC sys admin users and you have to input the password for that user. Sys admin user for BPC is usually the user used for installation of SAP BPC server.
    Any way I suggest to follow the Migration tool training document and there you will find all the information necessary.
    Regards
    Sorin Radulescu

  • Can't access Tools/Options/Applications in FF 12.0

    Every time I try to do the following in FF 12.0, the browser stops responding/hangs/freezes/basically says "sorry, dude:"
    1. Download files either by right clicking and choosing "save" or clicking directly on it. This includes email attachments, videos, etc. I also cannot attach files to emails since the same thing happens the moment I hit "Browse."
    2. Cannot access Tools/Options/Applications, usually getting the same results. In my various attempts to resolve this, I have been able to open that window, but the space where file associations are listed is empty.
    If it's any help, when I've reverted back to FF 3.5.1.9, I can do all those things ... I just can't get "Words With Friends" to load in Facebook.
    What I have done in an attempt to correct this issue:
    1.) Everything, including deleting the various .rdf files, etc.
    2.) Tried starting in safe mode, using every possible variation.
    3.) Uninstalled and reinstalled Firefox around a hundred times, removing personal settings and cleaning the registry each time.
    4.) Uninstalled and reinstalled Flash and Java three or four times each.
    5.) Everything.
    I am at my wit's end, thus the request for help. Unfortunately, if someone offers a solution, I've probably tried it.
    Additional information: I did use firetune once, returned to the backup configuration I created, used it again and returned to the backup again. This seems to be right around the time the problems began, but I'm not positive.
    Any assistance would be greatly appreciated. Running WinXP Media, 512MB RAM, 32-bit, etc.

    Actually, Matt, I have tried that, but I certainly am willing to try again. Do you suggest deleting the current profile and all its settings, deleting the profile and keeping the personal settings, or just adding another complete profile in addition to the one that currently exists?

  • Report generation tool kit for vista

    Where can we get report generation tool kit software(for vista Operating system) link .one of my friend has given me that software.He said he had got it from internet.can anyone give me the link so that I can download report generation toolkit software (for vista)
    Thanks
    kiranmayi

    Hi Kiranmayi,
    You can download Report generation toolkit from the following weblink:
    https://lumen.ni.com/nicif/us/evaltlktrepgen/content.xhtml
    or you can send a mail to [email protected] stating your full address and your requirement and we can send you  evaluation DVD for free.
    Thanx
    Gaurav

  • Report generation tool kit not printing

    I had the report generation tool kit version 1.01 for some time but never used it. I was comfortable with printing front panel vi 's.
    But now I installed it on my computer with a windows 2000 and LabView 6.02 .
    I created an application (executable) that will print (using the report
    genartion tool kit). The application works fine in my development computer
    (win 2000).
    When I installed it on another computer with a win 2000, it prints as
    expected
    but when I try to exit I get a message from windows that the application is not responding (I have to go to task manager and terminate the application).
    Both computers have word and Excell installed
    I installed the application on a third computer (win 2000), but this com
    puter does not have word or excell installed. The application does not print the
    portion of the software that uses the report generation tool kit, but it can print the front panel of vi's (set to print an end of excution).
    In all 3 computers, I have runtime engine 6.02 installed. My vi is simply
    the example vi ""Sample test report.vi"", but customized to my application, printing standard report.
    What is happening ?

    Based on what you sent, the version of Excel and Windows that are being used is a non issue since none of the code makes any calls to either one. They all refer to the older version of the report generation VIs that use NI's proprietary report generator.
    I can think of two explainations. First, you aren't using what you think you are. Second, NI retained the same VI names when they went to the Word/Excel version of the generator, and I am linked into the old version.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Pareto Chart using Report Generation Tool kit

    Hi,
    Please help me to get clarification for the following:
    I need to log data into MS Excel Report and generate Pareto Chart using LabVIEW for the Logged data.
    I have Report Generation Tool kit. but i couldnt find the an option to generate Pareto chart with it.
    Thanks,
    Thirumala.

    One way is to Create a Excel template in the predefined format with the rows/colums linked for the Chart.
    Use this template with report generation toolkit to populate data in the predefined cells.Based on that the chart will be automatically updated.

  • Why can't I print to a Zebra 2746e using the report tool kit?

    I have read on here how peoople have printed barcodes from LV by sending commands directly to a zebra printer. I am using LV8.2.1 on a windows xp computer. I am sending EPL2 messages to the printer using the report tool kit, but all I get is a couple of line feeds. If I send the commands from a command prompt by coping a test file to the printer port it prints fine. Any thoughts. I have attached my program.
    Attachments:
    zebra tester.vi ‏22 KB

    I tried your code against my printer and it works as advertised. Can you print to other printers with it?
    By the way, when assembling a string you should use the Format Into String function instead of a string concatenator with a bunch of inputs. It takes up less room and is easier to interpret when troubleshooting.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to read a passward protected excel file with the help of database connectivity tool kit

    hi, i was reading an excel file with the help of database connectivity tool kit in labview 8.0
    i made tabels in the excel file nand made odbc connection and specified the workbbok name.
    now my problem is how to read the same file if i specife a pasword to that excel file ?

    Hi,
    Check out this thread about opening a password-protected Excel file using ActiveX. This should take care of it for you!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • How to create a table in mysql tool kit

    Hello Sir/Madam,
    H                       
                                    How to create a table in mysql using the labview tool kit,,,I need the hyperlink to download this tool kit,
    Thanks and regards
    Jack 
    Jayavel

    quick search
    study and ask if further specific help needed

  • FF17.0.1, Java 7 U9 outdated message. Removed/re-installed.Picked up 10 & tool kit. OS Win7SP1 64 bit. FF keeps crashing. Plugin Disabled OK

    FF 17 initial crash prior to update with Shockwave Flash 11.5.502.135 which RESOLVED.
    Then Java 7 U9 began crashing. Bios updated, All Software/Hardware updated as well. Installed U10 from Oracle and still crashing. Got rid of U10 and went back to U9.
    At least it's not crashing every 3-5 minutes as U9 did before. Do not want to stay in safe mode forever. HELP....I'm missing something? Where I'm at now with Add-ons Manager stating U9 outdated....plus many other Plugins are listed as "unknown":
    Java(TM) Platform SE 7 U9
    Next Generation Java Plug-in 10.9.2 for Mozilla browsers Outdated Version Update
    Plugin Icon
    Java Deployment Toolkit 7.0.90.5
    NPRuntime Script Plug-in Library for Java(TM) Deploy Outdated Version Update
    Since this began happening, the following plugins became unknown and suggested "research".
    Microsoft Office 2010
    The plug-in allows you to open and edit files using Microsoft Office applications Unknown plugin Research
    Plugin Icon
    Windows Live™ Photo Gallery
    NPWLPG Unknown plugin Research
    Plugin Icon
    Simple Pass
    Website Logon Plugin Unknown plugin Research
    Plugin Icon
    Intel® Identity Protection Technology
    Intel web components updater - Installs and updates the Intel web components Unknown plugin Research
    Plugin Icon
    Google Update
    Google Update Unknown plugin

    Resolved.....Java is green on Add-ons Manager. I pulled up the Java Control Panel and clicked on UP-Date. Damn if it didn't do it beautiful and now tool kit is gone and this is what the plugin profile shows with only ONE ENTRY NOW:
    Java(TM) Platform SE 7 U10
    Next Generation Java Plug-in 10.10.2 for Mozilla browsers 1.7.0.10 Up to Date.
    What I learned --- Do not use update from Oracle, regardless if U9 completely removed.
    Let the "Java Control Panel" on your computer do the work.
    Can't wait to see if my "crash days" are over!
    I'm not out of the woods yet. Profile page still shows GREY---Plugins UNKNOWN and RESEARCH for the following:
    MS Office, Windows Live Photo Gallery, Simple Pass, Intel ID Protection Tech., and Google Update
    '''Does anyone know why the above plugins are listed as "unknown" on the Add-ons Manager?'''

Maybe you are looking for