Start and stop a loop automatically subtracted at each iteration

Hello

I know that there are some topics about this, but I couldn't find any solution, especially because I'm using version 7.1 and cannot open files from new version.

My problem is the following:

I need to load a tank of 6 to 10 in the morning, every day for 3 days. The process should start and stop automatically, which means, no funds to start or stop. Start and stop conditions come from time.

I start with a big loop of 72 iterations, which is 72 hours.

The tank must start at level 6, whenever he starts.

After the departure, 1 unit must be subtracted to each iteration. That means, that the tank is level 10, at 06:00 07:00 level 9 and so on. At the end of the day, at 10:00 the fill level is equal to 2.

The next day, the process must start again and the tank must start at level 6.

Any suggestions? Thanks in advance.

Hi Florian.

Thank you for your message. That solved this problem, but in fact my VI did not work as I wanted.

I created a new one, with and an external file from 1 to 24, repeat 3 times. Now I got it. Maybe there is a better way to do it, but it works now. Thanks for all the help. I appreciate a lot.

Tags: NI Software

Similar Questions

  • Satellite A30 554: start and stop the question automatically

    After about a year of use my computer laptop (Satellite A30 554) started having problems with the starter. Quite often when I turn it on cooler starts working and the LEDs are showing that the computer is on, but the screen remains black. Sometimes, I need to turn off the PC and on a couple of times so that he can start to begin. What is the reason for this and can it be resolved?

    Once I had a problem with this computer off by itself while working, which was not caused by a virus. Some people advised me to vacuum clean :) under cooler. I did and it helped.

    The problem was supposed to be linked to the dust on the heatsink, which does not allow that it works correctly. The current problem also connectable to the cooler, or is - it a motherboard problem?

    Hello

    Generally speaking, if it starts and does even not initializing the monitor, or starts and turns off immediately, it could be the motherboard. It helps to remove each device at a time and try to start the computer. Sometimes when the parts become defective they still affect the ability to start. If, after removing all devices, that the problem persists, then your motherboard is faulty and must be replaced. Hope that fix you the problem.

  • Digital start and stop trigger with restart HW

    Hello

    I am trying to write a program that reads continually samples based on the rise and fall of a digital triggering.  I want the measure to start on the front of the trigger and stop on the falling edge of the trigger.  I want the data that are read to be preserved and then added with the next set of data that the trigger rises again.  I have read the tutorial "Digital start and stop trigger" and can use the reference to stop the measurement process and I looked at the example "Acq & chart voltage - Int Clk - HW Trig restarts ' that comes with LabVIEW and I can get the two of them working separately with my request.  I'm quite confused however try to put the two together (see attachment).

    If I put a "Start.vi" icon inside the while loop then I get an error "you can do this while the measure is still ongoing".  If I put it out of the loop and then the process only runs once.  I tried to put a loop structure case for restart only if necessary, but this has produced another error which the source escapes me.  Is there a standard way to do this and if so someone can point me in the direction of an example?

    See you soon,.

    Glen

    I think that in this situation, it would be preferable to use a Pause trigger.  You can use the break to stop the acquisition when the trigger was low and start when the trigger is high.  In this way, served only for the duration of your trigger pulse.  I've attached a screenshot of a VI that illustrates this principle in action.

  • Records of Vista Media Center starts and stops at the wrong time

    I use Windows Vista Home Premium, SP1 and that you may have noticed that when I schedule recordings for some a particular channel, Media Center starts 2 minutes beforehand and ends 2 minutes in advance.  This affects only shows record from my local affiliate Fox - all other shows for other strings start and stop at the appropriate time.

    I checked the system clock with the start times of the shows and both are correct.  In fact, I saw one day Media Center started to record for a show that did not begin until 08:00 at 19:58 (according to the system time).  I had my TV on at the same time and was able to verify that the program in question had not yet begun, so the flow of the internet was sychned with the dissemination of local transmission.

    It's very frustrating because I miss the end of some shows and cannot always extend registration ends because I'm ordering another channel, the next hour.

    I have the same problem with the FOX network...

    -1 make sure your clock automaticly sets in the internet and update once by pressing the link (which makes that he can see the time server)...

    There are two ways you can go with this:

    -If your departure time is correct, then just go to the Planner and choose the program (or series) you are trying to install, select the recording settings (or adjustment of series) or advanced setting... There is an option to "stop recording" 1 min, 2 min, 3 min, 5 min, until 2 hours after the recording is finished... I have mine set to 5 minutes after, and she fixed it...

    -If the starting time is disabled (as mine is), to enter ERM and manuver to tasks > settings > TV > recorder > recorder defaults

    This is where you define all the flaws of the recorder, find "Start when possible" and "Stop when possible", 4 min value (max allows MCE)... Save and exit, restart the machine too...

    You should be good to go...

    PS, I just read the last sentence in your post, you must only have a tv tuner card in your machine (I have two, and that's the reason why I bought two), so you can always have a problem when recording two different channels (back to back on the same channel should work okay).

  • Start and stop Virtual Machines with the system

    Hello

    In a server cluster @vcenter HA/DRS 5.1, I enabled start and stop virtual machines with the system option but after I checked two days later, he is off again somehow. What makes this option off? I had a power failure in the datacenter. vCenter server has not been upward. I started all of the ESXi servers manually then went all VMs account is declining. I want that they start automatically when server ESXi upward.

    Thanks in advance,

    Thank you. This option is more valid than if the hosts are part of an HA Cluster license. I suspect that you configured through the traditional vSphere Client and that it is a bug with this client. If you try with the new vSphere Web Client, you will find a notice that it is disabled and there is no button "Edit".

    Concerning

  • PowerCLI defining politics NTP to "Start and stop with the host" in ESXi 5

    Would appreciate any help in the definition of the strategy NTP on ESXi 5 hosts 'start and stop with the host. My script is currently using the following:

    Get-VMHost MyEsx | Get-VMHostService | where {$_.} Key - eq 'ntpd'} | Game-VMHostService-policy "automatic."

    This sets up the NTP service in "start automatically if all ports are open and stop when all ports are closed.

    "When I cange to 'MyEsx Get-VMHost | Get-VMHostService | where {$_.} Key - eq 'ntpd'} | Game-VMHostService-political ' market / stop with host"" the following is returned:

    «The possible enumeration values are "auto, On, Off«»»»

    Anyone know of a way (in PowerCLI) of the set up for the 'start and stop with host?

    OK, then you should choose politics "on".

    These are the policy values and what they match.

    Like this

    Get-VMHost MyEsx | Get-VMHostService | where {$_.Key -eq "ntpd"} | Set-VMHostService -Policy On
    
  • Determine the range start and stop for a partition partition

    Hello

    Using oracle 11.2.0.3

    We use the interval of separation and the partition Lems auto-generated variety. intervbal (range-hash) 1 month

    So what can you manually check the table and see Beach start and end of the partition is it possible to request to see data dictionary
    the range satrt and stop wishing to have script to automatically rename the generated system partitions based on the involved for example range if the generated partition has max date value

    waoul 3062013 want PART_201306

    Thank you

    >
    Checked user_tab_partitions as have sql geneerator can get the names of partition, but does not see the partition a dstop ranges.
    >
    Range of scores have NO ranges 'start and stop '. They have a high value and identification of the position.

    Data with partition key values< the="" high="" value="" and="" greater="" than="" or="" equal="" to="" the="" 'high="" value'="" of="" the="" partition="" with="" the="" next="" lower="" 'position="" id'="" goes="" into="" that="">

    You have not yet described what you need 'start' and 'stop' for.

  • Start and stop dependencies, one to use?

    Hello
    I want to put 2 resource custom in my cluster 11.2.
    Resource Genetiquea is the most important and resource B must follow the resource in the cluster.
    I want to use start and stop dependencies but which (hard, pullup, low)?

    Ex: If I start A resource in node 1, then resource B should automatically start on node 1
    If I stop A resource then also resource B must be stopped.
    If I move A resourse, then the resource B must follow resource A

    If I understand the situation,
    you want that resource B to operate only on the node where the resource is executed.

    You also want to automatically stop resource B if A resource is stopped.

    We know not if the resource B (at all) can be launched only if the resource is not runnging.

    Use a pullup beginning to "you want resource B to operate only on the node where the resource Genetiquea is executed".

    To "You also automatically stop resource B if the Genetiquea resource is stopped.", you must use a hard stop dependency.

    Subsequently if you cannot start the resource B at all unless the resource A is running, you must set the dependence of both start ' hard and a pullup types.

    HTH,
    Mihail

  • Free version of ESXi can support for configuration of start and stop virtual machines via vSphere Client?

    I have read and found some documents on ESXi.

    According to the documents, I know that ESXi free version does not support some advanced virtual machine configurations and does not support write to ESXi host permission. But when I download ESXi from vmware.com, I can't find the free version. He will always be a trial of the licensed version edition because I can always do the configuration of start and stop virtual machines via vSphere Client installation. I can also run scripts (lamw) pl in vMA to stop the ESXi host (authorization to write ok?)

    Then I confused. How can I get the really free version of ESXi? Or will the free version after 60 days of evaluation?

    Start/stop above configuration is in vSphere Client via 'Configuration'-> "start/stop VM"-> "Properties"... «-> "Allow the virtual computers start and stop automatically with the system" actions setting and stop virtual machines can be configured to "comments"turn off computer"or"Suspend".» Can any body tell me if it's supported by ESXi free edition?

    Is the free version of vSphere Client too? Because when I use the vSphere Client, he told me that I have 60 days of evaluation. This confused me again. I think that vSphere Client is always free, am I right?

    Any suggestion or advice is much appreciated.  _

    Micky

    Configuration of start and stop virtual machines is available with the free version and licensed, with the free version you would be configured everything via vSphere Client, where as with a licensed version, you can optionally use scripts to configure it and also issue restarts/stops using scripts.

    Second, shutdownHostViaSOAPAPICall.pl for the version licensed and free of ESX (i), this script will work in both free and licensed because it uses direct SOAP calls emulating the vSphere Client communication. Take a look at the documentation for details, but this of course is not supported by VMware.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Insertion of FLV videos which allow students to start and stop any where

    Hello

    I am inserting the flv videos that students must be able to start and stop anywhere, and when the video gets to the end, the student click on the button NEXT to go to the next slide.

    As long as the student allows playback of the video without interruption, the button NEXT appears at the end.

    The problem I have is that everything works except the button FOLLOWING does not appear at the end of the video, unless the button NEXT is visible for the duration of the video is.

    If the button IS visible all the while that the display of the video, the student is able to skip the video without looking.

    I need the students access to the entire video as part of the course.

    Is this possible?

    Here is what happened.

    I did what you suggested. I also had to insert another Widget playback bar to allow the student to stop the video and restart in a different position. The problem is that the student can stll drag the cursor in the horizontal position at the end of the video, and spend the rest of the video if they want to.

    What I had to do was to show only the playback bar near the end of the tail of the video to allow the student to maniplulate the position of the video if they want to replay one somewhere else. If they don't do anything, the video will automatically switch to the next slide.

    Thanks for the suggestion insert you as a "multi-slide synchronized video" that helped a lot.

  • Any script to start and stop essbase on Unix?

    I am trying to automate the starting and stop all services in a batch scripts. but my essbase is UNIX. I don't have much exp on Unix. can someone help me please to who?

    If you are closing services, you can use maxl like I said of the windows machine.

    To call a script at startup of windows, then you will need to study a little more maybe cygwin openssh, Rexec, telnet... Google is your friend.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • iOS 10 times to start and stop the music messed up

    I'm running a SE 64 GB iPhone with iOS 10. Many songs from my iTunes library has some moments of power, but after update, they are all mixed. Songs don't start or stop when they're supposed to, or they're going to start and stop at a random time, which is annoying. The same problem was in the beta, causing me to backup on iOS 9. I assumed that this bug would be fixed in the final version. All the solutions in addition to remove and re - download my library?

    Hello Carnage1215,

    Thank you for reaching out to the Community Support from Apple. I understand your music has had some problems and I want to help him. By the sounds of things that your songs start may be delayed or in the middle of the piece, is that correct?

    Before you make too much trouble shooting, it's a good idea to make a backup of your iPhone If you don't have it already. If you do not know how to save your phone from this article will guide you in the process: the backup of your iPhone, iPad and iPod touch

    Once you have made a backup, I would recommend to reset all the settings on your iPhone. This will ensure that all old data of a version of iOS parameter are removed and reset default. This removes all data and applications, photos or contacts, but it removes all of your preferences for the Wi - Fi, Bluetooth, do not disturb, Notifications, general, sounds, contact ID, brightness & paper painted and privacy, then you may need to define these things upwards after this reset.

    Do this please go to settings > general > reset > reset all settings.

    If you always use the same behavior after you restart your phone, please inform the community. We are all here to help.
    Best regards.

  • My Mac Mini is extremely slow and any video will start but soon stops and intermittently starts and stop immediately. What is the reason?

    My Mac Mini (end 2012) 2.5 ghz memory 8 GB Yosemite 10.10.5 is extremely slow. I read a few articles on communities, but unable to solve the problem. I plan to upgrade memory soon. In addition, a video game doesn't quite work. It starts and stops in 5 seconds and restarts it for a few seconds and stops completely. An advisor to fix the problem will be appreciated.

    When you see a beachball cursor or the slowness is particularly bad, note the exact time: hour, minute, second.

    These must be run as administrator. If you have only one user account, you are the administrator.

    Run the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    The title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    Each message in the journal begins with the date and time when it was entered. Highlight date back to the time you noted above.

    Select the messages entered since then until the end of the episode, or until they begin to repeat, whichever comes first.

    Copy messages to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost all this is useless to solve any particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    When you post the journal excerpt, an error message may appear on the web page: "you include content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Satellite A200-1FL: cooler starts and stops every minute only with battery

    Hello.

    I just bought an A200-1FL and I test these days. I noticed that the cooler starts and stops every minute about when I use it only with the battery.

    Disconnected from the power, even if I do not have too much, just browse the Internet. Is this normal?

    If I work with trendy food, the cooler makes no noise.

    Thank you.

    David

    Hello David

    Do you also have it tested with different profiles in power options (balanced, power saver, high performance)?

  • Complete noob - would like to measure the voltage to manual start and stop

    Hello

    As the topic says I'm a complete noob when it comes to programming OR.

    I'm looking for someone to point me in the right direction

    Installation program:

    Windows8 office

    Visual Studio 2013

    NI 6255 PCI data acquisition card

    Block connection OR SCB-68

    What I want to do:

    I want to write a console application to measure the voltage on the signal ai16

    -I want to be able to start and stop the application manually

    -I want to be able to pressure measured in a CSV output.

    Where I am:

    I compiled and ran the example "NOR-DAQ\Examples\DAQmx ANSI C\Analog In\Measure voltage.

    It is said that I have "collected" samples but I don't know what that means, as I do not see an output file...

    What I don't understand:

    Samples - I do not understand cela or know even where to start

    How can output file - I get the file to save the collected data.

    Thanks in advance

    Chad

    Hi Arron

    Thanks for the link, unfortunately, it has not helped because the instructions were for Visual Basic and C++ not. It was my fault for not putting the language of prog that I need help in my original post.

    However, I started to find help on this link: http://www.ni.com/tutorial/5409/en/

    -With the help of NOR-DAQmx in text based programming environments

Maybe you are looking for

  • Since updates, firefox has text problems

    I installed a number of updates on my laptop yesterday and since the text on several sites Web was displayed in a different font, often fuzzy and wide leg up or down. These changes have also passed in Google Chrome, but not in Internet Explorer, so I

  • Satellite P500 file system error

    I have a Satellite P500I am gettinga message on start up"checking file system on C: the type of file system is NTFS. Volume label is S3A8372DOO4. "and it goes no further everything it just stops. Also says a disk check has been programmed to jump pre

  • How to save a copy of Windows XP that has been created by an image?

    I used 'Image for Linux' to create an image of a PC with Windows XP, SP3.  With that done, I can copy the image to a new PC and it works fine (assuming that I stay within the limits of the PC HAL). My problem is that I don't have to enter a new key o

  • 1 TB external hard drive works on XP but not Windows 7

    1 TB Toshiba external hard drive. It works on my laptop that runs Windows XP bot not on the laptop that is running Windows 7, if the hard disk works. It also works on Vista. My Seagate (320 GB) hard drive works on the Windows 7 laptop - so the USB po

  • * Need help quickly please * fact the SL400 comes with europian or AC adapter / American CC?

    Im going to buy a Lenovo SL400 laptop I customized... I live in Israel, so for a problem, the AC adapter is eauropian or American? If not, how can I ask American replance europian AC adapter for Lenovo? I would appreciate any kind of help Have a nice