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

Similar Messages

  • 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.

  • Text Message sent from LabVIEW using ActiveX and Internet Explorer

    I am fairly new to LabVIEW and I am trying to make a VI that will be able to text me and let me know when a test is about to be done or if something has caused it to shutdown.  My VI uses www.onlinetextmessage.com but I can't get it to click the Send Message button. 
    I can get it to insert text in the text fields.  I just can get it to click send.
    Can you help me?
    Solved!
    Go to Solution.
    Attachments:
    My Texting.vi ‏38 KB

    MoonMan wrote:
    Well it sure seemed like that should have worked but no luck. When I try to add the FormElement with submit in my VI after I wire in the reference wire it automaticaly changes to a regular Element.  Then it wont run because submit is not an option for Element, I have to change the submit back to click. 
    I dont understand, it really seems like the click should work, and it seems like the submit should have also worked.  Getting text into the different fields was easy enough.
    Did you try my modified version?  That uses IHTMLFormElement properly.  If you then change the element name from "Send Message" to "txtmsg" (the name of the form), it appears to work - or at least, it pops up an advertising window in Internet Explorer (I didn't fill in any of the fields as I don't want to give out my phone number or email address to some random website, especially one that pops up advertising).
    When you try to change to FormElement, what steps are you taking?  Are you changing the type of the "type" input to Variant to Data?  You'll need to right-click on that constant, Select ActiveX Class... and choose IHTMLFormElement.
    As a LabVIEW style note, you should close all the ActiveX references you open.  That means all the references (IHTMLFormElement, IHTMLElementCollection, etc) need a Close Reference when you're done with them.
    Again, I think sending an email is a better way to send a text message from within LabVIEW, and for that matter, you might be able to find a better website for doing it.  TMobile allows their subscribers to send SMS messages through their website and it appears that AT&T provides a similar service; Verizon provides a web page to send SMS to their users.
    EDIT: by the way, the submit button is not a named element (it has a "Value" property but not a "Name" property) so you can't get a reference to it by name.  If you probe the item output of the IHTMLElementCollection property node, you'll see it returns an empty variant, which is why "click" has no effect.

  • Calling LabVIEW from C# Using ActiveX?

    Hi,
    I try to call LabVIEW VI's from C# using ActiveX/COM, but I am not
    successful. I was able to do this from C++ and there are nice articles on
    the NI site dealing with the C++ integration.
    I tried to follow the instructions of the C# help, using a wrapper for the
    LabVIEW application call. I included the TypeLib that I created with the
    tlbimp-tool in my project. Basically my code looks like this:
    LabView50TypeLib._Application myLV = new
    LabView50TypeLib.ApplicationClass() ;
    LabView50TypeLib.VirtualInstrument myVI = new
    LabView50TypeLib.VirtualInstrument();
    myVI = myLV.GetVIReference(,?,?);
    myVI.SetControlValue();
    myValue= myVI.GetControlValue();
    myLV.Quit();
    I even don't know if the fi
    rst line is correct. I know that the second line
    is not OK, because there is no class "VirtualInstrument" - but from what
    class should I derive my instance for the VirtualInstrument? And different
    from my C++ implementation, the GetVIReference now needs 3 parameters
    instead of 1 (the path).
    What am I doing wrong? Does anybody have a working example on this?
    Thanks a lot & best regards,
    Martin Schellenberger

    Hello
    After adding a reference to the LabVIEW type lib to the project (I just to o to Project >> Add Reference and I browse for the typelib myself), and including the labview namespace at the top,here is what I tried
    using LabVIEW;
    //form code here
    //Event for button code
    LabVIEW.Application lv = new LabVIEW.ApplicationClass();
    LabVIEW.VirtualInstrument vi= lv.GetVIReference(@"c:\a.vi","",false);
    vi.FPWinOpen=true;
    vi.Run(true);
    So all it does is it opens the VI and runs it, seems to work fine. Hope this helps
    Bilal Durrani
    NI
    Bilal Durrani
    NI

  • 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.

  • Is there any way to export IT Resource data from OIM using the export tool?

    Hello,
    we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
    Thank you for your help
    Kind Regards

    Well , OIM doesnot provide any such facility to export ITResource data along with ITResource .
    Directly updating the DB could be an option ..
    Thanks

  • Error -2146960888 when opening excel from labview using active x

    attempting to open an instance of excel from labview using active x, I even tried using the "open excel and make visible.vi" found on this site. I get errors every time, Inserting a break right after the property node, I found that it does open excel with no active workbook. once the program runs to ompletion excel terminates. The error is on the line right after the property node executes.

    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F15456A4E034080020E74861&p_node=DZ53003&p_submitted=N&p_rank=&p_answer=&p_source=External
    Attachments:
    XL97table.zip ‏29 KB

  • 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

  • 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

  • Exporting Tables to Word from Pages

    I designed this really neat diary. I have two problems:
    1. It is really slow - when I type an entry.
    2. When I try to export it to Word (Mac or Windows) . It bears no resemblance to my original - tables broken into two etc.
    The Pageset up appears to be the same along with margins etc.
    Any ideas?
    David

    1. Tables are a object, so that could explain the slowness, especially if wrap is turned on.
    2. Even using the same fonts, sizes, margins, etc. Word & Pages on the same Mac don't display the same. I've actually had better luck opening an exported file in Word for Windows & that changes fonts most of the time. I do notice that Word (Mac or PC) doesn't handle the Pages hyphenation. I'm not sure if it's lost in the export from Pages or the opening in Word.

  • Exporting audio files separately from video using a Mac

    Using a Mac computer, can you export audio files separately from video in Adobe Premiere Elements 11?  If so, how would I do that?
    Thanks as always.

    I worked through the instructions in the Classroom in a Book for exporting
    the video and the audio together and the audio separately, but I am not
    quite sure of some of what to check in some of the categories.  I would
    appreciate some guidance.  The purpose of sending this project is to have
    my son clean up the sound.
    highlighted MPEG
    Presets:  NTSC DVD Standard
    File:  Speaking Out for Healthcare for Everyone-51.prel
    Save In: /Users/Barb/Desktop/New York State Single Payer/Healthcare
    Stories/Videos
    Advanced:  clicked on
    Preset:  NTSC DVD Standard  Or should it be widescreen
    Audio Format Settings
    Audio Format:  Dolby Digital  (Don't know what to check)
    Basic Audio Settings
    Codec:  Dolby Digital
    Audio Layer:  Dolby Digital Stereo
    Frequency:  48 kHz
    Bitrate Settings:
    Bitrate (kbps):  Don't know what to check.  It shows up as 192
    Thanks.  I don't know what I would do without this community.
    barb

  • Can we read AutoCad drawing in LabVIEW using ActiveX??

    Hi hello ,
      Can we read AutoCAD drawing from LabView????

    The other thread in which this issue is discussed can be found here.
    Tom
    Applications Engineering, NI UK

  • Printing labels from CVI using ActiveX and WORD

    I'd like to print labels from CVI. I managed to create the label type I need
    in WORD. Now I want to use that in CVI. The following macro describes exactly
    what I want. Maybe someone can translate this to CVI, please ???
    Sub Macro2()
    ' Macro2 Macro
    ' Macro recorded 17-02-00 by IT-Systems
    Documents.Add Template:= _
    "C:\Program Files\Microsoft Office\Templates\Normal.dot", NewTemplate:=
    False
    Application.MailingLabel.DefaultPrintBarCode = False
    Application.MailingLabel.CreateNewDocument Name:="10.63230", Address:=""
    , AutoText:="ToolsCreateLabels1", ExtractAddress:=False
    End Sub

    We do not have an example that will do *exactly* what you need, but you should
    find an ActiveX example program, either in the CVI samples folder or on the
    Example Programs Database, that illustrates how to print a document in Word.
    The function you will need to call that actually invokes the print method
    is Word_DocumentPrintOutOld. It's defined in word2000.h; the prototype,
    in case you were curious is:
    HRESULT CVIFUNC Word_DocumentPrintOutOld (CAObjHandle objectHandle,
    ERRORINFO *errorInfo,
    VARIANT background, VARIANT append,
    VARIANT range, VARIANT outputFileName,
    VARIANT from, VARIANT to, VARIANT
    item
    VARIANT copies, VARIANT pages,
    VARIANT pageType, VARIANT printToFile,
    VARIANT collate,
    VARIANT activePrinterMacGX,
    VARIANT manualDuplexPrint);
    "Han Stehmann" wrote:
    >>I'd like to print labels from CVI. I managed to create the label type I
    need>in WORD. Now I want to use that in CVI. The following macro describes
    exactly>what I want. Maybe someone can translate this to CVI, please ???>>>Sub
    Macro2()>'>' Macro2 Macro>' Macro recorded 17-02-00 by IT-Systems>'> Documents.Add
    Template:= _> "C:\Program Files\Microsoft Office\Templates\Normal.dot",
    NewTemplate:=>_> False> Application.MailingLabel.DefaultPrintBarCode
    = False> Application.MailingLabel.CreateNewDocument Name:="10.63230",
    Address:="">_> , AutoText:="ToolsCreateLab
    els1", ExtractAddress:=False>End
    Sub>

  • Has anyone exported time history data from Labview to B&K Pulse ?

    Hello
    I use a Bruel & Kjaer Pulse 9 system for the NVH analysis of data acquired from a DAT tape recorder. I know about the CompactRIO and I can see its potential as an ultra-portable digital data logger, for field testing. It could for example record signals from microphones or accelerometers into a binary file. But I would then need to "export" this time history data into a file format compatible with B&K Pulse platform.
    Has anybody been thinking about doing exactly that ?
    Thanks
    Philippe

    Hello Philippe,
    Do you know what the compatible format is for your B & K Pulse platform? LabVIEW is able to format data in many ways, if the format you require is some kind ASCII base then LabVIEW will most likely be able to generate this format. It may require more work to format data if this data format is more complex.
    Do you have any more information about the B & K Pulse system? This may be helpful in getting an answer for this question.
    Regards
    Hannah
    NIUK & Ireland

  • Generate pdf from labview using DIAdem

    Hi
    I am trying to generate a report (pdf) using DIAdem in LabVIEW 8.5, but I can't get the the template that I generate myself, to work properly.
    I have some data (attached in the VI), which is a table with 3 rows, 1st: sample no, 2nd: frequency, 3rd: result.
    What I need on my report is
    1) The frequency plottet along the x-axis (equally spaced), and the result plotted along the y-axis (it's percent (%), so they really has to be multiplied with 100, so the y-axis should go from 0-100)
    2) A table below with 2 rows, 1st: frequency, 2nd: result
    3) Some extra information about who conducted the experiment, date and so on.
    I have tried and make something like it, which you can see in the attached pdf Data.pdf.
    I am all new in DIAdem, so can someone please help me make this template, I can't get it to work properly. I can't turn the table, so I get two columns instead of two rows, and I can't get the graph to plot the data as I want to.
    Hope to hear from someone soon, today if possible, thank you very much.
    Best regards
    Simon
    LV 8.5
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010
    Attachments:
    diadem_report_gen.zip ‏135 KB

    Hi Brad
    I have tried to build an installer and compile an exe and nothing seems to work regarding the template, eventhough I place the TDR file in the same directory as the executable. I can see that the pdf, that is generated, is using the right template, there is just no data in the pdf, I have even tried to plot the graphs in the VI, so I am sure the data is there, pretty weird.
    I have attached my little example in the following zip, containing the VI, TDR and installer. It is made in LV8.5 and DIAdem 11 and I run it on the same machine as I compile i.
    I have made a ring control to choose between two different paths for the TDR, because the path doesn't seem to be the same when you run it in LabVIEW and running the executable.
    But again, I can see that it uses the right template, or else the pdf would just be blank, but there is just no data
    Can you take a look at it?
    Best regards
    Simon
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010
    Attachments:
    my_diadem_program.zip ‏244 KB

Maybe you are looking for