Printing of waveforms

Hi all,
I'm trying to find a way to get a printout of a waveform. So far the only
thing I've found is the Print Panel.vi and that's not quite what I'm after.
Is there a way of getting a waveform to print out in some kind of scaleable
format (ie. raster) to a printer? It seems like such an obvious thing to be
able to do, but I can't find anything at the moment. I have LabVIEW 6i
(Professional Develope Edition).
Thanks in advance.
Regards,
Shane Broadbent
[email protected]

Hi Greg,
Thanks for the info. That should do the job, but I'm still a little
disappointed that LabVIEW can't do something as simple as printing a
waveform or graph without doing heaps of modifications to the graph (and
placing it in another VI). Do you know if there's a way of getting rid of
the header information which is printed at the top of the page? We're
planning on producing a product which we want to look professional, and that
header info tends to make it look pretty amateur.
Thanks again.
Regards,
Shane Broadbent
[email protected]
"Greg McKaskle" wrote in message
news:[email protected]..
> > Thanks for your response. Unfortunately using this method will still
print
> > the graph
out as a bitmap image. I'm after something which will provide
a
> > better result like you would achieve from printing a graph within Excel.
Do
> > you have any other suggestions?
> >
>
> This will print the graph using whatever printing style is selected in the
> Tools>>Options dialog. The printing page gives you access to three styles
> of printing -- bitmap, standard GDI, and postscript. The default is to
send
> the drawing commands, lines and such straight to the printer much like
vector
> graphic. Postscript often looks the nicest, but only works if you have a
> postscript printer, and bitmap printing actually increases the resolution
> of the bitmap to take advantage of the printer, rather than using screen
> resolution.
>
> Greg McKaskle

Similar Messages

  • Printing a waveform chart

    i am trying to print a waveform chart and it prints but it does not display the data on the printed copy of the graph?
    here is my VI
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Solved!
    Go to Solution.
    Attachments:
    test1.vi ‏269 KB

    The VI you are calling is going to print the front-panel, true.  I replaced the DAQ Assistant with a 'Simulate Signal' express VI and I see the graph update and when I print it shows data on the graph.
    See the attached PDF I printed to file with PrimoPDF.
    -Hook 'Em
    Attachments:
    Labview Document.pdf ‏1411 KB

  • Is it possible to print a waveform graph programmatically from within Labview 7.1.1 Base Edition?

    I would like to be able to print the results of a test from a Waveform Graph programmatically in a Labview 7.1.1 vi.

    Hi
    There is a way of doing it.
    1. Create a sub-vi that will act as your report page.
    2. You can then populate the Front Panel of this sub-vi with all the controls and decorations that you want to print. Make it look like a report page. The controls will need to attached to the connector pane so that you can pass the data into the sub-vi from you main vi for printing.
    3. In the sub-vi, Go to File->Properties->Print Options and make sure that you check Automatically Print Front Panel every time VI completes execution.
    4. Modify your Main VI so that it calls the  "Print Report" sub vi that you have just created on demand e.g. in response to clicking a button.
    5. Remember to include the Front Panel if you build this into an application using app builder. The builder will normally strip front panels from sub vi's.
    Hope that helps
    David
    Message Edited by David Crawford on 11-25-2005 02:44 AM
    Attachments:
    Print Options.jpg ‏30 KB

  • Printing a waveform graph

    Hi does anyone knows how to print just the wave form graph wit some sort of
    printVI?
    Thanks in advance,
    Best Regards,
    Thijs Boeree

    You can use the print.vi located in the Application Control Pallete. If you want JUST the graph then you create a VI with just the graph on its' front panel then put the print VI on the diagram with the current VI's name into it. Make sure you set entire panel to (F) this will limit the printing to only the visible area of the VI, preferably the graph...
    Michael Aivaliotis
    VI Shots LLC
    Attachments:
    Application_Control_Pallette.bmp ‏50 KB

  • Print front panel

    I have been going through messages for a while but just can't seem to find exactly what I'm looking for. I need to print a waveform chart that has two plots that update at about 10Hz. Simple enough, right? Problem is that the report vi's have no way I can see to easily enlarge the image. I tried putting a larger chart in a sub vi that prints after executing but the chart only get part of the data when I run it. Then I tried the invoke get image method but can't find an indicator for the image data. Is there a way to print an enlarged waveform chart image? It would be even better if I can just print a front panel of a subvi with the same data on the waveform chart that appears on my top-level VI.
    PaulG.
    "I enjoy talking to you. Your mind appeals to me. It resembles my own mind except that you happen to be insane." -- George Orwell

    What I have done in these situations is to have a graphs that is sized to printout the size that I want. I then update the graph from the program data, grab an image of the graph using the Get Image method, and save the image as a jpeg file. I can then either printhout this file or include it in a standard report.
    OR you can use Draw Flattened Pixmap.vi to turn it into a form that will go into a picture indicator
    OR you can create a VI with the graph on its front panel that is set to print itself when it finishes executing - or which you print programatically
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How do I automatically print a wavechart that is saved as a JPEG with additional text being saved in the JPEG as well

    I'm trying to automatically print a waveform chart programically with out using a sub VI. From using Method 2 on this post http://digital.ni.com/public.nsf/allkb/981c98819dbb89fe862569610046cfb8 I have been able to get the chart to save. However I haven't been able to get it to print automatically. I also am wondering if it is possible to have addition information being save in the JPEG, for example just some text to explain the chart a little bit. Lastly I am wondering if it possible to change the waveform chart background from black to white for the JPEG. I've attached a screen shot of my code below and I understand I'll have to add more but I'm unsure of how to do what I am looking for.
    I am fairly new to Labview and am still learning but any help would be appreciated. Thank you.
    Attachments:
    Capture.PNG ‏9 KB

    Hi Pistolaa,
    I found a couple examples about printing the front panel, take a look to them:
    https://decibel.ni.com/content/docs/DOC-13694
    https://decibel.ni.com/content/docs/DOC-3741
    Best,
    Carmen C.

  • How can i print out the waveform chart?

      hello everybody,
    how can i print out the "waveform chart". can i do it just push the button. ( example; stop button is stop the program etc..)
    i checked the NI examples but i can't understand. i'm new to the Labview.
    pls help me.
    i added the my program
    look forward your reply
    regards from turkey...
    Message Edited by hknmkt on 05-29-2008 04:15 AM
    Attachments:
    29.05.2008_11.vi ‏37 KB

        hi jim,
    i tried the program but it's not running. When i run the program, it's print out without run the program
    i added the printed file.
    look forward your reply
    hakan
    Attachments:
    error8.JPG ‏8 KB

  • Print html report with waveform

    I'm trying to make a report on my system using print from the File menu, and then saving the report as a html document. However, I don't seem to get the descriptions for waveforms in the report.
    I've tried on both WIN-NT and WIN-2000 machines, but still no description.
    Would also want to know if it is possible not to include descriptions of parts of clusters (such as waveforms or error clusters), but instead just include the description of the cluster itself.

    > Unfortunately, what you see in the Print window is all the options
    > available. You can print description for only the icon, for all
    > controls, or for connected controls. You cannot select to print
    > description of only few controls. However, I tested this and was able
    > to print description for a waveform chart.
    > You can suggest this additional feature if you go to ni.com, click on
    > "Contact NI" in the top right corner, and then select "feedback" under
    > Product Feedback.
    In the meantime, you can use the report generation VIs to make a custom
    report. Use a property node to read the description and add it wherever
    you like.
    Greg McKaskle

  • How to take the print out of the entire data from the waveform chart

    i am using cont acq to spreadsheet file.vi to acquire data from a number of channels. this vi also plots the acquired data on the waveform chart. i want to take the print out of the entire data. how can i do it ?
    also how can i take print out of the data between given interval??
    please reply me
    thank you

    There are a number of different ways of achieving your goal. Depending on which version of LabVIEW you have and which development environment, the Report Generation Toolkit is a very powerful tool. Attached is an example that prints the acquired data without the use of additional toolkits.
    Jonathan Hildyard
    Applications Engineer
    National Instruments
    Attachments:
    DAQ_with_Print.llb ‏115 KB

  • Waveform image not visible in region-suddenly.

    Last night I was recording some guitar parts and although I could see the image of the waveform being drawn as the playhead moved, when I finished, the regions displayed only a single line as if nothing had been recorded. The audio plays back fine and the wave editor displays the image but not the regions in the arrange page. This makes comping and other tasks very hard indeed.
    I have never had this happen in many years of using Logic and I cannot find any reason.
    Tracks I recorded the day before in the same song are fine but out of the blue this has just started happening.
    Is this a bug in 9.1.2?

    If the image does not appear in print preview then there is some issue in its upload or display in script.
    You should check these .
    Also, if possible take the printout and check.
    Hope this helps you.

  • How to print a graph in LV7.0

    I have a waveform graph,how to print it?
    thanks a lot!

    there are a couple of ways to do this ... if you want the entire panel you can do it manually by ctrl-p (windows at least)... you can also use the VI Server method get image along with the Open Vi Reference.vi and Print VI to printer method to print the whole panel programatically...
    you can also use Append Control Image to report.VI in conjunction with the print report.vi to print your control...
    Dan

  • Premiere timeline printing (for animation x-sheet use)

    I have used a very old version of adobe premiere (premiere 5 windows) to print timeline pdfs of pix icon and waveform of animatic quicktimes. I would add anotations to these in acrobat for specific animation timing direction ( as replacement for traditional animation exposure sheets). My problem is that adobe long ago dropped their print timeline feature in more recent versions and I can't get the old version of premiere to even launch under any recent OS....
    I'm hoping there is a way to do the same thing with new Premiere Pro CC ....(just print premiere timeline of pix icons with audio waveform).. or a third party export for animation exposure sheet use... Any Suggestions?
    Thanks,
    Woody

    Woody,
    Thinking about your situation, I wonder if something like this would be useful (what Joe suggested, but with variations):
    I just expanded a blank Narration Audio Track, to about 6x the width of the displayed Video Track, did a screen-cap, brought it into Photoshop, and Selected that area of the Narration Track, applied a Hue/Saturation Adjustment Layer to it, to give room for annotations, etc.. As I only have PrPro 2.0 on this old laptop, things will look a bit different, but with the Adjustment Layer, it will not matter if the GUI is a darker gray.
    One can always add a blank Track, where desired, and expand it to suit. One could also create a white Filled Shape, w/ grid (see below), and just have that ready to be Pasted into the screen-cap of the Timeline. One could probably create an Action, or a Script, to handle much of that automatically, or at least semi-automatically.
    It is missing the grid, that your image shows, but one could easily create that with Paths and a thin Stroke on a Layer.
    There IS a little work to be done, but not THAT much.
    Just thinking of a workaround.
    Good luck,
    Hunt

  • Why is it that when I saved the waveform of my acquired signal into a wav file, the output waveform of my saved file turn out to be different from my input signal?

    Hi all,
    I am currently doing a heart sound analyzer project. I acquired signal using NI USB 6008 continuosly. My program is able to saved the acquired signal into a wave file. But when I browse open the saved file, the output waveform did not look the same as the acquired input signal and also the sound of the heartbeat captured cannot be heard from the loud speaker though I have saved the file as a wav file. I am not sure if the method i use to save the acquired data as a wav file is correct.  I have attach the print screen of the differences of the output I have notice and the program I have created. I would be glad if anyone here is able to troubleshoot my program.
    Thanks. 
    Attachments:
    heart sound analyzer.zip ‏257 KB

    Hi Brett Burger,
    Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
    I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button.  I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
    Many thanks.
    Regards,
    min
    Attachments:
    Heart Sounds1.vi ‏971 KB

  • NI PCI-6542: Creating Dynamic Waveforms Using the HSDIO Library

    Hello!
    I am having problems understanding how to create waveforms using the HSDIO library to run on my PCI-6542 board. I need to create a program that turns one channel on for 12.5 microseconds, waits a set amount of time(i.e. 100 samples),  and turns another channel on for 12.5 microseconds.
    This program is to be used in a phased array ultrasonic system.
    Below is the Dynamic Generation example program that turns channels 0 - 2 on for 1024 samples.
    * Example Program:
    * DynamicGeneration.c
    * Description:
    * Generates a simple pattern on specified channels.
    * Pin Connection Information:
    * None.
    /* Includes */
    #include <stdio.h>
    #include <limits.h>
    #include "niHSDIO.h"
    /* Defines */
    #define WAVEFORM_SIZE 1024
    int main(void)
    ViRsrc deviceID = "Dev1";
    ViConstString channelList = "0-2";
    ViReal64 sampleClockRate = 50.0e6;
    ViInt32 dataWidth = 4;
    ViUInt32 waveformDataU32[WAVEFORM_SIZE];
    ViConstString waveformName = "myWfm";
    ViInt32 timeout = 10000; /* milliseconds */
    ViSession vi = VI_NULL;
    ViStatus error = VI_SUCCESS;
    ViChar errDesc[1024];
    ViInt32 i;
    /* Initialize generation session */
    checkErr(niHSDIO_InitGenerationSession(
    deviceID, VI_FALSE, VI_FALSE, VI_NULL, &vi));
    /* Assign channels for dynamic generation */
    checkErr(niHSDIO_AssignDynamicChannels (vi, channelList));
    /* Configure sample clock parameters */
    checkErr(niHSDIO_ConfigureSampleClock(
    vi, NIHSDIO_VAL_ON_BOARD_CLOCK_STR, sampleClockRate));
    /* Query the Data Width Attribute */
    checkErr(niHSDIO_GetAttributeViInt32(
    vi, VI_NULL, NIHSDIO_ATTR_DATA_WIDTH, &dataWidth));
    /* Populate waveform with ramp data */
    for (i = 0; i < WAVEFORM_SIZE; i++)
    waveformDataU32[i] = i;
    checkErr(niHSDIO_WriteNamedWaveformU32(
    vi, waveformName, WAVEFORM_SIZE, waveformDataU32));
    /* Initiate generation */
    checkErr(niHSDIO_Initiate(vi));
    /* Wait for generation to complete */
    checkErr(niHSDIO_WaitUntilDone(vi, timeout));
    Error:
    if (error == VI_SUCCESS)
    /* print result */
    printf("Done without error.\n");
    else
    /* Get error description and print */
    niHSDIO_GetError(vi, &error, sizeof(errDesc)/sizeof(ViChar), errDesc);
    printf("\nError encountered\n===================\n%s\n", errDesc);
    /* close the session */
    niHSDIO_close(vi);
    /* prompt to exit (for pop-up console windows) */
    printf("\nHit <Enter> to continue...\n");
    getchar();
    return error;
    Questions:
    How can I change the values in waveformDataU32 to create off and on states(instead of just always on)?
    How do I select the channel that waveformDataU32 is applied to?
    Thanks!
    Zachary Geier
    Solved!
    Go to Solution.

    The waveformDataU32 array is an array of 32 bit integers. Each bit corresponds to a line on the device.  So on the first clock cycle, this program outputs:
    0000 0000 0000 0000 0000 0000 0000 0000
    Then it outputs the following, changing on each clock pulse:
    0000 0000 0000 0000 0000 0000 0000 0001,
    0000 0000 0000 0000 0000 0000 0000 0010,
    and so on all the way up to 1023:
    0000 0000 0000 0000 00000011 1111 1111
    In the example you include at the bottom, you are setting the least significant bit (LSB) to zero and one, effectively only changing one line on the output. To change all of the lines, you should use 4,294,967,295 or 0xFFFFFFFF instead:
    for (i = 0; i < WAVEFORM_SIZE; i++){
    if(i < 200){ //If sample number is less than 200
    waveformDataU32[i] = 0; //Turn off channels 0-2
    else{
    waveformDataU32[i] = 4,294,967,295; //Else turn on all channels for 800 samples
    -Jim B
    Applications Engineer, National Instruments
    CLD, CTD

  • How to not lock up LabVIEW exe by printing?

    I've seen various forms of this question; but they are all from 2002 or earlier. I am using LV 6.1 on Windows 2000 (and XP). My test station is set up using Windows 2000, so that is what I am currently troubleshooting.
    I have a program that needs to run continuously updating a waveform graph on the screen; meanwhile, after recieving a digital signal, I need to do some statistical calculations and print out two pages of a report. The problem is that once I start running the routine starts printing out the reports (they are just VIs that print the front panel when complete) my waveform graph, and the rest of the GUI stops executing for about a minute and a half.
    The printer I am printing to is connected via windows networking (it is a shared printer from a server, also running Windows 2000). I've looked at the different printing options (standard, postscript, and bitmap) but none of them really help any in terms of freeing up the cpu for my program to continue updating its front panel. The most 'freeze-time' I can accomodate in the program is 10 seconds; as the user may need to make additional time-critical (or, at least things that can't wait a minute and a half) requests on the system at that time.
    Are there any ideas as to how I can improve the speed of this process? I know that it lies within the printing, because if I 'comment out' the printing portion only; things run just fine. I've tried building a separate executable in LV that just handles the printing, but this still does not solve my problem.

    I had this problem before LabVIEW 5.1, before LabVIEW became multithread.
    My solution was: embed postscript code in LabVIEW, bypass Windows print spooller, send postscript code directly to a local postscript printer on LPT1.
    The reason it works is because that instead of sending a big image I sent postscript code which can be splitted to a few lines at a time.  That minimize the  lockup time to < 9 ms.
    With LabVIEW 6.1, you shouldn't have this problem.  You might want check the multithread settings.  See attached image.
    George Zou
    http://gtoolbox.yeah.net
    George Zou
    http://webspace.webring.com/people/og/gtoolbox
    Attachments:
    print.png ‏10 KB

Maybe you are looking for

  • Add 5 minutes to a time?

    Let's say I have a time like 9:45am in one cell and I want to take that time and add a period of time like 5 minutes from another cell to it so that in the resulting cell I get a later time like 9:50 am. is that even possible? I'm trying to make a sc

  • Problem with restoring my iTunes backup

    I recently restored my iTunes Library from an External Hard Disc Drive,and I noticed that a large portion of my music was not being restored to iTunes. when I went to check the state of the files, it stated that special permission was needed to acces

  • Custome Partner Function from SD to CO-PA

    Hi, I have created 3 custom partner functions and have assinged in customer master. I need these 3 custom partner function to be transfered to CO-PA during billing. Is there a easy way around to achieve this, coz there are some SAP notes which are so

  • My chosen Typekit font won't load in Edge Animate CC 2014

    I've tried to add a font via the Text area in Properties, and via Fonts in the Library. I've also tried creating a new kit within Typekit, and using just the domain 127.0.0.1 I must be doing something incorrect. Nothing is working and I'm not finding

  • FRM-40735 when Button Pressed Trigger Raised Unhandled Exception ORA-03113

    Hi all, We are using oracle 9.2.0.4 on SUSE 10.When user try to insert record second time they are getting the error FRM-40735 when Button Pressed Trigger Raised Unhandled Exception ORA-03113And we are also getting ORa-0600 [12333]-[253]-[1]-[253] Pl