Timed counter in a while loop without overlapping a second while loop

Hello,
Like you can see in attached file (waveform_counter.vi), I have a main while loop which makes a waveform graph and I would like to integer an inversed counter (from x seconds to 0) in some cases. I tried with a overlapped while loop, but obviously, when the counter works, the main loop breaks...
How can I make a sort of time counter without a loop ? I tried with the while loop iteration, every 100 iterations the counter decreases but I don't success.
Thanks for help.
Nathalie.
Attachments:
waveform_counter.zip ‏55 KB

Hello Nathalie:
Please see what I did in the expiration case.
Please advice if this is a possible solution.
Attachments:
waveform_graph 2.zip ‏41 KB

Similar Messages

  • Enter intervals without overlap

    Hi Guys,
    While i am trying to giving the number range in (FBN1), i am getting this is error " Enter intervals without overlap"  i tried so many number ranges but i didnt solve the error,  can you please help me on this.
    Regards,
    Shekar.v

    hi, shekar,
                     can u elaborate the problem further.
    as far as i kno in FBN1, u need to maintain the no ranges with serial no.
    ie
    from MM point of view 49(GI & TP), 50(GR w.r.t PO), 51(invoice)
    now u maintain these no ranges gi to new line item add a new no. range. and go to drop-down, it wll give u the no. ranges available to u. select 1 frm them.
    hope it wll help u.
    Regards,
    yk

  • Drag and Drop without Overlapping.

    Can anyone give me direction on using 'drag and drop' in flash without overlapping?
    For example - I have a list of buttons i drag to an area on the stage.
    I do not want my buttons to overlap.
    Any ideas? Tutorial / example... anything - I'm new on this and i'm in a crunch.
    Thanks,
    Jackie

    Hi kglad,
    Thanks for your response.
    Are you available online? Im not even sure if i'm allowed to ask that on here =/ ... im really new to the forum.
    My MSN is [email protected]
    Skype: jackie_parks
    I'm so stressin' about this issues, was wondering if you might look at my project with me?
    Thank you very much.
    Jackie

  • Count the no.of rows without using count function

    Hi,
    How to count the no.of rows without using the count function?
    Thanks,

    they won't be 100% accurate. You're correct, Bluefrog, but the same goes for doing a count(*) (depending on the size of the table, ofcourse):
    the table being queried might be under DML (deletes/inserts), and the next count(*) might give different results.
    Both approaches will never be 100% accurate.
    But simply selecting num_rows will be much much faster than doing a count(*).
    Counting the number of rows always reminds me of this ongoing discussion, by the way:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:127412348064#14136093079164 ;)
    Usually knowing the number of records by approximatly is sufficient, imo. 1000000 or 1000007 records: I don't care, don't need to know that.
    I've never needed to know the exact number of records in a table in my code, or been given a requirement that forced me to.

  • How to maintain counter in a for loop

    Hi, 
      How do we track counter in a loop?Isn't it the way I implemented.? Please suggest.
    Regards.
    Solved!
    Go to Solution.
    Attachments:
    for loop counter.jpg ‏219 KB

    Both loops have errors, if you try to do for(i=60;i<120;i++) you're only running 60 loops, not 120.
    You should also disable the autoindexing on incoming arrays as you want some split array indexes (actually you can optimize it by extracting the constant a[30] before the 1st loop and the opposite on the 2nd. Now you're extracting 2 numbers from a 1D array instead of 1 from a 2D array ...
    The number on the select/sum function should be integers, no need to calculate doubles.
    The small array to sum it up is only max 170 numbers, it's ok although a sum in a shift register would be better.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • How to make text fields grow dynamically without overlapping the text below it?

    Hi..I'm a newbie to Adobe Livecycle and I need a create a form that has a textfield that should grow dynamically and expand without overlapping the text below it. I tried using subforms, saving as Dyanmic PDF, checking expand to fit option but nothing seem to work! I really need help designing this form.

    Thanks for the reply. Yes I did but still didn't work out well. I'm trying to add my pdf form as an attachment here but I'm unable to do it! Where do I find add attachment option?

  • Error in Inserting Interval in T.code FBN1 -Enter intervals without overlap

    Hi,
    I was doing Account to Releasing through VF02, then I got the error message  Incorrect doc.no.: 2009750001. Select document number between 2010000001 and 2010999999.
    In FBN1, when I try to insert the number range, it shows up another message,"Enter intervals without overlap"
    Please advice what to do.
    Thanks and Regards

    Hi,
    Your no range is overlapping may be because of -
    (1) You are trying to manually put no range which already exist or
    (2) Check no & year; it may also overlap or
    (3) May be your all no range are in use, so you have to delete no range
    You can do another thing
    Go to billing document (VOFA) & assign proper no range
    Regards
    Santanu Giri

  • Mult channel plot without overlap & show special data points after analysis

    The program need to display "n" channel data on a graph without overlap. [I plan to use xy chart & add offset to each channel to separate each channel.] After that an analysis program will run and then "I want to mark the specific points on some of channel, for example make cross on 2 specific point on 2 different channel" How can I mark the points?

    You would want to use cursors. There's a simple shipping example with LV 7 called Cursor.vi that uses Cursor.PosX and Cursor.PosY property nodes to place them. Another way is to use Cursor.Index. This can be convenient if during your post processing, you return the array index of the data you're analyzing. With other property nodes, you can control cursor color, style, etc. With the ActCursor property, you assign a cursor to a specific plot. Right click on your graph and select Visible Items>Cursor Legend to see how how you would do it manually.

  • Drop down without overlaping

    how to make drop down menu without overlaping the links below?

    I do not see overlapped links on the page.
    Anyway, the pages I referred to show how to avoid that.
    You can download an iWeb domain file, including all additional files, for study and practice.
    I general I would say that none of the solutions that were offered to you for the problems you had over the years never materialized on your pages.
    So why exactly do you ask these questions when in reality you do nothing with the answers.
    And why don't you just study the noble art of webdesign.

  • I can`t listen to Youtube without stopping every second and also videos

    I have Windows 7, I did install Adobe Flash Player version 10.1. Can't listen music in Youtube or videos, without stopping every second. Someone suggested that I change the buffer rate lower, but I don't know where to go.

    Visiting the site, nothing plays for me. Are you sure there's audio supposed to be playing from there? Or am I supposed to click something on it?

  • Lilo: kernel setup stack overlaps LILO second stage

    After a pacman -Syu, I am unable to boot.
    Unfortunately I use lilo. I *think* lilo was upgraded, and for some reason 'lilo' wasn't run after an upgrade. If its not doing this automatically it may be something to check up on to avoid many future headaches.
    Anyways, I just assume that is what happened because I really have no idea how this came about.
    At lilo (v22.7.3) I select Arch (I dual boot with WinXP which loads perfectly fine) and I get the following error:
    boot:
    Loading archEBDA is big; kernel setup stack overlaps LILO second stage
    I have tried using knoppix to go in and chroot and run 'lilo' but I get the error:
    Fatal: raid_setup: stat("/dev/sda")
    I also tried chrooting and removing lilo, installing grub. But that didn't work out too well either (mainly due to my ignorance of grub).
    ANY solution would be awesome. All I want to do is boot up. I never really shut this machine off, so as long as i'm booted up I really don't care how its done.
    random info: my root partition is on /dev/sda3, and my /usr partition is on /dev/sda4.
    I am very unknowledgable about bootloaders in general, both lilo and grub, but i have more experience with lilo. Any pointers would be helpful. Please help! Thanks in advance.

    I'm experiencing the same problem, but I'm new and I'm not entirely sure how to carry out those instructions. Can anyone help?
    Thanks
    EDIT: solved, reinstalled and after updating lilo I had to run it before rebooting.
    Last edited by pecan (2007-12-12 11:51:19)

  • How to stop a period counter in a while loop without using abort execution%3F

    I am using a NI x series 6343 andcounting pulses, but when i try to stop the counter with a boolean operator nothing happens, ihave to go and use abort execution, 
    Help

     the stop sign does not do anything, it just stops after the timeout.
    Which is exactly what you're asking it to do.
    The STOP button is not a magic ABORT function.  It's a simple TRUE/FALSE variable.
    The way you have it set up is:
    repeat
       Get some data (Timeout = 10 sec)
       Process the data
    until STOPped
    It's going to check that STOP value (is it pressed or not) ONCE, sometime during the loop.  Maybe before your GET DATA, maybe during, maybe after - you don't know.
     Whenever the GET DATA thing returns (after 10 sec, or after getting some data), then it willl use that value and decide to loop again, or to stop.
    If you want to abort the GET DATA operation, you have to find another way.
    One way is to use a shorter timeout.  Do you have to track it down to 1 pulse every 10 sec?  If not shorten your timeout and go from there.
    Another way is to find a way to abort the operation.
    Again, I'm not familiar with the EXPRESS stuff you're using, so I don't know the details.  In all my 26 years of LabVIEW programming, I've never once used EXPRESS stuff.
    Using the regular NIDAQ stuff, you would
    INIT a task
    START a task (Task ID)
    repeat
       READ a task (TaskID, timeout = 0.1 sec, or something)
       if TIMED OUT
           do nothing
       else if ERROR
           announce error
       else
           Process data
       end if
    until STOPPed or ERROR
    CLEAR task(Task ID)
    It's more complicated, but you have more control. 

  • Facing problem in saving data without overlapping in for loop

    Hi,
    I am facing problem in writting data withou overlapping if i run outer loop for 2 or more times and in inner for loop i am getting array in a way I want but when i try to build that array with logging temperature i am not able to do it. Please guide me through ths.
    Thank You
    Hnagpal
    Solved!
    Go to Solution.
    Attachments:
    data storage.vi ‏31 KB
    what i am getting.xlsx ‏10 KB
    what i want.xlsx ‏10 KB

    Thanks odessy27, Matthew Kelton, for replying.
    Matthew Kelton: Thanks for the solution i am adding outer loop so that i can increase the number of row. I am using it for some application which require me to save data several time and i used random number here but originally instead of random number there will be power meter reading and i want to save it every hour and plot it. I am also attaching a file what i made I don't know is this a good way or not. Actually i will also beneeded to plot a graph. But again how to increase a row and without replacing previous data i can write another row.
    Yes i want to make one row for each iteration.
    I attached both files in 2009 version.
    Thank You
    Himanshu Nagpal 
    Attachments:
    desired result.xlsx ‏10 KB
    data storage (1).vi ‏26 KB
    data storage.vi ‏37 KB

  • Changing iteration count of a while/for loop

    Hi,
    By default the for/ while loop iteration count will start from '0'. I want my loop to start with any other value say '10'.
    Is it possible to change the value of loop count , so that it counts from '10' (in this case).

    Thnx a lot
    Bt I already know this method. I was looking for some other method if available.
    And we can also do the same using shift registers.
    Regards,
    Runjhun.

  • Timing using DAQAssist in a loop

    I have a high-speed signal continuously generated from my circuit which is being read into Labview using the DAQAssist.  There is a lot of processing done to this data before the loop repeats itself.  Is there any delay between signal acquisition in the DAQAssist?  I need the next signal acquisition to occur immediately where the prior acquisition left off.
    Thanks,
    Anthony

    Hello Anthony,
    The configuration of your DAQ Assistant determines how your data is acquired.  If you have chosen "Continuous" on the Task Timing tab, then your samples will be acquired continuously, at the rate you specify, until you stop your program.  There will be no pauses in the acquisition.  Each loop iteration, the DAQ Assistant will return however many samples you have entered in the "Samples To Read" field.  If your processing inside the while loop takes too long, there is a chance you could cause a buffer overflow because you have not been removing samples from the buffer fast enough.  You will see an error if this happens. 
    So, if you do not want any pauses or delays in the acquisition you should configure your DAQ Assistant for continuous operation.  If you need the acquisition to stop while you are processing the data, then I would recommend not using the DAQ Assistant, but instead using the DAQmx API to reduce configuration time inside your while loop.  To do this, I would start with the example from the Example Finder at Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage called Acq&Graph Voltage - Int Clk.  You will have to add a DAQmx Stop Task VI after the DAQmx Read and then add the while loop around the DAQmx Start Task, DAQmx Read, and DAQmx Stop Task.  You will then have the acquisition stop between when the data has been acquired and the next loop iteration.  If you need further help with this, just let me know.
    Hope this helps,
    Laura

Maybe you are looking for

  • Apple DVI to Video Adapter do's and don'ts

    I just got the 15" and am using a monitor for extended desktop. I cannot find any description on whether or not the computer and/or monitor needs to be on or off to plug or unplug the DVI to Video Adapter or whether or not it matters. Any steps and b

  • Arrears Interest Calculation on AR Balances

    Hi, I am trying to calculate the Interest on AR Balances and was able to successfully post the entries also.  But the problem is the next month when I am running the interest calculation, I want the system to avoid calculating Interest on the documen

  • Shipment Tracking

    Has an add on been developed or is there another solution for the tracking to shipments for overseas purchase orders? There are aboue 15 fields which would need to be completed and tracked per shipment. One shipment may have several purchase orders l

  • ISight to run in MSN (Windows Vista Business via Parallels)

    Hi guys ! I'm a MAC newbee and as I need to run some Windows applications I have installed Windows Vista Business via Parallels. Everything works just fine - except for the iSight web-cam when running MSN. I have installed the AppleiSight drivers fro

  • BI Content Extension for BI CONT 7.05

    Hi all, I am instaling NW 7.0 EHP1, as part of this installatoin we had install BI_CONT 7.05 installation. We want as part of this installatoin install BI_CONT_XT 7.05 installation too. I had download suport packages BI_CONT_XT sp 01 to sp 7.05 from