LabVIEW Comunicación excel

Hola

the cuento mi proyecto, estoy doing mi residencia profesional in a company that makes engranes conicos, el detail are the following: tenemos una Máquina en cual will want tell el tiempo los paros, number of pieces produced y la Razón el paro. mediante a sensor fotoelectrico quiero count las piezas, y con ayuda of daq carry acabo con Comunicación labview para LabVIEW Control United Nations enter a cierta celda to Excel are donde esta developed the database of los paros.

Saludos, espero me help!

Hola!

Respond using seria posible una las functions specific para del Excel OR Report Generation Toolkit (http://sine.ni.com/nips/cds/view/p/lang/es/nid/209050).  Esta tool you permite crear deferred una hoja of Excel data in different formats, one of them.  Inside of the corporative functions este modulo, is encuentran las functions specific para Excel.  Is una funcion llamada "Excel set Excel Location.vi", cual recibe como Street fila y celda donde columna is quiere put el puntero.  Posteriormente, you can use the funcion of escritura para write una celda en blanco ('enter') y continue con escritura of las cells.

If that whole're insertar una nueva celda en blanco cuando los datos are themselves encuentran written the hoja of data, you can use the Excel funcion en insert Cells.vi.  Esta funcion can insertar una celda, fila o columna en las coordinated that specific the entrada en "start (0,0)".

Otra respond using ActiveX seria posible para una celda directly access e insertar el valor that requieres.  Te dejo UN example that contains link el este procedure:

https://decibel.NI.com/content/docs/doc-2081

Espero you sirva!

Saludos,

Anuar Rojas

Tags: NI Software

Similar Questions

  • LabVIEW for an excel button

    Hi all

    I developed a Labview VI, but now I need the VI to activate an add-in, excel at some point. The add-in allows to launch a measure with which I was not able to control through labview (light meter SEKONIC C-7000) and the measure should start at some well-defined point. So what I have to do is press a button in excel to start measurement, while the VI is running.

    Is it possible to interact in excel using labview? After the VI did an initialization, I would need to excel and not pushing only one button to start the measurement.

    Thanks for all the support...


  • LabVIEW 2011 and Excel 2010: backup problems

    Hi all! I am a student of mechanical Engineeringfthat very little uses this software. I present you the problem: for a question called biomechanics, my colleagues and I, we have developed a rheometer design, which is controlled by LabVIEW2011. Since we are still at the experimental stage, always has been simulated using labview: the whole experience. Yes, labview, at present, not only the orders of the engine through the fixed frequency, but also simulates the output (in the specific, the answer to the torsion of the cartilage, simulated with a second-order low-pass filter). All this was done by my colleague more experienced than me, and who today put the finish of the project in his perfectly for pc not in mine (we have the same version of labview, but a different version of the office). In practice, the program is very well (there is no 'Run' broken arrow) and the simulation with the creation of the sine graph (response of the cartilage) is done perfectly. Then, my colleague put labview to save data in a spreadsheet at the end of the simulation, asking the user where to put (the excel file must already exist, labview does not it). The excel file must contain a point cloud and two columns (one column represents the frequency, f, of motor control, the second represents the shear modulus G, which increases as the frequency increases and the graph represents the evolution of G based on f). As soon as I decide to save the data, excel opens, for an instant is displayed the diagram of dispersion and data in columns, but immediately after the chart disappears and remains only columns with data (so I have to make the graph "manually") and labview give me the following error:

    Error 2147023170 has occurred to the property node (arg 2) in NI_ReportGenerationToolkit.lvlib:Excel_Insert_Char

    VI-> NI_Excel.lvclass:Excel insert-> easy NI_ReportGenerationToolkit.lvlib:Excel Graph.vi--> SaveExcelFile.vi Graph.vi--> 2.0.vi Progetto

    This error code is not set. Undefined errors can occur for several reasons. For example, no one has provided a description for the code, or you could have wired a number which is not an admission of error code error code.

    In addition, undefined error codes can occur because the error concerns a third object, such as the operating system or ActiveX. For these mistakes of third parties, you may be able to get a description of the error in searching the Web for the (-2147023170) error code or its hexadecimal representation (0x800706BE).

    What can I do?
    Thank you. Concerning

    Different versions of Office is something that I would consider it carefully. Like trying to get the same version FIRST, unless you want to read the documentation for Microsoft Office Excel Developer between different versions of Excel.

  • LabVIEW GOOP for Excel

    Hello world

    I'm new with Labview and I would like to copy and paste data from a .txt file to an Excel sheet.

    Do you know if there is a link somewhere on the internet to download a version of the 'GOOP' for Excel tool that works at least with Labview 2014?

    This one is too old... http://www.NI.com/example/27974/en/

    Or perhaps is already someone doing a VI that do (or almost) I want?

    I would like to read a structured-for example .txt file like this:

    Date of test XXXXXX
    Test of stadium XXXXX
    Repeat XX

    Voltage 1 [V] XXXXX
    Voltage 2 [V] XXXX
    Temp 1 [° C] XXXX
    Temp 2 XXX [° C]
    Result XXXX

    Num 1 X
    Num 2 X
    NUM 3 X

    Name of the script XXXXX
    XXXXX script version

    And for copy and paste line-by-line results (XXX) in the different cells of the first empty line of a specific Excel spreadsheet

    Make a table with all the titles and values screenshots

    Save the image to a specific folder

    Save the Excel sheet...

    Thank you for your time and consideration

    See you soon

    Hi Neercs,

    you know that this is for 2014 LabVIEW.

    I found a LabVIEW VI to run an Ecxel Makro as well.

    Hope I could answer your questions.

    Kind regards.

  • Client server of executable activex LabVIEW project with excel vba

    Hi all

    I submitted a ticket to support nor on this problem, but my deadline for this project is very close, so I would like to ask the community to see if someone has encountered this problem before (I hope it's ok that I'm doing this!). I did a fair amount of forum-scouring, and I didn't know this even discussed problem.

    I built a labView project which is essentially in the material data and
    preforms various visualizations and transformations on the data. A bit of the
    Screws in this project are available by VBA Excel as a Server ActiveX with LabView and
    Excel as the customer - and it works! I recently discovered I would need to do a
    executable version of my project, so I'm now trying to figure out how to do the same thing
    with my executable file as the server instead of LabView. Here's a simplified version are
    My VBA code:

    Void Button1_Click()
    Dim lvapp As MyServer.Application
    Dim vi MyServer.VirtualInstrument

    Set lvapp = CreateObject ("MyServer.Application")
        
    VI the value is lvapp. GetVIReference ("Main.vi", "", True)
        
    Sheet1.cells (1, 1) = vi. GetControlValue ("Path")
        
    lvapp. Quit smoking
    End Sub

    I replaced LabView here with the name of my server. The code
    failure of the CreateObject method with the following error:

    Run-time error '13':
    Type mismatch

    Things, I'm pretty sure I'm doing it correctly:
    -L'application is configured as an ActiveX server in the build options
    -J' ran the VI once and close/re-open it just after each build before trying the
    worksheet
    -In excel, VBA method is configured to reference the type library of the server.
    -J' have LabView itself closed when I run the .exe

    Thank you

    Alex

    My versions and such:
    Software of NEITHER: LabVIEW version 2012
    OS: Windows 7

    It's interesting - I'll have to look into the issue. In the meantime, I found a solution.

    It's quite mysterious, but it seems that all I had to do was make sure you only the type library of the server executable has been referenced in VBA (no LabView or OLE type library) and declare the variable app as object, rather than MyServerName.Application. Honestly, I have no idea why this works, but it does. Also, I learned that you need to use the executable file paths, which are a little different than the paths of project files.

    Thank you

    Alex

  • LabVIEW Equivilant to excel functions?

    Hi, I'm translating certain equations made in Excel in LabVIEW.

    Nobody knows what the equivalent of LabVIEW for control of Excel:

    Round (x, 0)

    In addition, what is the equivalent for

    INT (x)

    Thank you, Alec

    Matthew Kelton wrote:
    The towers in LabVIEW have no decimal entries, so are equivalent to the ROUND, ROUNDUP, and ROUNDING with the second parameter set to 0.  Round is at most closely.  IF you want numbers after the decimal point, you need to do your own codes to move to the third decimal place and rounded.

    So Round (x, d) be impement as I missed the negate of d on the first shot

  • Date incorrecta desde Labview 2009 an Excel file

    WRONG FORUM.  PLEASE MOVE ON SPANISH FORUM. Thank you

    Hola. Estoy using el report generation Toolkit 1.0.1 para traspasar datos una tabla texting an Excel 2003 SP3.

    Dentro the hay una columna date tabla con formato DD/MM/YYYY HH: mmS (example 11/06/2009 09:35:12 where 6 are el dia y 11 is the my)

    Al usar easy Excel Table toda the tabla to pasa correctamente, pero if a date tiene el campo DD 13, hoja of excel appears invertida en menor (MM/DD/YYYY HH: mmS)

    No problema are no excel because if copio y pego esos campos of text directly no me los becomes. Lo me interesa are los the tabla of SMS texting me aparezcan en excel sin any cambio y por lo visto durante the export to hace alguna conversion.

    Esta are the tabla as quiero exportar

    El código Quebec uso como snipett:

    I hope someone can echarme una mano

    Gracias y a greeting

    Problem solved (well, sort of)

    With Excel 2000 date of export with the right format.

    In my case (excel 2003) I change the date format to "hh: MM/DD/MM/YYYY -S ' before export if excel interprets as pure text.

    THX.

  • ChartObjects SetSourceData labview Excel

    Hi all

    I am currently writing program for Labview data to Excel.

    I did a file with graphics model in each excel worksheet and I want to choose a given chart (2) in a given worksheet (4) to define the Data Source.

    My problem is that SetSourceData, method seems to work I use it (see Vi).

    Any idea?

    Thank you

    Hi rooms,.

    Joint example works for me. Be sure to close any reference at the end.

    Mike

  • Excel 2010 and labview 2010

    I think that this may have been covered, but if anyone noticed all the differences in the properties of the ActiveX or methods in labview when working with excellent 2007 versus excel 2010? I know at one point Microsoft had changed a few things excellent 97-2003 "and instead select 'value' in your method, you must now choose"value 2". Is the real wait even for excel 2010? I am currently using excel 2007 at work and 2000 at home, and when I opened my code at home, my call nodes 'have the wrong son' still all required entries are correct. Same code on excel 2007; lot of son and the code will be run. I'm just curious to know if anyone has tried to use labview 2010 and excel 2010 together and made a work? I'm opening 1 workbook and wrote to 4 different excel sheets using Windows XP, excel 2007 at work and have windows 7 and want to use excel 2010 home and prefers no problem or to all the least know what are potential problems. Sorry if this confusion. I think it's the best way I can explain that I have MY head wrapped around it yet.  I do not want to write the same code twice for different versions of excel. (write and test at home, then re - write at work)

    http://digital.NI.com/public.nsf/allkb/177D720A428CA72B862567EC00757F0C

    This is an example of what I'm talking about

    Myke,

    While I don't have excel 2010 available to try and see, Microsoft (and MSDN) has a huge amount of information about calls in all versions of Excel.

    Excel 2010 development resources: http://msdn.microsoft.com/en-us/library/ee658205 (office.14) .aspx

    Excel 2007 development resources: http://msdn.microsoft.com/en-us/library/bb979621(v=office.12).aspx

    I hope that helps you start, because I don't have access to excel 2010. Let me know if it works for you.

    Kind regards

    Kyle Mozdzyn

    Engineering applications

    National Instruments

  • LabVIEW in excel file

    Hello... I am using labview 8.5 for my last project year... can I convert the graph in the labview in excel file using this version of labview? Please... help me... ahaksss

    Search the forums and you will find hundreds of examples (or even thousands) of how to get the LabVIEW data in Excel.  From there, you can create your chart in Excel.  Very likely, you will want to use ActiveX functions in LabVIEW to communicate directly with an Excel spreadsheet.

  • Adding picture to excel is not saved with the report

    I'm trying to compile a report in excel using Labview, in which I have to insert an image of a certain size in a certain range of cells. Everything is good and correct picture adding to Excel in my development computer and fix to save the report. When I did an executable Labview working with Excel 2007, I noticed the picture is added to the model then I save report and close. When I open the generated report photo cells were empty and a reference to the image is instead.

    It seems to me that the report could not save the inserted picture.

    I would like to mention that the image is added to an excel template that is not any control of image, but is added using the box in excel tools.

    Is a way to set a property in excel 2007 to save the image with the report that I do not know?

    Virginia


  • How to add the name of the title of graph in Excel

    Dear friends

    I'm using LabVIEW 8.0.I need how to add the name of the title of graph in Excel.

    You have the report generation tool? If so, the VI of graph Easy Excel has an entry for this.

    If you don't have the Toolbox, then you need to use ActiveX. Please do a search on the use of the ActiveX (there are examples provided with LabVIEW) to control Excel. Also, there are many examples in the thread Excel. NOTE: DON'T POST QUESTIONS IN THIS THREAD.

    In the end, you will need to search for information contained in MSDN.

  • Excel series

    Hi all

    I'm trying to change the line weight of series in a chart on my excel sheet using the activex property. I use the Graph.Chart object and the property series node return to me the error-2147352573. Where am I wrong?

    I use:

    LabVIEW 2014

    Excel 2010

    Windows 7

    Thank you in advance.

    I did it by myself...

    The attached file show how I did it and it works!

    Thank you all...

  • Search for words in an excel file

    Hello

    I have a question, can I do a search for the words I want to write in labview, in an excel file?

    what I want is to search for certain words from an excel file and then replace it with another that I will write from labview.

    have you undeerstand?

    Thank you!!


  • Barcode Excel and read the data

    Hello

    I'm creating a program where I would like to scan a barcode in LV and there LV scan a spreadsheet excel for this barcode and returns the data in this row. I found an example online that allows the discovery of bar code number in excel, but I'm not coming with a strange issue when you try to view the information in this row. My program is the correct barcode in all cases. Only when I get the number of rank 1 line information will be correct. When I enter the information in row 2 lets say it shows the information of line 3. When I enter the tier 3 program line 5 information display. Attached is my draft of the code (this is my first stab at ActiveX control so bear with it please) and a worksheet example I created with some information on how the program works. I have checked the other posts for similar problems and could not find one this hepls with my particular issue. I also checked the thread specific excel but found no link to the code that can help. Any help is appreciated. IM thinking that I'm more looking for something, but since this is my first shot at this type of programming im not very well what it is. Thanks in advance for any information.

    NYC says:

    The other thread is not VI or Excel.

    I'm curious to know what is happening in the VI, but I can't open it.

    It's the same question, except that this time the OP has provided a follow-up saying: ' OK, here's what I got, and it does. ' " Why? "I would have just kept in this thread. No matter what.

    In any case your mistake is that you don't want to connect the line found on all of the methods of Range.Item (get). You must connect a constant of 1 for 'Row' parameters for these two. As you operate on a found range, you don't want to change the line.

    As it is now your VI does not close Excel when finished. The Excel process continues to run in the background. See the example with LabVIEW, which closes Excel when finished.

Maybe you are looking for

  • Thunderbird support Windows 10-t - 10 Windows do not appear on the Page system requirements?

    Hello I checked the configuration of Thunderbird page (https://www.mozilla.org/en-US/thunderbird/38.2.0/system-requirements/), and 10 Windows is not listed as one of the supported operating systems. I read in the community of support that people have

  • Double Doorhangers

    I'm looking for a site that triggers two Doorhangers (e.g. 2 plugin icons or 1 plugin icon + extensions icon) in the URL bar. http://S28.postimg.org/lszy1r64p/DDH.PNG Some time ago I reported the following bug: https://Bugzilla.Mozilla.org/show_bug.c

  • Cannot open links that are supposed to appear in another page.

    Whenever I left click to open a link that is designed to open in another window, as a PDF file or a few sites Web which are supposed to the top of the page open in another window, the site opens very briefly with the words subject: empty, then it clo

  • Upgrading processor on Satellite L30

    Can I replace my Intel celeron with a complete Intel pentium processor for my laptop Satellite L30-105? As it is so slow I got it since February 2007, more than half of my HDD disappeared too?

  • Very slow the new Satellite L40

    I would be grateful for any help you guys can give me. I have a Satellite-ish L40 (bought last fall). It's a basic - Intel Celeron death machine / 1.60 GHz / 1015 - RAM under Vista Home Premium. He bought just to make the work of processor + some use