Problem printing 3D graph surface plots

I have a LabVIEW vi that I have written that uses 3D graph surface plots.  The front panel and 3D plots look great on the monitor.  However, when I use the file > print option to print a snap shot of the front panel the 3D surface plot graphs are missing.  All of the other controls and indicators print correctly, but the surface plots are missing completely.  Any ideas on what may be the cause?

Hi JM,
Do you have Report Generation Toolkit? If so, this looks like it may be related: http://digital.ni.com/public.nsf/allkb/981C98819DBB89FE862569610046CFB8?OpenDocument.
Let me know if this helps.
Thanks,
Dan Richards
Certified LabVIEW Developer

Similar Messages

  • Problems with XY Graph "forgetting" plot properties

    I am having trouble with an XT Graph in my loop.
    The graph has 10 plots which at any time can have anything from 0 to ~1000 points, often some plots will have significantly less ploints than others. There is a user selectable option to display all points or just the most recent set.
    My problem is that I want the graph to reflect the input data by plotting a single point at the time of an update, so I have a string of points rather than a line.
    When I right click the graph and go into properties, I change the point style to solid circle and turn off line interpolation. I then click save these values as default, and save the vi.
    However, once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on.
    Has anyone had this problem before? Ho did you fix it?
    I know it can be fixed, as I had this probelm a few months ago on a similar vi and after weeks of struggle I solved it, however I just cannot remember how I did it.
    Thank you for any help, at the moment I can't post any code. Note that the data the graph shows is all perfectly fine, just the plot properties are being forgotten.
    Solved!
    Go to Solution.

    HI DarraghCorrigan,
    In relation to the problem expressed in your initial post:
    "once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on"
    This is due to a bug in the LabVIEW software whereby any changes that are made to the plot properties (e.g. to change the colour of a plot) will not be retained, except in plot 0 which is unaffected. Our R&D department are currently investigating this problem so that it can be fixed in future version of the software. The recommended workaround for this problem is to pragmatically set the plot settings at the beginning of the code using property nodes.
    As I understand it, this is not the main problem that you are experiencing. If you set up the properties for a plot (using some of the described property nodes) which is subsequently removed or rewritten on an XY Graph, my understanding is that there is no way that LabVIEW can remember and retain these properties.
    As you rightly suggested, one way of conveniently overcoming this problem would be to set default plot properties so that when you remove/rewrite a plot and then add it again, it will always default to those properties. Unfortunately, it is not currently possible to do this though it has been recommended as a product suggestion so it is a feature that is under consideration for implementation in future releases of LabVIEW.
    I think the issue you need to be addressing is the fact that you are at some point resetting the graph by sending an empty array to it such that all of your properties are lost. If you can find and remove this section in your code, you should be able to overcome your problem.
    I hope this helps.
    Best Regards,
    Christian Hartshorne
    NIUK

  • 3D Surface Plot Cursor Error

    I can't seem to get the cursor(s) to function on the 3D Surface Plot. I right-click on the front panel plot, go to properties, and select cursor - but then I get an error and LabVIEW crashes. Has anybody had any sucess with this? I've tried it in both LabVIEW 6.1 and 7.1

    Hi,
    I have used the cursors in the 3D graph a couple of times with no problem. There are a couple of advices that I can give. Place the 3D graph strait form the pallet, do not create an ActiveX container and add the 3D graph. Open one of the 3D examples and see if you can add the cursors to a graph that was previously created. You can also try to unregister and reregister the ActiveX control for the 3D graph to make sure that the OS registers the control correctly. You can find the ActiveX control in the system32 folder (cw3dGraph.ocx) and here is a document on how to register the control.
    I'm also including here an example that uses cur
    sors, see if you can open it and run it. The second attachment is a style file for that 3D graph that includes a cursor. You can load this file by right-clicking on the graph and select "Import Style..". Hopefully you'll be able to load the style and start to work from there.
    I hope this helps.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Torus_with_3D_Cursor.vi ‏312 KB
    3DGraphStyle.cwx ‏3 KB

  • Problem printing CWGraph3D

    I am trying to print vi front panel containing CWGraph3D control but I only get pop-up error message
    "An error occured. The control was unloaded". The vi crashes, print comes out with the container containing no graph only "Control could not be loaded" text.
    Is that common to all ActiveX containers?
    I use Print Panel to Printer method

    No, this is not common. There may be a problem with the control. Can you print the panel with File>>Print?
    Instead of dropping the activeX container and inserting the control, use 3D Parametric Graph from the Graph palette. Delete the 3D Parametric Surface.vi, that gets created on the block diagram when this object is used, and leave just the control reference. I tried this in LabVIEW 6.1 and didn't have problems printing.
    Zvezdana S.

  • CR XI - Problem Setting Line Graph colors in the Chart Expert

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I created a Crystal Report (CR) of an existing Trend Analysis report. I have created a VB6 application that calls the .RPT file I created for the report in CR.  The VB6 app sets the report recordset via code that corrsponds to the .TTX file, and the parameters .  The report contains a Line graph that plots five pieces of data.  The report & graph work good.  CR determines the color of each line on the graph.  However, I need to set the color for each line to correspond to the colors used on our existing reports.  The users are accustom to a certain color representing a certain set of data on the existing reports.   I have tried everything I can think of and from all documentation I can find, and nothing changes the line colors.   I have tried all of the following:
    1.) From the Chart Expert, Option tab, I click the Format button next to Color and setup conditional color settings per each piece of data.   However, when I run the report these conditional color settings are not reflected on the CR graph.     I am using formula fields (based off database fields in the recordset) to produce the report.  However, I only see the database fields to use in the conditional color formatting screen and not the formula fields.    I thought this would possibly be the cause why the colors wonu2019t change on the CR, but I canu2019t find a way to make the formula fields show up in the list.
    2.)Also, I tried right clicking the individual lines of the graph and change the selected item color, but this didnu2019t change the color either.  I do this in Design mode and Preview mode and neither one changes the color of the lines on the graph.
    3.)I have also looked into the CR object model to see if I can change the line colors of the graph via code and it doesn't look like I am given this flexibility.
    Do you know what I am doing wrong here?   I just want to be able to set the color of each line on the CR graph to the color I want instead of using the default colors.
    Thanks,Steve

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I got the problem fixed w/ the line graph not making the data lines the same color on the report as on the frmPlot graph.   Compare the two screen shots below.   The problem was as follows:  When I created the graph (in the Chart Expert) the field u201CReadingDateu201D was not one of the Report Fields, and all the other fields were Report Fields (Reading, LowAlarm, UpperAlarm, LowerLimit, & UpperLimit). See the 3rd screen shot below.  ReadingDate does show up as a Report Field now but it wasnu2019t at first.   Originally, this field was only available in the Chart Expert as a recordset field.  When I changed this field to be a Report Field, the graph then allowed me to change the data series line colors.   This was not obvious at all.   From the beginning when I setup the graph and passed in the recordset from VB it graphed all of the data series fine.   The colors that the Chart Expert chose for each line just didnu2019t match what was on the frmPlot graph.   Anyway, it is working now.     I can at least say I learned (somethingu2019s to-do and somethingu2019s not to-do) a good bit about Crystal Reports in the process.
    Thanks

  • Maximum matrix size for surface plot?

    Morning,
    I've streamed data from an experiment to TDMS, and would like to display it in DIAdem. I have M channels of N data points and would like to display them in a surface plot.
    Usually, I'd expect to do the following:
    - Build a X axis (Generate Numeric Channel - N points at dX interval)
    - Build a Y axis (Generate Numeric Channel - M points at dY interval)
    - Build a Z matrix (Convert Matrix from X axis, Y axis and the M channels of N data points)
    I can then plot the X Y Z triplets to a surface plot.
    Alternatively, I can build the X and Y arrays and plot X Y Z in matrix mode. This has the added benefit of not forcing interpolation, which *always* crashes
    Now the kicker. For my dataset, M = 192, N = 290 000 and I'm unable to plot more than the first 20% of the data in X. I suspect that Diadem's limited to displaying 2^16 in surface plots, but no error is returned. Does anyone know if this is the case?
    I can decimate my data to fit the limit, but it's never nice to have to throw away data!
    (For clarification, the data is a raster scan of a sensor over a surface. I could drop the sampling rate and/or increase the speed over the surface, but that's a secondary concern)
    CLD

    Actually, it's the creation of an intensity plot that I'm more interested in, for two reasons. I can split my data into smaller segments and then compare measured data against my CAD model, but it's also handy having the global intensity plot available for human overview. Amusingly, almost any way I try to split the data besides decimating means that the split between datasets will be in some region of interest, which makes it awkward for non programmatic review  Meanwhile, the problem with decimation is that I have four channels of data for each of those slices: channels 1 and 2 are analogue signals and averaged to give one plot, channel three is another analogue voltage that is plotted in another, but channel four is a digital waveform with some pretty short pulse widths. Decimate too much and you'll barely see any meaningful data when plotted on an intensity plot for this.
    My instinct before starting was that DIAdem would handle the large dataset better than LabVIEW, which it did if I only wanted to plot YT data. However, after changing tack and heading back to LabVIEW I found that it was able to churn through things a bit better.
    I'm happy to send an email to describe what I'm doing in a bit more detail, as well as provide some of the resulting plots, as it's a sensitive project. Understandably, even if I could upload the data for someone else to work on, I'm not sure how much use 1.7 Gb of TDMS is to anyone else!
    CLD

  • 3D surface plot export _ missing scale on the projection​s

     Hi all,
    I am using 3D surface plot subvi in LabView 2010 SP1. After plotting the data, I can export the images (.bmp, mata file etc.). While exporting the projections of the images, I am not able to get the axis scales on them, though when I export the isometric view, I do have all the scales in the exported image.
    Any clues.
    Cheers,
    Deepak Arora
    LAB View 2010 SP1

    Hi Daniel,
    I am using surface plot helper to plot a 3D data set. On the front panel indicator of this, there is an option to export the image files in various formats, once you right click on the graph. I have attached two of the exported files. One is an isometric view and another one is the X-Y projection obtained by using the projection palette attached to the 3D surface plot. As you notice, the scale bars are missing from the projection.
    Thanks,
    Deepak
    LAB View 2010 SP1
    Attachments:
    20110830-PS-r1-FFTAmp.jpg ‏66 KB
    20110830-PS-r1-FFTAmp2.jpg ‏50 KB

  • Legend for a 3D Surface Plot

    How can I create a legend for a 3D surface plot? I'm doing a xy-projection and the view direction is directly towards this plane. The plot style is a surface contour plot. I want to display next to the plot the legend in a separate bar where the different colours with each value are displayed. The value for each contour line shall be displayed in the legend.
    Patrick

    OK,
    I remember that thread now. That was the one were you did not want to use interpolate colors and I did. Well I still  like to interpolate colors but that presents another challenge when trying to produce a proper color ramp. Without resorting to using the picture control
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
    I decided to play with some of the built in objects.
    All of the round objects like knobs and guages include a color ramp. This gave me a ramp but is not quite up to what you get with an intensity graph.
    Since I could not get a ramp on any of the straight indicators like sliders etc, I hid most of an intensity graph and just use the Z-scale. It turns out that the same data structure can be used in the intesity graph as the guage.
    Can anyone think of other ays of producing a proper color scale when intepolation is turned on?
    Ben
    Message Edited by Ben on 12-24-2005 08:03 AM
    Message Edited by Ben on 12-24-2005 08:03 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Scale.vi ‏81 KB
    Scale.JPG ‏111 KB

  • Need program to print from microsoft surface for 4680c printer

    need to print from microsoft surface using 4680 c printer. when i try to load driver on surface get message printer is not compatible with surface computer.

    Hi,
    The drivers for Windows RT are already included within the OS, there is no need to install any software to use your printer.
    Please follow the steps below to install the printer on Windows RT, as well you may find the steps to use the device on your tablet:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03460828&cc=us&dlc=en&lc=en&os=4137&product=373...
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Problem printing CFChart data

    I'm having a problem printing a page with a graph generated
    by CFChart. If I render the graph as a jpg or png and attempt to
    print it using normal browser/javascript functionality
    (self.print), only an image placeholder is printed containing the
    message "Image Expired. Please refresh the page to view the
    image.". Interestingly, however, rendering the graph as a swf
    prints perfectly. The best theory I've been able to come up with is
    that if it's an image, CF generates the graph, and then deletes the
    phyical file as soon as the browser has rendered it and if it's a
    swf, it either does things differently or your browser just caches
    swf files differently.
    If I've missed something obvious somewhere along the line,
    please feel free to point out my shortcomings. If not, any advice
    would be appreciated anyway.

    What is the value of your environment variable 'NLS_LANG'?

  • Print xy graph in landscape

    Hello,
    I'm trying to print an xy graph to a printer in landscape mode with labview 6.0.2.
    what i did is:
    1) created vi containg the xy graph that in his VI property (printing Options) i checed the"Automatically Print Panel Evry Time VI Completes Exexution"
    2) when i want to print the graph i send data to it, open his front panel and then close it.
    3) changed in "printer and fax" the printer proparty to landscape
    4) in the menu of the vi graph in "print page" i change also to landscape.
    what i got is a cramped graph but not in landscape but in portrite.
    please help me to print in landscape.
    Thanks
    Barak.

    Attached is a zip archive containing some vis showing how I print things. You'll notice that the VI that does the printing has two inputs: the data to be displayed and a reference to the graph that is going to be printed. The reference allows you to modify plot parameters on the fly. For example, change the names of one of the plots in the legend and the name will also change on the printout.
    This technique allows you to print a front panel without going to the trouble of having to open the subvis front panel, print it and then close it again.
    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
    Attachments:
    print_demo.zip ‏52 KB

  • Problem Printing to Large Format Printers From SGD

    I am having a problem printing to large format printers when using the PDF printing option for SGD. The SDG Universal PDF Viewer recognizes the print format that I specify but on the client device side the pdf that is produced is always Letter size. If a larger format is speciied the client side pdf displays a small portion of it - almost as if it were clipped at the Letter size. Has anyone experienced this. Is it an SGD problem per se or is it an issue with the Ghostscript configuration and if so is ther a way I can change the config?
    I am running 4.6.2 in an RHEL5 environment. The application server I am primarily working with is Windows Server 2008. The printers I have tried to print larger formats to are HP CLJ 2800 PS (Tabloid size), HP Designjet Z6100 (E size), and HP DesignJet 4020ps(E size). In all cases the plot appears to have been clipped into a Letter size format on the client device side.
    Thanks,
    Edited by: Odog314 on Jul 12, 2012 3:15 PM

    You may have encountered a limitation with the GARO driver, especially if it is connected to the USB port of the Express. We have an iPF8100 but it is connected directly to our network via Ethernet so I've never tested the printer via USB. But if the driver is anything like the consumer inkjet drivers, there is often issues with the driver determining the printer model on the end of the USB and this stops the printer queue creation.
    Have you tried connecting the printer via Ethernet to the Express and then seeing if you can add the printer queue? You will have to set an IP address in the machine if DHCP is not enabled.
    PaHu

  • Download print driver to surface rt tablet

    Unable to download HP1102W printer driver to surface rt tablet.  Keeps telling me to go to app store.  Downloaded HP app, but stuck, can't get any further.

    Hi,
    Not all printers support Windows 8/8.1 RT. Please use the following solution (the Surface should detect the printer).
        http://answers.microsoft.com/en-us/windows/forum/windows_rt-hardware/resolution-to-fix-hp-laserjet-p...
    You may want to post more questions on that site if you wish.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • 3D surface plot

    Hi,
    I have a set of 3 vectors X, Y and Z, and I plotted them in a surface plot. There is a minimum in the surface plot, and i know this minimum, i just take the minimum of the Z-values. I would like to mark this point on the surface plot and also mark the coordinates with lines of this point. Also the lower regions of the plot are in black, because of the color spectrum, i'd like to change that aswell, so smurking up the plot a bit . I attached the vi and the data set. Also, could there be a better way to make a surface plot? If you put the z-range from 0 to 1000, you can see the minimum, but it's not very nice, not continuous.
    Thanks,
    KF_
    Attachments:
    plot.vi ‏329 KB
    test.txt ‏397 KB

    I posted a semi-worse-case 3d example in this thread. This is a preview of the code I used...
    Starting at post #7 in that thread, you will find a tutorial that discusses how to work with the 3d graph.
    Ben
    Message Edited by Ben on 11-16-2009 08:29 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • HP Photosmart C7280 All-in-one problem printing. Ink System Failure has failed unable to copy--

    I'm having a problem printing on my HP Photosmart C7280 All-In-One. The following message is what came up on the printer screen: Ink System Failure has failed unable to copy, receive faxes or print. Refer to printer documentation Error O.cl9a0007.
    Does anyone have any suggestions?
    This question was solved.
    View Solution.

    Hey Spider! First off welcome to the forum.
    I would recommend removing all the ink cartridges, unplugging the USB cable from the computer that connects to the printer, and then shutting the printer off completely by removing the power cord. Then restart your computer. Turn the printer back on but leave it disconnected from the computer. After it has finished its power on cycle go ahead and insert the ink cartridges back into the printer and be sure to seat them properly.
    After you have all the cartridges back in the printer properly then connect it to the computer. See if this resolves the issue. If not post back with any findings.
    Thanks,
    SeanS
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

Maybe you are looking for