Commander des filtres excel via labview

Bonjour,
J'aimerais commander des filtres dans un tableau excel via labview. Est-ce que cela est possible ?
Merci d'avance
Résolu !
Accéder à la solution.

Pour ceux qui aurais le même problème, voici le lien qui m'a aidé
http://forums.ni.com/t5/LabVIEW/How-to-filter-a-excel-spreadsheet-column-using-Labview/m-p/256723/hi...

Similar Messages

  • Comment enregistrer dans un fichier des photos prise via labview en vu de les utiliser pour un traitement d'images

    bonjour ! 
    je dois effectuer l'acquisition d'image via une camera et gérer le traitement d'image via labview.
    j'ai déja créé les VI pour acquerir et traiter les images,mais seulement je n'arrive pas à enregristrer l'image acquise dans un fichier , pour pouvoir y retourner  le rechercher lors du traitement d'image  .
    merci.

    Labview standard a des fonctions pour sauver des images en différents formats dans la palette ''Graphics and Sounds''/ ''Graphics Formats'' (désolé j'ai la version anglaise). Il y a des fonctions additionnelles dans l'outil en supplément ''Vision Development''.
    Il y a aussi un forum francophone. C'est probablement un meilleur endroit pour poser une question en français.
    bonne chance
    Marc Dubois
    HaroTek LLC
    www.harotek.com

  • How to write more than 65536 data in excel Via Labview in one column

    I have more than 65536 data and i want to write these data in excel sheet. It is giving Error:-
    "Description:-
    Error -2146827284 occurred at an unidentified location
    This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input."
    Less than 65536 data can be written....
    Please give some solution...

    This is not a limitation of LabVIEW writing to a spreadsheet file but a limitation of Microsoft Excel (and also of Notepad) itself.
    One option could be, you can switch to Excel 2007 or higher verison...!!
    Other solution could be, forget about writing to Excel, instead write in some other format and use LabVIEW your other compatible (with large data) application to read it back.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Commander un exécutable via labview

    Bonjour,
    J'ai un exécutable qui me permet de piloter un shutter. Il comporte deux boutons: "open" & "close".
    Comment faire pour le lancer à partir de labview et pour envoyer une commande "open" ou "close"?
    Merci pour vos réponses.

    Hello.
    To get an answer on this part of forum you should repost in English.
    Another solution is to post on the french forum here.
    Don't forget to give more informations, like the version of Labview, attach the executable.
    It will be helpful to get a faster answer.
    Regards.
    Romain D.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    NIDays 2010 : Conférence mondiale de l'instrumentation virtuelle
    >>Détails et Inscription<<

  • Je suis débutant,j​e veus savoir comment commander moteur pas à pas avec labVIEW via la carte NI UMI-7764 merci

    je suis débutant,je veus savoir comment commander moteur pas à pas avec labVIEW via la carte NI UMI-7764 merci  

    abdelkhalk wrote:
    je suis débutant,je veus savoir comment commander moteur pas à pas avec labVIEW via la carte NI UMI-7764 merci  
    Pour commander un moteur pas à pas il faut également un controleur (NI-7330,7340 ou 7350) et un driver. Les controleurs NI viennent avec la librairie Motion I/O qui contient les VIs qui permettent de controler le moteur.
    Ben64

  • Controling wheelchair by speech command using Neuron Network in labview

    Hi all,
    I'm doing project about "controling wheelchair  by speech command using neuron network in labview". I found some informations about controling whelchair combine with function microsoft speech recognition in window or something like that but this was not my point. So, I have some question about that:
    1) How do I store the command "Left-Right-Back-Go-Stop" in labview. After that, analyzing to find the differences of characteristic of these command.
    2) Based on these characteristic above, using neuron network to find exactly command.
    Are there anyone do like this before? I need all help from you.
    Thank you so much.

    Greetings;
    First, it is most excellent that you have gotten to where you can compare the words being said to the sample.
    If I understand correctly, you are interested in continuously acquiring sound, saving it and then comparing it with the sample? That is not as straightforward as it sounds simply because it would be difficult to realize when there is sound in the first place and when that sound is relevant. 
    I would probably start by figuring out whether there is or not sound by comparing the microphone input to a certain threshold, saving if there is sound, and then halting the recording when the sound stops. It would be then that you would compare with your samples via the algorithm that you have made.
    In order to check for volume, I came across the following example:
    http://zone.ni.com/devzone/cda/epd/p/id/2150
    It was mentioned in the following discussion:
    http://forums.ni.com/t5/LabVIEW/Microphone-Input-Detection/td-p/487367
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

  • LIRE UN TABLEAU à 2 DIMENSIONS DEPUIS UN FICHIER EXCEL SOUS LABVIEW

    SVP, je suis débutante en labview
    et je cherche à importer des données (real et string) d'un tableau sous un fichier excel vers labview, je souhaite afficher ce tableau dans labview (le nombre des colonnes est 7 par contre le nombre des lignes est variable) et ensuite plus tard utiliser ces donnees
    svp aidez moi, donnez moi un exemple

    Si vous avez le Report Generation Toolkit, puis il ya des exemples disponibles via le finder par exempleLabVIEW. Il suffit de rechercher l'excellence.
    Sinon, voici quelques exemples sur la façon d'accéder et d'importer votre tableau Exceldans LabVIEW:https://decibel.ni.com/content/docs/DOC-12287 and http://zone.ni.com/devzone/cda/epd/p/id/3409
    (en utilisant Google Translate)

  • 8510C doesn't send data to PC via LabVIEW: why?

    I posted this morning regarding the driver for 8510c. even if you do not have the driver, I only need one tip/explanation.
    I can control the instrument, sending it commands via Labview (sweep, number of adta point, axis format, etc), but the PC doesn't receive any data back.
    If I use the NI measurement & automation tool, I can exchange data between 8510 and pc (query: OUTPDATA; I get several ASCII data back ). I can ask for ID as well (OUTPIDEN). If I use the same commands  in labview, I cannot get any data read by Labview (i.e with GPIB read command, the output data variable is left blank).
    I only need to be able to record to an excel sheet the S parameter traces, avoiding using the floppy to save data on it.
    Even if any of you has a labview 7 version: could you tell me how OUTPDATA; (or OUTPRAW OUTPFORM) work?
    THANK U

    I just posted a LabVIEW 6 version of the driver in response to your other question but if you can't get OUTPIDEN to work in LabVIEW, then you should check to make sure that you've got the correct address. Do you have the error connections wired up and do you get an error? How many bytes are you specifying for the GPIB Read? The driver uses VISA and you should use that but if for some reason, you want to use the low level GPIB commands, the code for getting the device id should look like the attachment below. After you get this to work, then move on to getting a measurement.
    Message Edited by Dennis Knutson on 11-29-2006 09:15 AM
    Attachments:
    ID Query.PNG ‏3 KB

  • Open .csv file in excel via Labwindows

    Hello
    After writing all my data in a .csv and closing it (using fclose), I would like to open this .csv file using Excel via a Labwindows command so that the user can see all the data. Is that possible? If yes, which function should I use?
    Thanks

    The simplest way of all is to issue the command OpenDocumentInDefaultViewer (): it should automatically open Excel with the document in it. It is equivalent of double-clicking the file in windows explorer.
    If it does not opens the file, you must verify that in windows CSV file extension is correctly associated with Excel application.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Teststand et excel via Active X

    Bonjour
    Je recherche le moyen de de realiser une liaison entre teststand et excel via ActiveX, a ce titre je cherche à connaitre le nombre de classeur ouvert et leur nom, comme le montre l'exemple suivant dans labview.
    En visual basic il suffit de faire un simple Workbooks.count   et ensuite Workbook.Item(1).Name
    Sous TestStand je n'arrive pas à realiser cette fonction 
    apres avoir creer un objet Excel  (reference Excel)  je recupere la propriete Worbook de  cette reference par la classe Application (_Application)  (voir images)
    Ensuite a parir de la reference recupérée precedement je compte le nb de classeur
    Classs (Worbook ) puis  get property ( count )
    Mais test stand me repond invariablement 1 alors que plusieurs classeurs sont ouvert.
    Autant dans labview les exemples sont nombreux autant pour teststand il n'y a que tres peu d'exemples.
    Auriez vous une solution ?
    Résolu !
    Accéder à la solution.

    Apres avoir passé pas mal de temps, j'ai enfin reussi à ecrire une sequence permettant de lire un fichier excel.
    L'atuce consiste à ecrire le code en labview (il existe de nombreux exemple) puis de retraduire en teststand les étapes en faisant attention à la syntaxe  notamment _Application ou _Workbooks
    Voici ci joint une bribe bien imparfaite de code, mais fonctionnelle.
    Il faut actualiser le fichier à ouvrir et la cellule à lire. Petit defaut non résolu, teststand ouvre plusieurs fois le meme fichier excel.
    Voici les deux autres exemples en complement.
    http://sine.ni.com/devzone/cda/epd/p/id/765
    http://ftp.ni.com/pub/devzone/epd/excel_example.seq
    Pièces jointes :
    test_4_excel.seq ‏8 KB

  • "Invalid type library" error when opening Excel via ActiveX

    Hi,
    I am trying to open Excel via ActiveX (Automation open function), for
    instance by running the
    build in example "Open Excel and make visible". However, on some computers,
    I recieve the error code -2147319784 "Old format or invalid type library".
    The problem seems to be that LabView is unable to recognize the ActiveX
    control, as it does not appear in the list "Select ActiveX Class". It works
    perfecly from Matlab though, so the control seem to be in order. I have also
    tried reinstalling Office.
    On most computers it works perfectly, but three identical Dell P4 900Mhz
    have the same problem.
    /Stefan Borg

    This may be happening due to different Excel versions, a vi made to control Excel 97 won't work for Excel 2000 and vice-versa. Be sure you are using the correct activeX calls for each one.
    Good luck

  • Opening Excel from LabView

        Hey all,
    I am trying to figure out how to open an Excel document from within a running LabView .vi.  I have been looking around here but I can't seem to find exactly what I am looking for.  What I have is a GUI running to operate some test equipment.  The user needs to be able to create and load a configuration file that is created with Excel.  I have added options to my Run Time Menu to make this easy for the user, but I can't figure out how to actually execute it in the code.
    I plan on having the template they will use at a location like this:
    C:\Program Files\Naitonal Instruments\LabView 8.2\Templates\Interrogation Setup.xls
    So I am trying to figure out the best way to execute this.  I was going to use the System Exec.vi but, being a DOS prompt, it can't handle the spaces in the directory.  Is there a better way for me to do this?
    Really appreciate it.

    You can interface excel via ActiveX in LabView. Have a search through the forum with these keywords. There is also a thread containing links to excel related threads, but I've no bookmark at hand.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • 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

  • Sending arrays from Excel into Labview

    I want to send an array from Excel VBA into a LabView VI.
    The Excel example shows how to send individual numbers and return an array into Excel but not send an array.
    Everything tried sends blank arrays into LabView, which can then be modified in LabView and returned to Excel.
    A VBA code snippit that does not work is:
    Sub LoadData()
    ' LoadData Macro
    ' Keyboard Shortcut: Ctrl+l
    ' This is an example to demonstrate LabVIEW's Active-X server capabilities.
    ' Executing this macro loads a LabVIEW supplied example VI "Frequency Response.vi",
    ' runs it and plots the result on an Excel Chart.
    Dim lvapp As LabVIEW.Application
    Dim vi As LabVIEW.VirtualInstrument
    Dim paramNames(0)
    Dim paramVals As Variant
    Set lvapp = CreateObject("LabVIEW.Application")
    viPath = lvapp.ApplicationDirectory + "\examples\apps\freqresp.llb\DAK Frequency Response.vi"
    Set vi = lvapp.GetVIReference(viPath)   'Load the vi into memory
    vi.FPWinOpen = True                     'Open front panel
    paramNames(0) = "Foo"
    paramVals = Sheet1.Range("j1:j1000").Value
    Call vi.Call(paramNames, paramVals)
    This code generates an error - expecting 1D array or variants.
    However, if I supply the correct array, then LabView thinks it is empty
    'foo' is a cluster
    'Array' is a double array
    Neither work to receive the data

    Thanks for the reply but that approach will be difficult.  The problem to solve is relatively simple IF LabView could read arrays (it writes arrays easily).  Here is the problem:
    I want to convolute two large arrays.  I have written VBA programs to do this but they take too long - over 30 sec whereas the LabView version take <1 sec IF I could get the data into LabView.
    The convolute is part of an optimization program that goes though many loops so that it takes hours to run efficiently AND if I manually change cells in the spreadsheet, then it takes 30sec to come back as VBA does not respect clean cells (for some reason).
    I was trying to write a function in VBA to do this calculation via LabView rather than VBA.  One way to  do this is to write a text file in VBA and read in LabView, then pass the results back or maybe the clipboard as a buffer.  That is faster but clumsy.  You could also have LabView look for dirty cells and then do the calculation as the server rather than the client.  Again, time consuming and cumbersome.  I have written pure LabView code to do the curve fitting but prefer to use Excel as that is easier to incorporate and work with the data.   You can do convolute using FFTs but Excel does not do that correctly - they CANNOT make their FFTs into a function (VBA functions cannot modify cells in the spreadsheet but only return variables.  FFT modifies cells so cannot be called from a function, only a macro, which then needs to be updated manually).  Again, I can kluge VBA (real kluge this time) to make FFTs work as a function BUT prefer the LabView solution, if possible, as I am not sure the FFT will actually save time.
    I am not sure if the problem is LabView's fault or Excel's (2013) fault that the variables are not set-up properly.  LabView claims to be able to do this.  Again, you can pass single variables into LabView and read back arrays but try as I might, I cannot get arrays into LabView.
    Any help in sending arrays (maybe Labview expects a variant variable and needs to convert it somehow) would be appreciated.  Variants are suppose to be able to be converted automatically but maybe there is a bug in LabView (2010) that does not handle input variant arrays correctly (I have tried making them clusters, double arrays, ect).  LabView thinks that all the arrays sent by VBA are empty. If LabView modifies the same array, VBA sees that modification so that the addresses appear to be sent correctly i.e. the array "handle" is being sent to LabView or else it could not fill the array to send back to VBA.
    If ever this is solved, I will put on-line the solution for others as again marrying both programs will have advantages.  Others may find this interesting is marry LabView with Excel so that LabView does some of the heavy calculations that Excel has kluged. 

  • To Control a Power Supply via LabVIEW

    Hi,
    I am really in the beginning of the learning LabvIEW. I am trying to control a power supply( Ametek XG 
    1500 ) via LabVIEW through USB cable. I have goggled several websites, but still do not have a clear idea 
    of how to implement such task. I downloaded COM drivers from www.programmablepower.com. Then, device and 
    my computer see the USB cable, but I do not have exact clue to make a good program to control power 
    supply.
    I tried to make a program with NI-VISA with SCPI commands. Actually, I am not sure to write true 
    commands and I can not see the voltage or current value on the front panel. I have never write a program 
    to control any electronic device. Maybe, I can not see the basic step or not.
    Firstly, I want to write a program which makes power on/off to the power supply. I do not know where 
    should I begin. Please any of you give me an offer to do this task.
    Thank you.
    Deniz

    There is of course, the IVI driver.
    I don't understand at all why you would install a different com port driver than the one that comes from Ametek/Sorenesen. In any case, I did not use the IVI driver. I simply created my own using Tools>Instrumentation>Create Instrument Driver Project. Pretty simple for me - I did a basic driver in less than a day. I would suggest you look over the instrument driver tutorial (on main idnet page). The commands are well documented in the manual. Be sure to get the termination characters correct. I can't provide the code I wrote as it was for a customer but if you post what you have written with details on errors you get etc, I'll try to help.

Maybe you are looking for