Bitmaps in a labview report?

Hi all, I have been developing an application for major diesel engine
control and testing and have been using the new reports' vi's in Labview to
generated printed reports of a given run. We would now like to include a
graphic in the report (eg a logo) in the form of a bitmap or other image
type. Does anyone know how to include graphics in reports?
while I am on the topic, does anyone have any vi's for controlling the
printer port? eg basic control like toggling one of the data lines?
Cheers
John

Thanks for the suggestions, they are much appreciated
cheers
john
MaxMar wrote in message
news:[email protected]..
> I don't know about the report feature, but you can set up a
> subVI to act as a printed report by selecting the "print when
> complete" option in the VI setup. Cut & paste the logo onto
> the panel or load it into a picture control (if you have ver 5.1
> or the picture control toolkit).
>
> You can use the "out port" function in the advanced>>memory
> palette to write values to the printer port. If you're in
> Windows, check the device manager in the system properties to
> get the memory address. Go to "Ports", select the printer port
> and go to the properties. The resourc
es tab will show the
> Input/Output range (typically starting a 0x378). Use this
> memory address with the "out port" function to control the data
> and control lines on the printer port. If memory serves correct,
> the first byte of the printer port address is the data lines.
> Could someone else confirm this? Also, anyone have the info for
> other platforms?
>
> Pinouts for the parallel port:
> http://www.senet.com.au/~cpeacock/parallel.htm
>
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
> The fastest and easiest way to search and participate in Usenet - Free!
>

Similar Messages

  • How to obtain the table index in word use LabVIEW Report Generation Toolkit for Microsoft Office

    I created a word templete and it had several tables. When I use the "Word Edit Cell" function in LabVIEW Report Generation Toolkit for Microsoft Office, the function need "table index", and I didn't find any function to get or set the table index in word document. How can I achieve my attention to write value to specified table cell using the "Word Edit Cell" function?
    Thanks for reply!
    YangAfreet

    Hi yangafreet
    You do not need to get the table index for the word edit cell.vi from anywhere. LabVIEW will automatically index all the tables in the document. See the attatched vi for an example.
    Rich
    Attachments:
    Table Edit.vi ‏23 KB

  • Error in labview report printing and editing

    Attached is the labview code, excel template and required output excel.
    I have made the excel template by merging certain cells and assigning values.
    Also have defined the names as tables so as to address it in labview report vi's.
    So kindly help me insert values into the template without changing the cell dimensions. (can we keep it fixed ?)
    Regards
    Grugh Mike
    Success is Everything !!
    Attachments:
    print page.vi ‏25 KB
    templatel1.xls ‏31 KB
    Needed outcome.xls ‏34 KB

    sorry template is attached below.
    Regards
    Grugh Mike
    Success is Everything !!
    Attachments:
    templatel1.xlt ‏31 KB

  • LabVIEW Report Generation Toolkit for Microsoft Office

    Hi!
    One question. I have bought the LabVIEW Report Generation Toolkit for Microsoft Office
    Version 1.0a and am trying to install it under Labview 7.1 but the installation stops with the error: "you need a Labview Version 6.0 runtime engine." Is there any possibility to install the toolkit anyway?
    Regards
    Stefan

    Hi
    You can try to update your Version 1.0 to Version 1.0.1. Then it should be working.
    Here ist the link for the free update:
    http://digital.ni.com/softlib.nsf/websearch/19003CF70BB8A57186256E5A00672E2A?opendocument
    if it not works you can try to install the runtime engine 6.0 on your system. her is the link:
    http://digital.ni.com/softlib.nsf/websearch/D5F11A64A905DB27862569EC005E31E2?opendocument&node=132070_US
    Regards
    Manuel

  • LabVIEW Report Generation Toolkit in the application does not work

    I have LabVIEW7.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1, which was updated after installed. I made a VI in LabVIEW7.1 enviroment using the Report Generation Toolkit and it works very well. After the VI was build an application.exe and installed even in the same PC, the Report Generation Toolkit didn't work. Excel that should pops-up does not do anything.
    the office i used is office xp. would you like to help me?
    thank you very much.
    Jing

    When you build the application, you have to include as "Dynamic vi" in Source file tab the vi:
    _Word Dynamic VIs.vi. from _wordsub.llb
    _Excel Dynamic vis.vi from -Excelsub.llb
    in the following library
    ...\National Instruments\LabVIEW 7.1\vi.lib\addons\_office\"
    Refer to the following discussion thread
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=50650000000800000053460000&ECategory=LabVIEW.LabVIEW+General

  • Difference between diadem and LabVIEW Report Generation Toolkit

    I want to expand LabVIEW's reporting capabilities.  Can someone tell me what the difference is between DIAdem and the LabVIEW Report Generation Toolkit for Microsoft Office.

    Hello Mr Bean,
    There are several major differences between the two solutions. I'll try and outline them as good as I can ...
    The biggest different is that LabVIEW and its toolkits are programming tools and DIAdem is a ready to run application.
    The LabVIEW Report Generation Toolkit basically provides an extensive library of VIs that allow you to connect LabVIEW to the MS Office library and create and edit reports in Word and Excel.
    DIAdem is a stand alone application that was designed to post-process data from various sources. The tools included in DIAdem are:
    1. NAVIGATOR: Allows you to import data from files (ASCII, binary, Excel, etc.) as well as DataBases (SQL/ODBC, Citadel, ASAM, etc.). The unique DataPlugin technology available within DIAdem allows you to import vitually and data file by creating a DataPlugin that describes the data format and gets linked to DIAdem. More information at: http://www.ni.com/diadem/dataplugins.htm
    2. VIEW: Graphical and Numerical data inspection tool. Use cursors to zoom and scroll through your data, edit your data graphically and numerically and compare different tests.
    3. ANALYSIS: DIAdem has a wide range of analysis functions, ranging from simple functions like integration and differentiation to FFTs, Order analysis and 3D data analysis.
    4. REPORT: The DIAdem REPORT tool allows you to create reusable report layouts that can contain multiple axis systems (2D, 3D and polar plots) as well as tables (2D and 3D) and variables. The REPORT tool generates templates that can be usedwith multiple data sets due to the inclusion of automatic (or manula if required) scaling as well as extensive use of variables for annotations. Finished reports can be exported to printers, graphics files, the Windows Clipboard, HTML pages and PDF files (PDF writing is build into DIAdem, no extra software required). Using Scripts, it is also possible to create Word, Excel or Powerpoint reports from DIAdem automatically.
    5. SCRIPT: The DIAdem scripting tools allows users to record macros or write scripts that automate complete sequences, for the import of data, via extensive analysis, to creating a publication ready report. Scripts can make reports "intelligent" by modifying the appearance of a report based on the data or calculation results that are going to be displayed in the report.
    I recommend you check out the following link for more information: http://www.ni.com/diadem/
    DIAdem is an extremly powerful tool for report generation. I am leaving to go on a business trip to Asia, but I would be more than happy to give you an Web presentation on DIAdem after I have returned. We could use your data and create a DIAdem report Script together online. My Email address is [email protected] and I will be back the week of Thanksgiving.
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How do I put data into a template using the Labview report generation toolkit for Microsoft Office?

    I am running Lookout 5.0 and have recently purchased the Labview Report Generation Toolkit for Microsoft Office to create reports from my Lookout logged data. Since I have never used Labview I am having my problems. I tried following the tutorials but they do not seem to be examples of what I want to do.
    I log rainfall totals (1 spreadsheet)in Lookout from 40 different sites in 5 minute increments. I copy these totals and paste them into another spreadsheet which sums them up to give me hourly totals and then paste those totals into a spreadsheet for distribution.
    In Labview I create a new report and use the distribution sheet as my template, but how do I complete
    the steps of loading the raw 5 minute data into labview and then paste it into the hourly total spreadsheet and then transfer those totals into the distribution template?
    I have been trying to figure this out for over a week, and I am getting nowhere.
    Any response would be appreciated.
    Thanks
    Jason P
    Jason Phillips

    Lookout saves the files in .csv form which can be opened in Excel. I did make some progress by using the "append table to report" vi which allowed me to put values into an array and then those values were entered into my template on my report vi.
    Where I am stuck now is I want to be able to put values into my template from a .csv file, not from an array I have to manually put numbers in.
    Once those values are in my template I want to pull summed values from the template and place them into a final excel file for printing.
    I have attached examples of the files I am working with to help you better understand what I am trying to do.
    I hope that makes sense.
    Jason Phillips
    Attachments:
    HourlyTotalsTemplate.xls ‏120 KB
    eb_rain_gauge_ss.csv ‏23 KB
    EastBankHourlyRainReport.xls ‏28 KB

  • National Instruments releases LabVIEW Report Generation Toolkit for Microsoft Office.

    The new LabVIEW Report Generation Toolkit for Microsoft Office is a library of flexible, easy-to-use tools for programmatically creating and editing Microsoft Word and Excel reports from LabVIEW. Whether you need to generate reports summarizing manufacturing test results or compile process statistics to improve your production yields, this toolkit speeds your development of customized, professional reports.
    To see examples of this toolkit or get more information please visit :
    http://www.ni.com/labview/report_gen_toolkit.htm

    It is a bit limiting though. I built my own set of VI's, a toolkit if you will, that does some of what this tookit does. But, I also wrote some functionality that isn't available in NI's kit, such as creating charts as separate worksheets and linking the charts to data on another worksheet. All in all, the toolkit is great, but you can't get as much out of it as you can using the ActiveX calls yourself.

  • Assistance with Printing to Zebra QL220 using the LabVIEW report VI

    I currently am trying to use the LabVIEW report VI to output a formatted set of strings to the above mentioned printer.
    The UMPC hardware that runs the developed application is bare bones XP box and doesn't' have MS office installed
    I use the LV new report set to a standard report and  successfully set orientation to portrait or Landscape, set margins and set report fonts and headers.. However  in sending the text strings to this label printer (labels are 45mm X 60mm) I find that that two issues arise.
    1. Printing out double labels. The pagination fails and prints a blank label after each print when text is output.  However if I disable all headers and body text (i.e blank label print). This pagination works fine.?
    2. The formatting of the information on the page reliably, I currently use inserted blank spaces, is there a better way?
    I thought, perhaps I should try using the ZLP programming language, but then not sure how to I send it to a USB printer? Has any one had any experience with this and these label printers ?  
    Thanks
    Greg Nicholls

    hi all
    i am C sharp programer
    and i have zebra QL 220 plus
    and roll type is 42X20mm
    and i have the zebra sdk
    and i create mobile application in C# smart device
    and i tring to connect to printer from my application by bluetooth
    in sdk i got this and use
    using System;
    using ZSDK_API.Comm;
    using System.Text;
    using System.Threading;
    // This example prints "This is a ZPL test." near the top of the label.
    private void SendZplOverBluetooth(String theBtMacAddress) {
    try {
    // Instantiate a connection for given Bluetooth(R) MAC Address.
    ZebraPrinterConnection thePrinterConn = new BluetoothPrinterConnection(theBtMacAddress);
    // Open the connection - physical connection is established here.
    thePrinterConn.Open();
    // Defines the ZPL data to be sent.
    String zplData = "^XA^FO20,20^A0N,25,25^FDThis is a ZPL test.^FS^XZ";
    // Send the data to the printer as a byte array.
    thePrinterConn.Write(Encoding.Default.GetBytes(zplData));
    // Make sure the data got to the printer before closing the connection
    Thread.Sleep(500);
    // Close the connection to release resources.
    thePrinterConn.Close();
    } catch (Exception e) {
    // Handle communications error here.
    Console.Write(e.StackTrace);
    // This example prints "This is a CPCL test." near the top of the label.
    private void SendCpclOverBluetooth(String theBtMacAddress) {
    try {
    // Instantiate a connection for given Bluetooth(R) MAC Address.
    ZebraPrinterConnection thePrinterConn = new BluetoothPrinterConnection(theBtMacAddress);
    // Open the connection - physical connection is established here.
    thePrinterConn.Open();
    // Defines the CPCL data to be sent.
    String cpclData = "! 0 200 200 210 1\r\n"
    + "TEXT 4 0 30 40 This is a CPCL test.\r\n"
    + "FORM\r\n"
    + "PRINT\r\n";
    // Send the data to the printer as a byte array.
    thePrinterConn.Write(Encoding.Default.GetBytes(cpclData));
    // Make sure the data got to the printer before closing the connection
    Thread.Sleep(500);
    // Close the connection to release resources.
    thePrinterConn.Close();
    } catch (Exception e) {
    // Handle communications error here.
    Console.Write(e.StackTrace);
     and once i use ZPL method it print 17 barcod always with 16 blank Patches (labels)
    and  when i use CPCL method it print 12 BarCode always with 11 blank Patches (labels)
    and i dont know why ?
    it must print 1 Patch (label)
    what i can do  and i dont think there is eny rong with my code
    all waht i want is how i can give Length and width and how much label print coz it is always print 17 or 12 what i can do ?

  • How to update data to excel in runtime with LabVIEW Report Generation Toolkit

    hi,All
         i am using LabVIEW Report Generation Toolkit,and a newer.i want to insert the data in excel for every loop.
         so at first,need to creat a excel file(xxx).and when every loop end,the test data can be insert into the file(xxx).when the test finished,the file will be saved.
         i have seen the examples in LabVIEW Report Generation Toolkit, all of them need to creat a new file.i need update the data in the same file.
         can you give me some advances for that?
         my labview's version is 8.5 and LabVIEW Report Generation Toolkit's version is 1.1.0.
         thanks a lot.

    Hi cat099,
    One question, why don't you store data of each loop, say in shift register and update all data in excel  at once when your test is finished.
    It will be easy. Or else, if you want to build same functionality as you mentioned, then you can build your own vi to write in excel. No need to use report generation toolkit.
    See attached example.
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.
    Attachments:
    write to excel.vi ‏21 KB

  • How to save Charts to a word document using LabVIEW Report Genereration toolkit?

    I just started using the LabVIEW Report Genereration toolkit, but I can't figure out how to save Waveform Charts (one dimensional data versus time, instead of Graphs) to a Word document. Can somebody give a suggestion? Thanks!

    Nina,
    In MS Word, you have 2 options when you select Insert Object:
    Microsoft Excel Chart
    Microsoft Graph 2000 Graph
    If you select Insert Picture, you can choose Chart. This is the same chart as when you select Microsoft Excel Chart.
    To insert this chart, you will use Word Insert Graph.vi. This VI calls Word_Insert_Chart.vi, that uses ADO object Graph.Chart and its properties and methods.
    From the Microsoft Help:
    Create a chart by using Microsoft Graph
    When you create a chart by using Microsoft Graph, a chart and its associated data are displayed in a table called a "datasheet."
    Zvezdana S.
    National Instruments

  • Making a PDF from LAbView Report

    Hi,
    How do can I make an PDF-file of my LabView report?
    I was thinking of using Adobe PDF writer and just printing the report a PDF-file.
    Do I have to do anything else that just install Adobe Writer or do I have to do some kind of configuration?
    Is it also possible to name the PDF-file the same as the measurementnumber that I give it?
    I currently work with LabView 7.1
    -Geni

    Hi Geni,
    As far as I'm aware all you have to do is select the Acrobat Writer as the default printer and then just print as you would normally have done to the physical printer. Doesn't that work for you?
    Here's another thread that talks about how to use Acrobat Writer to print a VI programmatically. Is that something you can use?
    Have fun!
    - Philip Courtois, Thinkbot Solutions

  • LabView database connectivity toolkit 1.0.1 compatibility with MS-ACCESS 2010 / Labview report generation toolkit for Office 1.1.3 compatibility with Office 2010

    In the very near future we will be forced to upgrade to Office 2010 Company wide and I am a little concerned with some of our older test platforms that have applications built in LabView 8.2.1.  These applications save data to MS-ACCESS 2000 databases using the LabView database connectivity toolkit 1.0.1.  Office 2003 is also loaded on these test platforms with all test reports generated using the LabView report generation toolkit for Office 1.1.3.
    I have not gotten my hands on a copy of Office 2010 yet to see if there will be any compatibility issues.  Does anyone have any experience in this area?

    The MS-Access part is fairly well isolated through the ADO interface LabVIEW uses. The only possible problems there IMHO are difficulties with possible Acess compatibilities itself such as an example, SQL statement you may have invoked directly through the ADO interface. Maybe you did use a depreciated command back then that has since been removed. As long as the only thing you do are simple INSERT and SELECT statements only, I would expect it to just keep working.
    The Report Generation interface is a different beast. Microsoft manages to change the Automation interface with every version of office in a way that strongly binding applications like LabVIEW break on. There is no good way around that except not changing those methods, but that is a cause that has been lost already. You will certainly have to verify the version dependant Report Generation API VIs to still work with Office 2010 and most likely you will have to make some changes to those VIs to make them work again with the modified ActiveX interface of Office 2010. Note, that I have no experience with porting report generation to Office 2010 but I have had some headaches from porting that between Office 97, 2000, 2003, and 2007.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LabVIEW Report Generation Toolkit for Microsoft Office 1.1.2

    Where is possible to buy LabVIEW Report Generation Toolkit for Microsoft Office v1.1.2?
    Thanks.
    Francisco

    You are right, the page does not say that but the local distributor says that I have to purchase an update to the latest version of LabView: about USD 1000. I can't believe that.  

  • 엑셀파일을 핸들링하기 위해서는 관련 툴킷(Microso​ft Office용 NI LabVIEW Report Generation Toolkit)이 필요한가요?

    안녕하십니까? 대전 이엘케이(주)의 박창규입니다.
    현재 Labview를 사용해서 엑셀데이터를 리딩 => 데이터 분석 및 요약, 그래프 삽입, 기타 => 원하는 template로 저장
    하는 프로그램을 작성하려고 하고 있습니다.
    이렇게 프로그램하기 위해서는 전용 툴킷(Microsoft Office용 NI LabVIEW Report Generation Toolkit)이 필요한 건가요?
    현재 30일 평가버전인 2011버전을 사용하고 있습니다.
    관련한 예제 나 설명자료등이 있으시면 도움도 함께 부탁 드립니다.
    감사합니다.
    박창규 드림.

Maybe you are looking for

  • CR XI & VS 2005

    Post Author: jason009 CA Forum: Exporting I want to export to PDF in VS 2005 using CRXI, I use a method as follows: private void Button1_Click(object sender, System.EventArgs e){ MemoryStream oStream; // using System.IO oStream = (MemoryStream) repor

  • Export from Mac for Windows Media Player - square pixel widescreen

    Hello: I'm working with a square pixel wide screen iPad animation video. I built comps in AE and am editing in Premiere. I'm having issues with playback in Windows Media Player. Keyframe interpolation and cross dissolves are causing glitches. My pixe

  • Faulting module name: AcroRd32.dll, version: 10.1.1.33, time stamp: 0x4e64f98b

    Hi, In a Win7 (32 bit) environment with IE8 and Acrobat Reader X (Version 10.1.1.33)  a number of our PC's and laptops get the following error messages on a fairly consistant basis: Faulting application name: iexplore.exe, version: 8.0.7601.17514, ti

  • My 6th pc/laptop and first MAC and I HATE IT.

    Safari is infested with ads, unwanted pop ups, unwanted tabs, every sentence in PDFs has words invaded by hyperlinks which when hovered over for even a nanosecond brings up another popup - even on my online bank statements.  It is awful and beyond a

  • HELP! iMac won't start up - launch_msg(): Socket is not connected

    I've got an older 1.8GHz Intel iMac that I run as a server. The hard drive is partitioned into two volumes - one with 10.6.8 on it, and the other with Server 10.6.8. It was running fine until I restarted yesterday - I got the apple logo and the spinn