Trouble using a mask on a waveform chart

I have created a waveform chart that plots the
temperature readings from my thermocouple.  It is making continuous
readings, and I can take the data from the text file I created and
graph it in excel and everything is fine.  However, my temperature
readings have to follow a standard temperature vs. time curve with a
limit of 10% error.  Since I need to me able to compare the live data to the standard curve, I created a mask by inputing the data points for
the upper and lower limits and hooked it up, and now my chart will not
work.  When I checked the data on the text file it only makes 3
readings and then starts over (i.e. gives a reading at 0 sec, 1 sec,
2sec, then starts over).  I have tried using N readings instead of
continuous and nothing seems to work.  Can anyone help?
Thanks!

Carla,
Attached is the program I made.  I am using Labview 8.2 with a NI cDAQ-9172 chassis, and a NI 9211 input module.  By inputing data points, I meant that I took the required data from the temperature vs. time curve I have to follow and placed them in the table that the masking.vi allows and set dx=1. 
Basically, what I am expecting to happen is that I will have a chart with streaming data of what the current temperature inside the oven is, along with the upper and lower limits of what the temperature can actually be.  This way, I will know whether I need to heat the oven up more or cool it off (the testing will last 4 hours).
I attached an excel file of the actual curve to give you a better idea of what I am talking about.
Thank you for the help.
Attachments:
Tempcurve1.xlsx ‏16 KB
Burner(testing)1.vi ‏393 KB

Similar Messages

  • Trouble using mask layer?

    I have trouble using the mask layer.  It doesn't seem to be blocking out extra grid marks. I am doing something wrong?  Thanks
    SIDENOTE:
    The grid was imported from illustator into flash.  It causing flash cs5 to be extremely buggy.  The layer I import itself relabel itself, it either "1" or "2"  The grid layer when I place it on lock, doesn't lock!   The grid will also cut and paste itself onto a new layer, automatically sometimes.

    It would easier if you use the brush tool to paint on the layer mask.
    Paint with black to reveal the color and white to hide the color of the layer below.
    You can use the X key to switch between black and white as the foreground color in the tool box.

  • Using a mask in speedgrade

    I have been having trouble using the mask option in speedgrade, any advice you can give will be helpful. I follow the tutorials to the T but get nowhere.
    I am able to make adjustments to the clip that affect the entire clip, but when using the mask feature, either inside or outside the mask, the changes no longer affect the clip. I turn off the mask and suddenly those changes re-appear over the whole area of the clip.
    Thanks for your help!

    please make sure a proper nvidia graphics driver is installed. Then set settings to compatible mode/high performance mode and check if it displays masks in SG

  • Programmatically Extend a Waveform Chart

    Could anyone kindly tell me what property node I can use to programmatically extend a Waveform Chart on my Front Panel. 
    For instance, if a Boolen button is in the True Case, the Waveform will be short, but when in the False Case, the Waveform will be automatically elongated/extended beyond the initial length.
    Attached is the screenshot of what are trying to describe.
    Thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    Waveform.PNG ‏11 KB

    RavensFan, thanks for your response.  It actually worked for me.    Although, you answered my question already, but just allow me to ask one more thing under this thread.  If I want a flat line known as a "baseline" a numerically controlled/adjusted value to appear on the same Waveform Chart that my incoming signal(s) is/are plotting, how do I imposed or put that "baseline" on the same waveform chart?  The "baseline" is only acting the purpose for comparison or threshold?
    I would appreciate if you could just help with suggestion.
    Thanks

  • How can i display Waveform chart in a subpanel using Vi templates.

    Hi All
    I am new to Labview hence need  some help. I am trying to develop an application which reads some data from a Wireless Sensor Network (WSN). The WSN consists of base station connected to the USB port which recieves data from other sensor nodes.  The data comes in a certain format.  Node name, temperature reading, humidity reading etc. I want to read the data from the serial port and  based on the Node name, i want to display the information for each node in s separate window or subpanel etc. So if a new node is detected then a new window is created for that node. Since all the nodes have the same sensors on board i only need a one template. I can read the data using the serial port, parse the data to detect which node it is and also what the sensor readings are. I have created a template VI for the sensor node. I am having problems in displaying the template VIs in a subpanel. I can succesfully display a Waveform graph in the subpanel but i am having problems in displaying a waveform chart in the subpanel. I can see the actual waveform chart in the subpanel, but i cannot see the plot. Would be greatful if someone could point out what i am doing wrong here.
    Many Thanks
    Raza
    Solved!
    Go to Solution.
    Attachments:
    template_graph.vi ‏16 KB
    graph_template.vit ‏11 KB

    Hi All
    I think i have solved the problem. It seems like i was running the Vi in a loop. I have taken the Run Vi outside the while lopp and this works fine. Also i need to close the reference at the end.
    Raza

  • Using waveform chart to collect data

    Hello,
    I am a new user to labview, however I have been using it for a while now.
    I have a simple problem.
    My model runs a drive cycle for 1400 secs.
    I want to record data for a sample rate of 1 sec.
    However, When I try to run the model and export it to excel it shows data for a sample rate of 0.1 seconds. How can I change that?
    Also, what can be the maximum buffer size of the waveform chart?

    Hey govindgoal,
    The max buffer size is pretty massive so don't worry about that. I would post your code or at least the part which is recording the data for people to help debug. It would seem however that you have some timing issues with your application.
    Regards
    Andy
    "To 'G' and not to 'C', this is not a question!"

  • Any alternate solution to using Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' for mulit-plot color problem on PDA?

    Hello,
        On a waveform chart, 4 signals need to be plotted based on the status of 4 boolean inputs. Eg. if the first boolean input is true, the first signal needs
    to be visible on the waveform chart; if the first boolean input is false, the first signal should not be visible on the waveform chart and so on. This can be
    done on LabVIEW desktop using the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' - a sample VI "BundleSignals_Select_Desktop.vi" is attached for
    reference.
        But on PDA, since the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' are not supported, some other method has to be used. I have done the
    selection/de-selection of these signals using 'Insert', 'Delete' array functions as shown in the attached VIs "BundleSignals_PDA.zip" which works, but the
    problem is that the colour of these signals do not work as desired when the selection/de-selection of these signals is done - It is required that the first
    signal should always appear in White color, the second signal should always appear in Red color, the third always in Green color & the fourth always in Blue
    color.
        I hope i have made myself clear of the problem. Has anyone faced this problem before & is there a solution?
    Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for Windows Vista/XP/2000 and LabVIEW 8.5 PDA Module for Windows
    Mobile.
    Thanks & Regards,
    Subhashini
    Attachments:
    BundleSignals_Select_Desktop1.vi ‏25 KB
    BundleSignals_PDA.zip ‏26 KB

    Unfortunately the only alternative to using property nodes is to set the properties manually on the development environement. The limited size of memory does limit us in terms of features for the module.
    Mehak D.

  • Using Waveform Chart, inconsistent results when setting X range and delta X properties

    I have isolated my problem to a simple vi consisting of only a waveform chart (attached). I am using LV 5.1.1. I have used an attribute node to set x minimum to 0, x maximum to 10, delta x to be entered by the user, and have turned autoscaling off.
    When I plot 2 random points, x maximum is inconsistent, and doesn't stay at 10 when the vi is run several times in a row. Specifically, the first time the vi is run (after delta x is changed), x maximum changes. Then, the second time it is run, the max typically goes back to 10. However, when run several times in a row, x max will fluctuate. Specifically, I tried entering a delta x of 8. Mostly, the min is 0, max is 10,
    and the line between the 2 random points plots from 0 to 8 along the x axis (good). However, every once in a while, the x max will go to 8.
    This behavior is very strange, and will not allow me to program my actual application correctly until I fully understand what is happening. I would assume since Waveform Chart has these attributes to set, I can still using the Waveform Chart, and don't have to completely restructure my program to use another display.
    Attachments:
    deltaX2.vi ‏28 KB

    That is the expected behavior, it is only that you don't assign the properties in the right order. If you set the XScale.Multipler before min and max all is how you expect it. When you set the multiplier, min and max are automatically changed to reflect the scale changes thus overwriting your previous settings.
    LabVIEW, C'est LabVIEW

  • Plotting data with multiple y-axis using waveform chart

    I am using LabVIEW 7.1 and am simply trying to split my data on one waveform chart using 2 Y axis.  One goes from 0-150 and the other from 800-1000.  I want them to graph on the same chart, and I have selected 'duplicate scale' when I right click on the chart, as instructed in the labview manual, but both of my data streams are still only connected to one of my axis.  I can't get it to recognize that one data stream should go on one axis and the other stream should go on the other axis.  Can someone help please?

    Right-click in the plot legend one plot. In the context menu select y-axis and after the axis you want for this plot. The scale is changed directly.
    There is an image of the context menu attached.
    I hope this helps
    Greetings
    shb
    Attachments:
    two y-axis.png ‏16 KB

  • Clear waveform chart history if dynamic 1D data is used

    I am new to Labview and am using a Waveform Chart.  To clear this I need to supply an empty array.  I have done this with scalar inputs, but in this present case, the input to the chart is a bundle of 1-D array of dynamic data. I cannot figure out how to create a suitable empty array of type 1D array of dynamic data to initialize the plot (wire to the History).
    It seems like there should be a better (easier) way of clearing the plot...
    Thanks for any ideas.
    Solved!
    Go to Solution.

    Hi rockybooth,
    right click on the connector to the history property and select "create constant". You should get what you need.
    Hope it helps.
    Mike

  • How to use ni-6008 and build a four channel data acquisition at a rate of 250 samples per channel and display all the data in a waveform chart

    how to use ni-6008 and build a four channel data acquisition at a rate of 250 samples per channel and display all the data in a waveform chart 

    Hi kdm,
    please stick in one thread for the same topic!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Trouble using mask tool and filter...Could not rasterize because the pixel data for this layer is not directly editable - masking

    I've searched for an answer to the problem I'm having on cs4 and can't find it, so here goes:
    New to photoshop,  I'm trying to fake some depth of field (i.e blur the background) on a wedding photo by using the masking tool to mask out the foreground then, out of mask mode> select>inverse to get the dotted line around the image, then using Filter>gausian blur on the background.
    1. The dotted line around the image doest look right
    2.  I can't use the filter facility (its greyed out) and when I try to use the blur tool from the side menu got the above message.
    Any help much appreciated.

    Which operating system are you using?
    I'm using Mac Lion V 10.7.5, working on a photoshop cs4 trial version (could be the problem?).
    I Used the quick mask mode to mask the area.
    Here's a screen shot - (I have blacked out some of photo for subjects' privacy):
    -  mask mode turned off, then Select>Inverse to show unmasked area  (note, the dotted line continues round the bottom of the pic which indicates to me I have made a masking mistake, as dotted line to mask out background only should go round the top & sides of the photo and then outline the couple, - right?
    Image mode of image: If I understand correctly what this is, the image mode is .jpg
    Bit depth of image: Bit depth of image is 8, color mode is RGB.
    Hope I've given you the information you required.
    Thanks
    P

  • Display Data on waveform chart or XY graph over a long period of time

    Display Data on waveform chart or XY graph over a long period of time
    Can anyone help?
    I am acquiring data from an Ni DAQ card with the following parameters - sample rate = 12800, number of samples = 4096. I want to extract order information so as to track changes in the amplitudes of certain frequency harmonics. So I use the sound and vibration toolkit to extract this information as shown in the attached Vi.  I will like to plot the resulting amplitudes against real-time starting at the time the Vi was run.  I really want the display to show these changes over long periods (eg. days, months and even years).
    Problem.
    I have tried to plot the Y component of the resulting magnitude for a given order on a waveform chart. My choice of the waveform chart is because I also want to display  alarm limits (using the mask and limit vi) (I can't have these lines displayed on an XY graph plot).  I tried adjusting the scale offset using the property node and setting the offset to current time. However, the display on the X-axis can only show a span of  2 minutes as will be seen when you run the attached vi. I want the time display on the x-axis to be over a period of  days, months  and even years.  Is there a way to set the maximum scale on the x-axis to be say a year or so in future.
    I really want the display to be like the one in in the second attachment.
    Attached is a sample VI created using an Ni USB 9234 DAQ card. Any card will do but I am only getting the signal from one channel for this example
    I will appreciate any help that can be given to me.
    Thanks
    Attachments:
    Real-Time Graph Display.vi ‏170 KB
    Sampe screen1.doc ‏37 KB

    Long term testing can be tricky- and we'l get into that later.  Lets start with the basics that you have wrong.
    The vi as you have constructed it has only one memory element, the chart history length (default is 1024.)
    You can change the number of points the Chart will remember by Right-clicking the chart an select Chart History Length from the menu.
    But for a long term test - and one where you want to REMEMBER the first value you need a memeory element that is independant of the application.  Your PC WILL loose power or need to be rebooted eventually.  Heck it might even need to be replaced! you really need to store your data in a file. Preferablly in a file that is backed-up on a regular basis so you don't lose every point of data if the PC dies.  It realy hurts when you have to restart a 2yr test because you've lost the 18months of data you collected.
    For an application like this I would seperate my "collection" and "Evaluation" operations. 
    Have one vi that takes the reading and writes it to a file at a configurable rate  You may want 1reading  per minute for seveal days then 1 per hour for a few weeks- then maybe only once or twice a week for the next couple of years since you are looking for LONG TERM stability.  having too much data to evaluate can take a lot of digging to find the few things that interest you (but always take more that you think you need)
    Have another utility that COPIES the files, reads them and displays the data you are interested in that day.  The data you want to look at won't change over time HOWEVER, you WILL want to analize it in different ways depending on what the data trends look like.  Having seperate routines for collection and display allows you to update the display style and analisys without even stopping the collection vi (much less editing the vi)
    Jeff

  • How to display value in waveform chart

    dear sir
    i am using labview 7.0 with dsc module for scada.
     now i want to display the difference between two tags value in waveform chart. Also i want to display that difference value on y axis and system date and time on x axis continously. Also if there will change in that tag value then there should be reflection of that value on wavwform chart with system time. Really i am in trouble. please help me.
    falgandha mohire

    Nadim,
    Why would an XY graph be preferable to using a Waveform Chart where the "t0" is the time of the measurement?
    I don't get it.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I display more than 1 loop iteraction in a waveform chart?

    Using DAQmx, I am inputting a signal at a rate of 10k with 1k samples inside a while loop. I want the first 3 seconds of data to display on a waveform chart without having to change the rate or number of samples. Is there a way to stop the waveform chart from clearing after every loop iteration so that I can display more than 0.1sec of data? Thank you for any help you can provide!

    The default history length of a chart is 1024. To make it longer is a right click option.

Maybe you are looking for