The waveform chart in the tab control

Hi,
I'd like to change the plot number and the plot name of a waveform chart in a tab control.
First of all, it works fine without a tab control, but I have many charts(such as temperature, pressure, voltage...) so that I put each chart into the pages of a tab control.
Error 1077 happened when I "add" the plot number and change the plot name.
The following is a sample I made to describe this problem.
Let's begin if the number is 20, so there are 20 plots in that chart in page 2.

Do not turn on the switch, change C to 3, minus N to 18, and run it and it can be seen that the tab control will switch to page1.
Switch to page 2, and the plot names are updated but left some relic.
Add N to 22, change C  to 2, and run it again.
Error 1077 happened! Switch to page 2, and the plot number is still 20, and the plot names are updated to 20.
Run it again, and it works fine!
It is very tricky for me.
If I switch to the page 2 first and run the program, it works fine too.
(That is, if the switch is turn on, then the program works fine.) 
The LabVIEW version of mine is 2011.
I'm not sure I missed or misunderstanded something about this problem.
Does someone can give me some suggestion? Thanks a lot
Solved!
Go to Solution.

Hi, Bob_Schor,
I'm sorry my poor expression confused you.
All I want is to demonstrate that the chart in the 'hidden' page of the tab control results in the error when the user tried to add plot number and change the plot name.
To make a scenario more specific, there is two pages in a tab control, one is for setting, the other is for the plotting.
When the user change the channel configuration, the chart is going to change correspondingly.
If I'd like to change the plot number and plot names, there is possiby a problem when staying in the setting page.
I hope I do not mislead you to the wrong direction
You're right I should make the parameters more clear to facilitate reader understand my purpose easily.
Switch True means switch to the chart page before the modification of the chart, and return to the first page after the modification. Switch False means stay in the first page while the chart is modified.
C is used to make the plot name different among each execution. If the plot names of the chart in the previous execution are [101, 102, 103, 104, 105], and I'd like to decrease the plot names to three items [101, 102, 103], but in the case of the false switch, it will be [101, 102, 103, 104, 105], it is hard to tell if it is really updated. I can change C to 2, and the plot names in this execution will be [201, 202, 203, 104, 105], it could be shown it is updated indeed but left some unexpected plot names[104, 105](I call it relic...).
N is just the plot number the user can increase or decrease it.
I'm afraid of being the guy you mentioned...
Like my original post, I probably have several charts to show their results(temperature, pressure, voltage...) so that I make a tab control of 6 pages, and put a chart in each page. The user can also determine the channel numbers of each kind of measurement before the acquisition. I didn't think too much about it(actually now I still have this direct simple idea only...), what would you do if you have to show these data? Very thanks to your reply

Similar Messages

  • 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

  • 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

  • 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.

  • Build the Bar chart from Cross Tab which have 3 measures with cell refr.cal

    Hello Friends. I want to Build the Bar chart from Cross Tab which have 3 measures with Actual , Plan and Forecast
    But Issue here is each cell is defferent like i have to do different calculation for each cell for actual, plan, forecast
    like A = Jan act/Budget actual, Where as B = Feb Act/ Jan Budg+Febbdgt_March Budget
    So now when I right click to say turn to Chart it is not generating the chart
    Please help how to build bar chart since i do not have 1 key figure which i can drag and drop in view structure of chart so how to handle this
                             Jan,  Feb, March, Aprl, May, June
    Actual                  A       B       C     D
    Plan                     N       M       O     P
    Forecast
    SONIYA

    Hi Soniya,
    It will be better if you can get these keyfigures calculated from the BEx with the help of structures in the BEx.
    At the report level it will be complex to create these variables and also not sure whether going to work:
    But you can try something like this:
    A= If (L01 Moths="JAN") then Sum (Actual)/Sum (Bud) Else 0 similarly for other months.
    Then you need to create one more variable (measure) which should be plotted on the chart as:
    Final Act = If([L01 Month]="JAN") Then A ElseIf([L01 Month]="FEB") Then B ElseIf([L01 Month]="MAR") Then C
    Final Plan= If([L01 Month]="JAN") Then N ElseIf([L01 Month]="FEB") Then M ElseIf([L01 Month]="MAR") Then O
    similarly you have to create variables for Forecast, then finally you can plot final 3 variables in the graph.
    Hope it helps you.
    Regards,
    Rohit

  • How to keep the waveform chart updated when changing states in state machine/

    Hello Everyone,
                           Can anyone please sugest me how to keep the waveform chart updated even if I am changing the states in a state machine??
    I am having analog inputs on the waveform chart...
    Thanks in advance...
    Now on LabVIEW 10.0 on Win7

    hello guys,
                    thanks a lot for the suggestions, here is the attached code... please follow the following steps to run it..
    ONce you hit play,press either Start Main/Cyl UP button on the front panel,
    once you start observing the waveforms, you can press the Cyl_Dwn button on the front panel... You can observe that the state changes to Start Counter state,
    and the waveform chart also stops updating... I would like both the waveform charts to conitnuously show the data even if the state is changed....
    Now on LabVIEW 10.0 on Win7
    Attachments:
    Soda Vending MAchine.vi ‏212 KB

  • How to save the waveform chart information

    I am attaching a VI which recordes the power and wavelength from a ILX lightwave power meter. I had added  waveform chart  to the program to record the values of quatities with respect to time. Please kindly help me to read the quantities  on time with saving the values from initial time to final time. I I use shift registers with a built array in the while loop , will it retains the past values? 

    I had added  waveform chart  to the program to record the values of quatities with respect to time.
    Wrong. Charts don't display values with respect to time!
    Hey Gerd,
    I don't quite understand. If I wire a waveforme to a waveform chart it stores an processes data as waveform i.e. t0,dt and [y]. This, to me is in respect ot time.
    If you meant, though, that it doesn't do that in his case, I very much agree with you.
    As for the free tutorials:
    3 Hour Introduction
    6 Hour Introduction
    LabVEW Basics
    Self Paced training for students
    Self Paced training beginner to advanced, SSP Required
    LabVIEW Wiki on Training
    Learning NI
    Getting Started with NI Products

  • HT204365 when i am in the Top Charts "store", the categories drop down list, next to the library button at the top right corner disappeared..how do i get it back?

    on my ipad, in the ibooks app, the categories icon disappeared next to the library icon in the top left hand corner, when i go the the top charts in the store..how do i get it back?

    Try 1 of 2 things.
    Double tap the Home Button on the iPad > you should see the Dock tray with your apps in > hold on iBooks until you see the app jiggleing with a red circle and white line > tap that red circle > re-opoen iBooks.
    If that does not work repeat above but do not open iBooks after you close it, now power off your iPad and turn it back on. You can power it off by holding the power button on top of the device for about 5-10 seconds.

  • What happened to the "pie chart" on the Activity Monitor? The new version is of no use to me as I do not know what the graft is telling me and there is no manual for it.

    What happened to the "pie chart" on the Activity Monitor?

    It's gone.
    See -> http://support.apple.com/kb/HT5890.
    Clinton

  • How to measure the frequency of the data plotted on the waveform chart

    i have made a virtual instrument in labview that acquire data (say sine wave) into a spreadsheet file and also on the chart from the function generator. I measured the frequency of the data from the chart but it is coming out to be very less. How can i calculate the frequency of the plotted sine wave and also from the spreadsheet file.

    If you want to get an idea of the base-frequency of an periodic signal, you can measure the number of samples in between two maxima or in between two minima of the periodic signal.
    Multiply the number of samples by the sample-interval (1/Fsample in [sec]) gives you a rough estimate.
    FFT, I mentioned is one of the more advanced calculation-methods.
    The method calculates the spectrum from a waveform.
    Hope this helps,
    Patrick

  • How Does the Waveform Chart Allocate Memory in LabVIEW?

    I am not understanding the Memory allocation concept in chart. When it will be happened? If it is in run time, I am getting the exception before running the application itself. Can you help me on this?

    > I am not understanding the Memory allocation concept in chart. When it
    > will be happened? If it is in run time, I am getting the exception
    > before running the application itself. Can you help me on this?
    This depends a bit on the datatype. For all charts except those with
    the waveform datatype wired up, all memory is preallocated when the VI
    loads or compiles. Some datatypes, like the 2D array can add plots at
    runtime, and obviously the chart history will need to reallocate when
    that occurs.
    If the chart has a waveform or array of waveforms wired to it. It has no
    way of knowing how many points are in a waveform and will need to
    allocate them as they arrive. It has a top array of waveforms that is
    preallocated.
    I answered your question a
    bout the chart, but I'm not sure if this is
    what is causing your problem. If you are setting the chart history to a
    very large number, you might try smaller numbers and see if that is part
    of the problem. Otherwise it might be some other part of your diagram.
    Greg McKaskle

  • Why am I not seeing the LED blink faster on hardware when the waveform graph shows the signal updating?

    I am using the cDAQ-9188 chassis with a NI 9476 in the 8th slot, and when I run my VI, the waveform gets updated if I change the frequency of a signal while the program is running, but the DO from the write does not get updated. I thought that write takes in the data from the digital waveform input, so I'm confused as to why the digital waveform indicator is updated with a new signal, but my LED into a DI module (9421) is not updating.
    Thanks in advance for any tips and suggestions!
    Speed2.vi calls Generate_PWM.vi, so Generate_PWM is a subVI inside Speed2.
    Attachments:
    Generate PWM.vi ‏34 KB
    Speed2.vi ‏46 KB

    Hi Ruthnan,
    Sorry for the delay in response but after looking over that hardware it seems there should be enough counters in the chassis to support what you are doing. I believe you are getting the resource is reserved error because you have started one output task on that module thus reserving the reference. Once that task starts any additional task with get an error. It should be possible to use more than one counter in your application but it sounds like an error in the VI configuration. I am happy to help here to get an example up and running but I think it would be faster to open a service request for this issue. Let me know what you would like to do.
    Patrick H | National Instruments | Software Engineer

  • I do not see the waveform correctly in the VI

    Hi,
    I'm trying to visualize a waveform from the oscilloscope (Rigol DS1064B) into the labview. The VI I am using is the example of Rigol (is attached). I do not know what can be the problem, all I do is choose the correct VISA resource name and click run continously?? I have to do something else?
    More information in case it is useful:The signal input in the oscilloscope is 1000,000MHz and 5Vpp. And the scale of the oscilloscope is 500us and 1V. In the beggining of the VI the scales are -0,5 to 1 for amplitude (y axis) and 0 to 0,004 for time (x axis). But when I run the VI scales change to -1 to 1 for amplitude (y axis) and 0 to 1100 for time (x axis) and only see a horizontal line on the 0.
    Anyone know what could be the problem?
    Tanks in advance.
    Attachments:
    RIGOL DS1000 Series Acquire Continuous Waveform.vi ‏29 KB

    Dennis_Knutson wrote:
    Ranjeet_Singh wrote:
    You are running you while loop in 100ms delay, How you will recognize the new updated data?
    ???? What is the relevance of this?
    perikillo,
    As you can see, the VI issues an autoset. The graph is also set to autoscale on the x and y axis as well as loose fit so the initial x and y values are not relevant.
    What do you actuall see on the scope's screen?
    p.s. Never, ever use Run Continuously until you know what it does. It is a special debug mode.
    He is updating the waveform in 100 ms. If any new changes comes then how he will recognize it? May after 200ms old data may appear and stays till 2 sec hence looks like old datas still there
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • Hi. I am using a GPIB controlled Tektronix oscillosco​pe 11403. I am controllin​g it using Labview. I can extract the waveform trace through the program. But how can I save a hardcopy of that data in a spreadshee​t?

    Thank you very much.

    If you want a text file in comma or tab separated data, then all you have to use is Write to Spreadsheet File.vi which will save either a 1D or 2D array array of data (i.e. 1 or 2 traces). If you want to write directly to Excel, you can modify the Write Table to Excel.vi example. There have been other Excel examples posted to the forum that you could do a search for.

  • How to draw the waveform while playing the sound

    dear all
    can anyone give me some idea about it?

    Your post isn't all that clear...perhaps you should put up a sample image file on the web somewhere.
    I'm working on JFreeChart, a free (GNU LGPL) chart library for Java:
    http://www.object-refinery.com/jfreechart/index.html
    ...so I'm interested in the kinds of charts that people want to use.
    Regards,
    Dave Gilbert
    www.object-refinery.com

Maybe you are looking for

  • Creating a Good Receipt PO via DI API No matching records found (ODBC -2028)

    Hi, I trying to create a Good Receipt PO via DI API.  It is working when the user I used to log in to SAP via the DI API is a Professional User but when I changed it to a Limited Logistics User, I'm receiving the No matching records found (ODBC -2028

  • I am unable to update my apps or to purchase anything

    I am unable to update my apps or to buy anything after I created a new password. I am able to logon but nothing seems to work after i log on. This is also an issue with my cell phone, I have updates but they wont install...

  • ATI HD2600 MacPro DVI problem with HP LP2275w monitors !!

    booting up from 10.5.1 all was OK... after updating OSX my 2 HP LP2275w monitors stay dark. it seems the DVI signal isnt present to switch ON the screens. after some freaking with input selection from the OSD of the HP LP2275w monitor image appears :

  • Burning imovie projects to dvd as files

    If I use the disc utility to burn a movie project or .dv file ( 6.5 gigs ) to a dvd (dual layer) as a file not a viewable dvd, just as storage, will I loose any quality of the video, I am positive that I would not just want to be sure.

  • Mac Book Pro-- Xtremely Slow

    Recently my computer has been really slow. It takes ages to laod up something. I have had this comp for about 3 years now. Pls help me.