I cannot "Swap sides" in a waveform chart

Hi, I'm trying to create a waveform chart with two Y-axis.
If I click "Duplicate scale", I can see in Properties that a new scale is created.
However, it is not possible to click "Swap sides" since this menu item is grayed out - so I can not move the new scale to the right side.
Note that the new scale is NOT placed beside the first but at the same position, when I click "Duplicate scale".
Any ideas why I can't click "Swap sides" ?
Jan Nielsen
Freelance system analyst and LabVIEW programmer

The LV version is 8.20.
If I make a blank VI and start from scratch as you write, there is no problem. Then the new scale appears beside the old, and can be swapped.
Jan Nielsen
Freelance system analyst and LabVIEW programmer

Similar Messages

  • Waveform chart with 2 Y axis

    Hi, I have labview 8.5 and I would like to know if is possible to have one waveform chart with two Y axis, I have two signal from a force load cell and two signal from a LVDT, so I would like to graph in real time what is happening in the process having in one axis the forces and in the other axis distance, how can I do it?
    The problem is the forces are lower than the distance, so if I graph all in one is going to be a big mess or can I just play with each scale of each plot and put everything in one Y axis?

    Wolfson wrote:
    Hi, I have labview 8.5 and I would like to know if is possible to have one waveform chart with two Y axis, I have two signal from a force load cell and two signal from a LVDT, so I would like to graph in real time what is happening in the process having in one axis the forces and in the other axis distance, how can I do it?
    The problem is the forces are lower than the distance, so if I graph all in one is going to be a big mess or can I just play with each scale of each plot and put everything in one Y axis?
    1) Right click on the Y-axis and choose "duplicate scale". This will give you another Y-Axis.
    2) Optionally right-click the new Y-axis and select "Swap sides" to move the new Y-axis to the other side of the graph.
    3) If not already visable right-click chart and choose Visalbe >>> Plot legend
    4) Right click on a plot and choose the Y-axis it should be associated with.
    I hope that helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • 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

  • Only first plot of waveform chart has run-time menu

    Hello again all you helpful forum-goers!
    My multi-plot waveform chart is working decently well, but now for some reason only the first plot in the plot legend displays a run-time customization menu when I click on it while the VI is running (allowing me to select the plot color, etc.).  All the other plots do nothing when I click on them.  I do not have any mouse-down events or filter events of any kind in my VI.  I programmatically set the number of plots and the size of the plot legend, along with each plot's name, y index, and color.  Any ideas as to what might be going on?
    Thanks a bunch as always!
    -Joe
    Solved!
    Go to Solution.

    Okay, hopefully this will help get some more thoughts / answers flowing.  I've copied my strip chart from my actual VI into a test VI, and it still exhibits the problem.  On the other hand, I have created a new strip chart from scratch, and it works fine.  I have attached both VIs here for you to see.  My guess is that some property of the first chart is set incorrectly or something, but I cannot figure out which one (and there are so many!).
    Any assistance you can give would be appreciated. The challenge is to get the chart in the first VI working (plots other than the first responding to a mouse click to change their color or other attributes), via changing some attribute of the chart (and being able to tell me which one you changed!).
    Thank you again for anyone who can look into this.
    -Joe
    Attachments:
    Test StripChart color selection not working.vi ‏17 KB
    Test StripChart color selection working.vi ‏12 KB

  • Why does AI Read(Async​hronous).v​i cause the waveform chart to not display any history ?

    I trying to create a strip chart for 16 channels that will require displaying 10-20 minutes of data.It also starts a separate vi to set gains and offsets while displaying the data. Using AI Read.vi uses 100% of the CPU so the second vi does not run. But using AI Read (async).vi allows the second vi to run, but causes the waveform chart to not display the history? I'm using LabView version 6.0.2.

    Hi Waynes World,
    I have a couple of questions that may help us solve this issue...
    1) If you are modifying one of our example programs, which one did you start with?
    2) What kind of analog input are you doing? Buffered? Finite or continuous?
    3) Have you tried increasing the buffer size of the strip chart? This will allow the chart to store more data in it.
    4) When you use the Async VI, and when you are using the other, can you describe how the strip chart is showing the data... does the data in the chart keep growing and growing... or does it clear itself and start over when the pine reaches the end?
    I think this issue is rooted in how the buffer is being used with the two different AI Reads and how it returns data to the chart.
    On a side note, have you considered upgrading to a newer version of LabVIEW? Our latest versions of LabVIEW come with many new features and it is signifigantly easier to use.

  • How do you reset Waveform chart to blank?

    I have a VI with a Waveform chart in the WHILE loop, and each time I STOP the vi and re-start it, the old data remains in the display and moves out only as new data is collected.  This old data persists even after the VI is closed and re-opened.
    Is there a way to remove the old data each time the VI is run, in other words to make the blank screen the default for the  Waveform chart?  Right now, every time I open and run the VI, there is a squiggly line in the display, from irrelevant/useless data collected previously, and it would be cleaner and less confusing if there was no old data displayed there.
    Thanks,
    Dave
    Solved!
    Go to Solution.

    Thanks, but, still confused.  I already have a data source wired to the Waveform graph.  I cannot wire two things to the Waveform graph...so...can you offer more information? See the vi below....Waveform graph allows only one thing to be wired into it....
     Are you suggesting wiring an empty array each time I use the VI and then reconnecting the data source?
    Attachments:
    waveform graph question.jpg ‏19 KB

  • Legend for multiple waveform chart

    I have a Waveform Chart (and legend) with multiple waveforms.  I can control the visibility of a given waveform on the chart programmatically using the "ActPlot" and "Plot.Visible?" properties.
    Is it possible to programmatically make the legend only contain the plot names that are visible at any given time?
    Cheers,
    Dan
    Dan
    CLD

    Hello DanB,
    Following along the lines of what smercurio_fc suggested, you can use the Legend>Number Of Rows property (LegNumRows) to change the number of rows of your legend to the number of plots you are viewing, and then use the Plot>Plot Name property (Plot.Name) to edit the names of the plots yourself. I cannot see a property to extract these names dynamically, so this is probably your best bet.
    I hope this helps, otherwise please do let us know if there is anything further,
    Kind Regards,
    Michael S.
    Applications Engineer
    NI UK & Ireland

  • How do i set the time frame of a waveform chart programmatically to be a 30 sec window or a 24 hour window

    i'm using LV7.0 and what i need to do is to be able to set the time frame or range of a waveform chart programmatically before i start taking and plotting data. sometimes this window needs to be 30s wide and sometimes it needs to be 24 hrs wide. (in the first reference, i need the chart to fill up with 30s of historical data then the whole chart scrolls with each new data point). the data acquisition records data at a rate of once per second. i've tried to use the chart properties of XScale.offset, XScale.Range.Minimum and XScale.Range.Maximum but no matter what i do the time-stamp on the x-axis is always "00:00:00 PM" and "MM/DD/YYYY" even though values are seen being plotted on the right side of the chart as expected.
    Attachments:
    BX0265 ShelfLife DAQmx.vi ‏120 KB

    Okay, there seems to be some confusion here -- the X axis values are of type double, but they can be represented in the HH:MMS MMD:YYYY format if you want in which case it interprets the floating point as the number of seconds since 6pm Dec 31, 1903. 
    You can programmatically set this value using the XScale.Minimum and XScale.Maximum properties, but note that if you wire a waveform to the chart after setting these values the t0 parameter will override what you set using the property node for XScale.Minimum.  If instead you leave the t0 parameter empty you can use the XScale.Offset property and wire the same value in that you wire to XScale.Minimum.  Changing the amount you add to XScale.Minmum to obtain what you wire into XScale.Maximum will determine the time window size.
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • To more specific class for waveform chart

    Dear All
    In the attached VI diagram the "To more specific class" gives an error messag:
    LabVIEW:  Type mismatch: Object cannot be type casted to the specified type.
    so it can not work for my waveform chart. I think I changed some properties or some thing similar for my chart that can not work with this routine because it works for new instances of waveform charts but whatever I try to find the difference between my waveform chart and a new instance of waveform chart I don't not find any difference.
     Do you have any clue?
    Best regards
    Afshin
    Attachments:
    VI2.JPG ‏59 KB

    Try to use the "Controls[]" and the "ClassName" property instead. See attachment.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"
    Attachments:
    WaveformChart.JPG ‏61 KB
    WaveformChart_85.vi ‏18 KB
    WaveformChart_85_CTL.ctl ‏9 KB

  • Waveform chart Display

    Hello
    i am try to make my waveform chart as accumlate data which mean that it will not over write the old measurnents but instead will display all
    from the begining of time
    can anyone help me?
    thanks in advance

    Sorry, I don't have DAQ drivers installed, so I cannot really inspect your code.
    Still, there are some beginner mistakes that should be corrected.
    The loop all the way on the left uses 100% CPU doing nothing but spin millions of times per second. Place a small wait.
    Instead of a sequence structure, use a state machine architecture. Much more flexible.
    If the code is sitll in the first frame, pressing start would lock up the VI because the event cannot be handled.
    If you would make some of your booleans latch action, the local variables would not be needed.
    Why do you even use the event structure and event loop? Just wire the START button (switch action) to the outer case structure. Wire the ON LED to the same wire.
    You don't use the timeout event, so why is it there?
    Explain the purpose of the two charts.
    Since the while loop could go on forever, you potentially have an unlimited amount of data to retain. Is there an upper limit? No computer has unlimited memory. Maybe you should stream the data to disk and just display the last few thousand points on the charts.
    LEDs are typically indicators and don't make good controls (Start Lock).
    LabVIEW Champion . Do more with less code and in less time .

  • Horizontal scrollbar of waveform chart in tab page resets to end when tab page switched

    I've got a VI in LV 2012 with a chart in one of two pages of a tab control.  Whether compiled to an executable or not, when the waveform chart contains data that is no longer being updated and the x-axis range doesn't show the last point of data, the horizontal scroll bar auto-adjusts to show that last point if you switch pages (back to the chart) on the tab control.  I've tried turning off Autoscaling but that doesn't stop the effect. 
    Additional issues: 
    On some of these attempts at reproducing this, the X-Axis will even change scaling, zooming in on the data.
    When data is pushed left by this bug to allow displaying the furthest data point, if the leftmost area of the chart was blank before the data was pushed left, the data pushed left into the formerly blank area will not be displayed.  This happened only when the X-Axis was manually autoscaled prior to pushing the data off the right edge of the chart, and only if the x-axis scale was not changed.  If the tab pages are again switched at this point away and back to the chart, the data re-appears.
    The chart is a stacked plot if that makes a difference,  Also, the tab control is not linked to any event handlers.
    Also, the scrollbar works fine if you scroll such that the rightmost data points are on the chart along with blank area to the right, whether there is more data off the left edge of the chart or not.
    Last, the Y-Axis of each stacked plot is unaffected by any of this.
    I hope this isn't a duplicate - I didn't find it in the forums.
    Thanks,
    Erik
    Attachments:
    Flaw Demo.vi ‏120 KB

    Alex,
    Thanks for the quick response on this.  Again, the charts are awesome except for these minor fiddling details.  Sorry about the terminology confusion - I didn't find anything in the Help system naming the legend buttons, and unfortunately I can't edit the prior post.  When I said "AutoScale LocK" I meant "Scale Lock", and "AutoScale Once" I meant "Autoscale".
    Here are the issues, hopefully clarified:
    1.  If any chart elements have Scale Lock set, pressing the AutoScale button for any plot causes these other plots to autoscale as well.  Note these are not plots with multiple Y scales, they're stacked plots with separate y-scales for each plot.  Changing the "Advanced->Auto Adjust Scales" parameter had no effect on this issue.
    2.  If none of the chart elements have Scale Lock set in the scale legend, pressing the Autoscale button for the X-Axis has no effect if the x-axis was previously set to show all the data history but then panned such that some data falls of either side of the chart.
         This may have been confusing, so here's a breakdown of the steps to re-produce the problem using the VI I previously attached.
    a.  AutoScale all elements of the chart, and turn off Scale Lock on all elements
    b.  Move the data to the right in the chart, so the left half of the chart area has no data (e.g., set the X-Axis range to -5 to 6 seconds)
    c.  Press the X-Axis AutoScale button.  The X-Axis range will not change from where it was in (b).
    3.  The Y-Axis will also auto-scale when returning to the Chart tab if Scale Lock is enabled for the plot with the fix for the x-axis scale in place (restoring the Xscale.Range parameters from a local variable).  If the fix is not performed, this doesn't happen.
    4.  Pressing the Scale Lock button on one of the plots causes the X-Axis scale to be lost IF there is data past the maximum displayed X-Axis range.  It looks like it set the X-Axis to the same problem range as before the fix was in place.  I don't know how to build an event case for this, except for possibly "Mousedown?".
    One more:
    5.  Enabling Scale Lock on any plot auto-scales any other plot that has Scale Lock enabled (assuming the user changed the Y-Axis range from the previously auto-scalled range).  Obviously this is linked to #1 above, but worth noting.
    Thanks again, Alex!
    Erik

  • Buffered Viewing of Waveform Charts?

    We're acquiring very large data sets, using 'Cont Acq&Graph (buffered).vi' as sort of a template for the data acquisition.
    The resulting files are much larger than physical RAM, but the researchers are only interested in small parts of the collected data: The researchers need to be able to go back over the data run, choose a few seconds here and there for permanent archiving, and then discard the rest of the data.
    Because the size of the data run is larger than the physical RAM in the computer, the 'viewing and extracting' VI can read from file and display to screen [via a Waveform chart] only a few seconds of data at a time. Because hard drive access time is so much slower than RAM access time, I'd like to buffer this data view
    [just a little to the left and a little to the right], so that if the researcher chooses to move a little bit back in time, or a little bit forward in time, the data will [probably] be cached in RAM and the VI won't have to make a relatively slow call to disk.
    Of course, the art of buffering rapidly degenerates into a PhD level computer science mess [owing to not necessarily contiguous runs of not necessarily ordered data], and I really don't feel like writing a buffering algorithm from the ground up [especially not in a visual language like LabView].
    I was hoping maybe the Waveform Chart might have some capability to perform [not necessarily contiguous and not necessarily ordered] buffering. Does anyone know if this is possible, or am I asking for too much?
    Or should I just rely on the operating system [soft caching] and/or the disk controller/disk [hard caching] to perform my buffering [caching] for me?
    Or do the standard LabView byte stream disk reading VIs perform thei
    r own [not necessarily contiguous, not necessarily ordered] buffering?"

    The waveform chart does keep a history of the data passed to it. You can set the buffer length at program time. When you read the data (the data desired + buffered regions) from disk you can polulate the history by writing to the history property node. You can then postion the data in the chart with a property node. Be sure to make the x scroll bar visible. (right click on the chart >> visible items >> x scroll bar). I attached a VI in LV 7 to demonstrate.
    There is no telling if relying on the OS and hard disk controller will give you desired performance. I do not believe the byte stream functions in LabVIEW do any sort of buffering either.
    You will have to experiment to see what works. If you as the user cannot tell between experiments then
    chances are the implementation does not matter.
    By the way, LabVIEW does not support abstract data structures because it does not expose pointer operations to the programmer.
    Attachments:
    Untitled.vi ‏24 KB

  • How to view signal in a waveform chart in Labview Signal Express?

    Hi,
    I would like to view a signal in Signal Express 3.0  in a "waveform chart" but don't know how to do it and I am thinking that it may be impossible?
    In Labview there are two ways of viewing data, either in a "waveform chart" or in a "waveform graph". The great thing with "waveform chart" is that it lets you define a history length and you can see the data move to the left (strip chart option) as the samples are being retrieved. It works perfect. 
    In Signal Express I can only select "XY graph" or "Waveform graph" by making a right-click the mouse but I cannot select "Waveform chart". Is it really true that it is not possible to view the data in a "waveform graph with Labview SE? (1 analog signal being read continuously, 100 samples to read at 1K rate)
    Thank you in advance,
    Enrique
    Solved!
    Go to Solution.

    Hi Enrique,
    You are correct that there is currently no waveform chart in SignalExpress. The closest thing you can get to, is recording the data as a log and then viewing it while recording (which I realize is not quite the same, interactive behavior).
    For your last comment, you wrote "waveform graph", but I assume you meant to say "chart" there as well.
    Sorry about this. We have recently been getting this request, so perhaps in a future version.
    Phil

  • Problem with Waveform Chart X scale

    Hi guys.
    I am new here and Labview, sorry for my english wrongs. I am from Brazil.
    So, i try have an absolute time in x scale, from my waveform chart, but the VI don't execute this. I wish make like the picture in annex. It´s the only problem in my project.
    I Use Labview 8.6 version.
    Please help me 
    Icaro Kossmann
    LabVIEW 8.6 Newbie.
    Brazil
    Attachments:
    tela labview.png ‏46 KB

    Kossmann wrote:
    This is a print of block diagram with a close in waveform chart.
    Your chart does not get any timing information, thus you need to set the dt manually or with a property node according to the update rate of your code (we cannot tell from the picture).
    If you want absolute time, you also need to set the t0 according to the start time of the chart. Then you also need to select the desired time format of the axis.
    (It really does not help to show us code pictures. I recommend you attach the actual VI.)
    Kossmann wrote:
    The datatype is 14 channel with single precision, and the format of the x-axis is absolute time, but, the VI don´t show it. And i wish to show divisions on each 5 min.
    Instead of telling us what it does not show, tell us what is shows instead and what's wrong with it.
    LabVIEW Champion . Do more with less code and in less time .

  • How to change output precision of DAQ to waveform chart and to spreadsheet

    Refer vi attached, the DAQ connects to a waveform chart to a spreadsheet. I want to change the precision of the DAQ assistant output from 6 decimal places to 2 decimal places, but everywhere i searched on the DAQ assistant i cannot find a precision setting. Did i miss something? What is the elegant way to do this?
    Thanks. 
    Message Edited by sunflower2772 on 09-08-2009 03:57 AM
    Solved!
    Go to Solution.
    Attachments:
    all-instrumentasst 5 sep header change.vi ‏220 KB

    Hi sunflower,
    this seems related to this question...
    Why do you want to change the output of the DAQ assistent?
    Shouldn't you change the precision of the spreadsheet creation? To do so you simply have to give some parameters to the "to string conversion" functions...
    Apart from file saving all other display precision settings are just cosmetics of the indicators!
    Message Edited by GerdW on 09-08-2009 11:07 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for