If an applicatio​n includes ActiveX references from Excel, should MS Office be installed on the run-time PC?

There are many threads regarding usage of MS office with LV, but I was not able to find the answer to the following question. I hope somebody can help or point me to a useful thread.
I have an excel template file and would like to create new reports each time from it. There are a couple of solutions for this problem which are fine. But, at the end, I am going to build an application and install it on an industrial PC which does not have MS office installed. The question is if the application works on the target machine as well.
I am specifically pointing to the solution in here which uses ActiveX reference to Excel._Application. Any chance that this solution or any similar one works on my target PC?
If you wonder why I want excel reports on a machine that does not have MS Office, I should say that the reports are just stored somewhere on the disk to be transferred later to headquarters let say!
Developing machine: Win7, LV8.6 Pro + Report generation toolkit
Target machine: WinXP SP3, LV run-time engine
Thanks in advance!
Soroush
Solved!
Go to Solution.

You need to have Office installed on the computer that is running the LabVIEW application. It is the Office applications that provide ActiveX functionality to the Report Generation Toolkit. Without them, LabVIEW has nothing to interface to.
http://digital.ni.com/public.nsf/allkb/02E339E2648​4F30186256E920061FBD9
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Similar Messages

  • In LV6.1, can I get the run-time menu refnum of a VI from the VI Path?

    Actually, for any version of LabVIEW, can I get the run-time menu refnum from the VI Path (or the VI reference)?
    Thanks!
    Enrique
    www.vartortech.com

    I just thought of a workaround...you could have a Menu Bar Ref indicator on your main VI front panel.  When your VI runs, you could have the Current VI's Menubar function wire the refnum into that indicator.  Then, in your subVI that has the VI reference, you could use VI Server to read the value of that indicator, then cast the value into a refnum wire, then you'd have access to the menubar reference in the subVI without having to pass it in to a subVI terminal.  Would that work?
    Oh, another simpler idea would be to simply wire the Menubar reference into a global, and read that global in the subVI.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • My time machine does not want to save any more the data from my powerbook 13" Snow Leopard; i get the message "Time Machine could not suppress the disk image of saving "Volumes/Time Capsule Disk/PowerBook _2011_03_21_123627 sparsebundle" What should I do?

    My time machine does not want to save any more the data from my powerbook 13" Snow Leopard; i get the message "Time Machine could not suppress the disk image of saving "Volumes/Time Capsule Disk/PowerBook _2011_03_21_123627 sparsebundle" What is the problem? What should I do?
    Thanks !!
    Alain

    Could that read " . . . could not access . . ."?  If so, try repairing your backups, per #A5 in Time Machine - Troubleshooting.
    If not, or if that doesn't help, see #A1 there. Use the TM Buddy widget it details to copy and post the messages here.

  • Clean install for the 1st time from Macbook late 2008

    Hi all!
    I'm doing a clean install for the first time before installing Maverick. I have a Macbook from late 2008, which came  with Leopard, but I always  did an upgrade whenever installing Snow Leopard, Lion or Mountain Lion.
    My question is when I do the clean install, the laptop goes back to factory settings, right? Do I need to install all the operating systems or can I go straight to Maverick?
    I'mthinking of creating a bootable usb drive with Maverick or should I just install it from the Apple store?
    It's my first time erasing the hard drive, I don't want to damage anything, just trying to be extra careful.
    Thank you in advance for the help

    The hard drive is wiped clean, but the hardware is the same. There is no "factory settings" until you actually install an operating system. In your case it will be Mavericks. Your laptop did not come this way from the factory.
    To return to true factory conditions you have to install the OS that came with your computer. I know this seems like nitpicking, but it's better to have the facts straight.
    Make Your Own Mavericks, Mountain/Lion Installer
    1.  After downloading the installer you must first save the Install Mac OS X application. After the installer downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
    2.   Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
             a. Open Disk Utility in your Utilities folder.
              b. After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the leftside list. Click on the Partition tab in the DU main window.
              c. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
              d. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
              e. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
              f. Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    3.          Use Lion DiskMaker 3.0 or DiskMaker X to put your installer clone onto the USB flash drive.
    Make your own Mavericks flash drive installer using the Mavericks tool:
    You can also create a Mavericks flash drive installer via the Terminal. Mavericks has its own built-in installer maker you use via the Terminal:
    You will need a freshly partitioned and formatted USB flash drive with at least 8GBs. Leave the name of the flash drive at the system default, "Untitled." Do not change this name. Open the Terminal in the Utilities folder. Copy this command line after the prompt in the Terminal's window:
    sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
    Press RETURN. Enter your admin password when prompted. It will not be echoed to the screen so be careful to enter it correctly. Press RETURN, again.
    Wait for the process to complete which will take quite some time.

  • Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.can any one help me bcoz i have to publish without air runtime.......

    Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.
    can any one help me bcoz i have to publish without air runtime.......

    Hi,
    This option is available when your publish target is set to AIR 3.6.
    You can download the desired AIR SDK version from Archived Adobe AIR SDK versions
    Thanks!
    Mohan

  • Passing an ActiveX reference from TestStand to Labview

    How can I pass and ActiveX reference (for a dll) created and used in a TestStand sequence (under Locals) to a VI running within that sequence so that I can then call the same instance of the dll from Labview?
    (I know this isn't the best approach to programming but I'm more interested in proving the point than anything else)
    Cheers
    Dan

    Here's what I think you are tyring to do. Within your sequence, instantiate an object from an ActiveX DLL, storing a reference to it within a TS variable. Then, within a VI called by this sequence, call a method of the intantiated object.
    To do this, when specifying your module on your LV step you must check the Sequence Context ActiveX Pointer check box. In the called VI you must have the a Sequence Context control on your front panel and have it wired to your connector pane along with a TestData cluster control and a LV Error Out cluster control.
    Within the VI you use an invoke node to invoke the AsPropertyObject method on the SequenceContext (Make sure you use the ActiveX close function on this new reference when you are done with it.). Use another invoke node to call GetValInterface method on the sequence context property object reference (you could probably also use the GetValIDispatch method. See the help). For this invoke node you will want to use a lookupstring that reference the variable, relative to yo sequence context, in which you stored the refernce to the instantiated object in your sequence file. This will return a variant reference. You must convert this reference to a LV reference using the "To G Data" function in the ActiveX palette. The "To G Data" function requires a type input. You will need an ActiveX Automation Refnum control as the input to this (see ActiveX control palette). You will need to right click on this automation refnum control and browse the ActiveX automation server until you find the DLL ActiveX server from which you instantiated your object within your sequence. Once selected, also select the object that you instantiated. The "To G Data" function will then give you a reference to you object on which you can happily used in your desired manner. Make sure to close this reference with an ActiveX Automation close function when you are done with it.
    I would definitely clean this up with a subVI to perhaps generalize the solution.

  • Obtaining activex reference from activex container

    I have a VI with an embedded MediaPlayer activex object inside an activex container.  Additionally, I have a seperately run VI which I want to be able to control the MediaPlayer obejct in the first VI.  These VIs are opened seperately, so I cannot pass information directly from one to another (i.e., I can't directly pass the MediaPlayer activex reference to the second VI directly).  Therefore, the second VI obtains a reference to the activex container object by searching the first VI's controls and filtering by label.  I can typecast the control reference to the level of activex container, but from there I have no way of obtaining a reference to the object embedded in it.  Is there are way to do this?  The "To more specific class" function does not accept activex references for typecasting, and the automation open does not accept activex container references.  I've searched through the forums, and while there is plenty on activex references and containers, there doesn't seem to be anything that addresses my issue.

    I'm not 100% about whether this will work, but give it a try. Once you have a reference to the container, use the 'Value' property. This will give you a variant. From here you can use Variant to Data, connect a MediaPlayer constant reference to the type input and you should get the correct reference out.
    Also, you could simply get a reference to the VI with the ActiveX control and use the method 'Control Value: Get[Variant]' to get the value of the control instead of getting a list of all the controls and searching for the one you want.

  • How to delete photo's from both Iphoto and source (external HD) at the same time

    I've seen a few postings on this but none seem to answer the quetion.  Sorry if this is a duplicate and I coudn't find the answer.
    I have an external HD with over 4GB of pictures in various folders and subfolders.  I would like to import one folder at a time and go through the photo's using iPhoto to choose which ones I want to keep and which ones I don't.  If I come accross a picture I don't like I would like to delete it in iPhoto and at the same time have it deleted from my external HD.  I have tried the following with no success:
    1. Import photo's to iPhone and delete photo's I don't want.  I did this in the photo's view, not events or albums.
    2. After deleting the photo's I empited the iPhoto recyling bin which then sends the photo's to my Macbook pro recycle bin
    3. I then emptied the macbook pro recyle bin. 
    From what I've read this is how you're supposed to be able to delete photo's permantently form you HD or External HD.  The photo's I delete never end up getting erased from my external HD though.  So now I'm still stuck with a back up of a bunch of pictures I don't want on my external HD.  They are gone from iPhoto but this doesn't help or avoid taking up space.  This only cleans up iPhoto library but not my actual external HD.
    So am I correct that there actually isn't any way to do this other than going through the photo's on my external HD using Finder and deleting them before importing to iPhoto?

    A managed library is the default type that iPhoto creates.  Make sure you have the option selected to copy photos into iPhoto when importing:
    was hoping it would at least keep thumbnails of all my photo's.
    I use a DAM (digital asset management) program which will do exactly what you want: Media Pro 1.  It creates catalogs (libraries) of thumbnails, up to 640 x 480, that is uses to manage the photos.  You can do anything to the photos except edit, slideshows, or anything that requires the full source image when the source files are not available.  You can arrange  photos in Catalog Sets (like iPhoto albums), add keywords, etc. to them even when the sorce files are not available.  When the source files are available you can write that metadata to the source file and rename files. You can use Media Pro in demo mode for about a month I believe. 
    A catalog file for 44,000 photos (178 GB) with the thumbnails set for 320 pixels at high resolution is only 1.5 GB. The larger the thumbnail selected the larger the catalog file will be. 

  • Can takes from more than one track be comped at the same time?

    Greetings,
    I know that this question has been asked recently in this forum (http://discussions.apple.com/thread.jspa?messageID=9527542&#9527542), but I don't think that the respondents completely understood the question... Or perhaps I did not understand the suggested solutions to the problem. I will ask the question in a slightly different way...
    Suppose that I record guitar with 2 microphones (a pickup mic, and a room mic). The first microphone is recorded onto track 1, the second microphone is recorded onto track 2. Multiple takes are done in this manner. When it comes time to comp the tracks, how is it done? Can the takes from more than one track be comped together at the same time? I have tried to do this by grouping both tracks together, but it does not work.
    Any suggestions?
    Thank you.

    You had the right idea grouping the tracks together. You must make sure that in the group settings, the box titled "region selection (edit)" is checked. This will allow you to make the same cuts (or in this case, swipes) on all regions in the group.

  • How to use documents created from software on bootcamp, on my MBP at the same time?

    I have a MBP. Bootcamp was installed. VM Fusion also installed. Two industry unique software programs, one that plots legal descriptions in deeds and one that creates forms have been installed on the bootcamp side and I can acces them through VM Fusion, but when I receive documents in "ndp" format in an email I can't direct it to the application in bootcamp or on the windows side in order to open it. Any suggestions? Also, the forms program creates documents but I'd like to save them somewhere where I can access them from the Mac side. I'm new to this. I could use some help.
    Thanks.

    I do not know or have time right now to look up NDP format.
    To write to NTFS from Mac, you need a driver.
    And to write to HFS from Windows also.
    I strongly recommend Paragon drivers for both.
    That way you can access anything from any platform.
    Paragon Software for Mac

  • Make application to read from excel and give result after query form the same excel file

    Hello everyone!
    I am newcomer to LabView 8.6, with previous programming experience.
    My problem is next:
    I need to make a query for example one type of machinig, one parameter which need to be adressable (mapped) to specific value and bring report of that value in application. Those values are specified in excell table with various worksheets (each worksheet represent on type of machinig i.e. milling, drilling, etc.), every worksheet is pupulated with values like material in rows (tool steel, specific material) and columns with specific parameter of the machining. To make it short, query from application should be select material, select type of machinig and select parameter of specific previously selected machining and the output should be the speed (m/min) which is specified in the that very column and row.
    I would highly appreciate any kind of help since i am new to LabView.
    Thank you for your assistance in advance!
    Regards,
    Vedran Galeta

    It looks like to get the LVOOP object for your existing XLS file, you need to use "New Report.vi" and wire the path to your existing file into the "template" input.
    LV Help:
    "template (Report Generation
    Toolkit) specifies a path to a Word document or Excel worksheet that acts
    as a report template. Enter the path to an existing Word document or Excel
    worksheet to open and edit an existing report for a template. The VI ignores
    this input for HTML and standard reports."
    I think the documentation on this vi could be worded a bit better.
    Gregory Osenbach, CLA
    Fluke

  • Can I stream music from my itunes and play a movie at the same time?

    I have an Apple TV hooked up to both an audio receiver and my TV with HDMI and optical cables. Can I stream a Netflix movie and also music from itunes (on a Macbook Pro) at the same time, so the audio and video content don't match?

    No.

  • How can collect the data from laptop sound card and serial port at the same time?

    I'm working on a project, I need to collect the data from laptop sound card, and also from serial port at the same time.
    The attachments are my VIs for sound card and serial port communication, I'm wondering that can I combine these two VIs together? Or can I run these two VI at the same time?
    Thank you!
    Attachments:
    AC_Radar_Receive.vi ‏46 KB
    RadarAudioPlug.vi ‏774 KB

    A smarter way is just to put all your code in the same VI.
    Two parallel loops if rates are different.
    Attachments:
    RadarAudioPlug.vi ‏450 KB

  • Acquiring a signal from two separate DAQs at different rates at the same time

    Hi I am trying to setup a system where I need to build two separate arrays one from two separate sets of data. The data needs to be brought in at the same time, but at a different rate. One set is from the PCI-4472 and will come in at ~10Hz, while the other is from a SCXI-1102 that is connected one channel on a PCI-6070E at ~3-5Hz. I was wondering how to have the two be read at the same time, but at the different speed. I am using LabView 6.1. Thanks in advance.

    Hi Muheesh:
    Since your DAQ's are working at an exact multiple of one another, what you could do is fill alternate channels with some "DUMMY" data...like zeros. Then you could index the array and match it up with the faster card. It might seem like a waste of memory, but it will give you two sets of aligned data, which seems to be what you need. If you're operating them at some weird multiple, it's a bit trickier. Whatever you do, you're going to have to insert some bits somewhere. Look for a least common factor (LCF) of your sample rates, and see if you can divide by that before logging the data.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • Collecting data from advantech-usb4704 with two different apps at the same time

    I wonder if I can access to Advantech-4704 with two different applications at the same time?
    I use this block in my vis.
    I have enough ports, but inputs are needed in completely different applications. Do I have to close one of them or can they run simultaneously?
    Thankyou!

    Dear gtu,
    as nathand said, usually it is not supported to access the same physical resource simultaneously from multiple programs. In case of DAQmx for instance, you will get an error message which says that the resource is already reserved. I suppose the same would happen with your driver, however it might be worth a try.
    One workaround could be however if you revise your applications and merge the codes if it is possible so that no concurent resource allocation takes place.
    Best Regards,
    Adam Cseh
    Applications/Systems Engineer
    National Instruments

Maybe you are looking for