Is it possible to reinitialise a control value to default each time the program redo his cycle in a while loop ?

Is it possible to reinitialise a control value to default each time the program redo his cycle in a while loop ?
My problem is that I have a numeric control (0 or 1) and I want taht wahn the numeric is 1 labview makes the writing process of my data but after that the control must return to 0 to write only one time.
Is it possible ? I've tried some trials but none of them succeded

well i'm student and i have to write a program for school i don't know labview very well.
i post here the part of the program i have to do so you can see what i must do .
The button pass with datasocket so i can't use boolean and the problem is that the value must be set to 1 only for one cycle (one writing of the values). so when th people set it to 1 in internet explorer for exemple the value must be considered as a impulsion and as it is it always do a lot of cycle until the man set it manualy to 0 what i don't want.
Attachments:
exemple.vi ‏9 KB

Similar Messages

  • In the NI Library VI: Extract Numbers, the string control is automatically loaded each time the VI is opened with "Counting to five: one 2 three 4.0 five. Where is this string data coming from?

    Even after deleting the string "Counting to five: one 2 three 4. five." from the string control and replacing it with another string the original string returns after the VI is saved then reopened. Where is this string data coming from? I've attached a copy of the library function. I've been able in my application to get around the problem by replacing the string control with a string constant. But I'm still curious as to what's going on.
    Thanks,
    Chuck
    Solved!
    Go to Solution.
    Attachments:
    Extract Numbers Test.vi ‏9 KB

    Chuck,
    String control has been set to default with the string you are seeing.  To change this, enter the new string, right click the control and select
    Data Operations>>Make Current Value Default
    Now save your vi.

  • How to pass the value to "Assignment" when submit the program RFITEMGL?

    Hello friends,
    I want to submit program RFITEMGL  (t-code FBL3N) with some screen fields, some fields are OK to fill such as u201COpen at key dateu201D, u201CG/L accountu201D and u201CCompany codeu201D。 But for the field "Assignment" (It will appear after cilck Dynamic Selection), I don't know how to pass value to it.
    Could you help me about how to pass the value to "Assignment" when submit the program RFITEMGL  (t-code FBL3N) ?
    Thanks a lot!

    Hi,
    Well you can create a small BDC.
    Regards,
    Harsh Bansal

  • I have recently had problems in getting my Adobe Premiere Elements 10 to run. One of the gentlemen was able to take over control of my computer, and got it working for me, however since that time the program will sometimes open but most times it just free

    I have recently had problems in getting my Adobe Premiere Elements 10 to run. One of the gentlemen was able to take over control of my computer, and got it working for me, however since that time the program will sometimes open but most times it just freezes the computer and I have to shut it down and re open without any success with opening the elements program.
    Can you help

    Sosure
    What computer operating system is your Premiere Elements 10 running on?
    What video card/graphics card does your computer use? NVIDIA GeForce? If so, please read the Announcement about the Premiere Elements 10 NVIDIA GeForce issue which is found at the top of this web site. Does that apply to you? The explanation for the situation and the fix (roll back of the driver version) are all included in that Announcement.
    We need to rule in or out this factor at the onset before we get to other questions
    a. non NIVIDIA video card/graphics card driver
    b. project preset and properties of source media
    c. computer details
    More later.
    We will be watching for your reply.
    Thank you.
    ATR

  • I recently got a MacBook Pro and was interested in downloading Lightroom that I had previously purchased however there is no disk drive on my pro so was wondering if it is possible to download a different way without having to purchase the program again?

    I recently got a MacBook Pro and was interested in downloading Lightroom that I had previously purchased however there is no disk drive on my pro so was wondering if it is possible to download a different way without having to purchase the program again?

    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Is it possible to enter "Input Control" values on the report prompts screen? How?

    Our report users are used to enter their parameters on the prompt.
    I have created a new report on WEBI XI 3.1. and this report has some prompts and also input controls.
    That means, when the user wants to run the report they have to enter their parameters on the report prompt and then they have to navigate to the input control and select the values.
    That makes them feel like they are entering parameters twice for a report.
    Is there any way the initial value for an input control can be entered on a report prompt screen?
    So, the user enters the values of the prompt and the initial values of the input controls together only once at the prompt screen?

    Thank you very much for the confirmation Amit.
    Yes, I considered adding a prompt instead of an input control but this input control selects data based on a custom calculation performed in a variable at the report level. To create a prompt on the query I would have to make the calculation at the universe level.
    Anyway, it seems 'Input Control" may be a useful tool for our reports, so we decided to get our report users accustomed to the input control tool.
    Thanks again for the help.
    Francisco

  • Value does not fall within the expected range in my itemupdated eventreceiver while accessing a splist column on the root site collection

    hi,
     I am performing the below operations:
    1) Itemupdated event handler when a document is uploaded into the document library
    2) Now amreading another list which is in the root  site level so, i used spsite, spweb again and accessed that splist and trying to read single line of text column and user or group column.
    Now when i am reading this, i am getting the error "Value does not fall within the expected range".
    I went to resource throttling under central admin -->my current web appln and changed that value to 20  from 8
    even after performing the above, i am getting the same error.
    pls help anyone has faced this issue before.
    Accessing a splist which is under root site collection within the itemupdated eventreceiver is allowed in SP ?

    hello sir,
     as per my requirement i have to access a  splist which is residing in the ROOT SITE COLLECTION OF THIS WEB APPLICATION. the event receiver i have written is residing in one of the few document libraries within the sub site. there are hundreds
    of sub sites exist in this site collection. I need to access the root site collection within the itemevent receiver and access thatperson column from that splist. why i ahve kept this list at the root site collection level [
    http://server1:2020/ ] , because this  splist is the UI for customer's sp admin for performing  weekly tasks. like adding few items in the splist and my event receiver fires and check this column- person /group
    column ]  and apply permissions on the  document.
    so my doubt is it possible to access the root site collection from my event receiver code.
    spweb from properties web is just the subsite url and not the site collection. i want to get the root sitec ollection url's splist.
    also am already running this code under runwithelevatedprivileges.

  • Key figure values vary each time the report is run by different users

    Hi All,
    We are facing a unique problem, here it goes :
    Different users are getting different values for the same key figure, when executing the same query  on the same selection conditions.Each time, user executes the report, he is getting varying values for the same key figure.Any idea's how to resolve this issue??
    Thanks in Advance
    Bindu

    Hi Bindu,
    One reason might be due to authorizations as discussed earlier.
    check how frequently is the cube getting refreshed.
    This might also happen that if users are running the data at different times and there is a cube load in between.
    check for this.
    Cheers,
    Srinath.

  • What values do I enter in the program change field for EXS24 ?

    I am using YaMAHA WX5 WIND CONTROLLER to play instrument sin Logic. I can get 'next settings' and 'previuos settings' to work with cc values. However, because of the setup of the WX, it wouls work better for me if I coud use its program change buttons.
    What value should go in the program change box ?
    OPEn EXS24
    click edit
    navigate edit>preferences>select previous instrument or next instrument
    afer that what value will allow EXS24 to change instruments using my WX5.
    I have used MIDI monitor to find what value the WX sends and the only think that shows up is 'program'
    I have tried learn assignment in Logic. When I press the program change button, Logic reads it as program change but provides no value.
    Thanks

    any one?

  • I have a ASCII input feeding a value in. Each time this value falls between two numbers I want to increase the count by 1. How can I do this?

    I have been trying to work this out an I am sure is is not too difficult to do, but I cant seem to get anywhere with it. If anyone could help that would be great.
    Thanks
    RossH

    I am not currently at a PC with LabVIEW on, so Ic ant send you an example of how to do this. Instead you'll have to understand my description....
    I'll assume that you want to constantly monitor the input value...
    Use a while loop with a shift register to store the count value. You can initialise the count value to zero (or whatever you like) by wiring a numeric constant to it - to the left of the shift register - outside the loop. Place a case structure inside the loop and wire the shift register left to right through the false case. In the true case place the increment function and connect it between the input and output nodes you now have on the case structure. On each iteration of the loop the count value will either remain the same or be incremented b
    y one depending on whats wired to the boolean input on the case structure. Now you need to detect whether your ascii value is in range. You can use the 'In range and coerce' function for this (found in the comparison function pallette). Wire the range values and the input value to it and take the boolean output to the input of the case structure. The ascii value must be acquired within the loop, so that you are checking the updated value on each iteration (or if it comes via an array you could wire the array directly to the outside of the loop and enable indexing - in this case it would be best to use a for loop). You can place an indicator on the 'count' wire to monitor its value if you wish. Remember to also place some conditional statement to stop the loop when required and also a wait function should exist inside the loop. When the loop stops, the count value will be available at the output of the shift register.
    Hope this helps and is clear enough for you to implement?!

  • How can I increment a dynamic value each time the request is sent?

    One of my requests is passing a sequence number which gets incremented every time the request is sent. The sequence number is incremented in javascript on the client; the html looks something like this: target=target+"&sequenceNumber="+sequenceNumber++;
    How can I simulate that behavior in eload?

    In this case all we needed was a randomly generated incrementing number, so we used the timestamp function available within Navigation Editor which is lightweight and easy to use.
    Open Navigation Editor (Ctrl + E) >
    Select the Query String (or Post) parameter which should be randomly incremented and change its Type in the properties window to function. The function name will auto populate to TimeStamp.
    Save the script and run...

  • LabVIEW saves control values automatically - resulting in large files

    Hello,
    I have a problem in LabVIEW. I'm using Vision Development Module and when I save the VI the file is very large (few MB). When I open it back in LabVIEW it turns out that all values on front panel controls have been saved (including images, what makes the file so big).
    Somehow LabVIEW saves the VI with controls values by default, even if I don't want to do that.
    How to turn it off?

    Hi Daresh,
    I think that simply reinitializing the controls (and indicators probably) might solve your problem.
    Please take a look at this knowledge base, to find out how to do this programmatically and let me know, if this resolved your issue.
    Have a great day!
    Best regards,
    Jano

  • How to use while loops to implement a simple climate control.

    Hi,
    I am currently a 4’th year computer systems engineering student in South Africa doing a primitive climate control project in LabVIEW 8.0. Although my knowledge and skill level of LabVIEW is far from that of an expert, I really enjoy working with it. The project consists of a motor driving some fan blades, a resistor heater and an analog temperature sensor. The basic functionality entails that a user specifies a desired temperature and then the program will heat if the current temperature is lower than desired or cool if the current temperature is above the desired temperature.
    What I want to add is an acceptable temperature difference so that the fan and heater do not switch constantly as the threshold temperature is reached. Rather leave the current temperature to linger between the maximum (current + acceptable difference) or minimum (current – acceptable difference) allowed temperature before heating or cooling it to the desired temperature once again.
    I have attached 2 VI’s:
    Final Assignment: I tried to achieve the sensible climate control by making use of a formula node. As soon as I substituted the if statements in the formula node with while statements, the VI did not respond. It did not give any errors, it just didn’t respond.
    Final Assignment2: I tried the same but by making use of while loop structures. The while where my Input DAQ is works fine, but none of the other while loops work.
    Please advise me on possible solutions for my problem/project.
    Thank you in advance.
    D. Weppenaar
    Attachments:
    Final Assignment1.vi ‏254 KB
    Final Assignment21.vi ‏256 KB

    1. Your VI does not respond because your formula node is trapped in an infinite loop and cannot exit if you're out of the deadband. Replace the words "while" with "if" (or similar) and you might be getting somewhere. Sorry, I don't have DAQ installed, but what determines the loop rate?
    2. You have a dataflow issue. Only the inner loop on the left will run. All other loops must wait because they depend on data from the first loop. data is only available at an output tunnel of a loop once the loop finishes and a loop cannot start until all input tunnels contain data. Also the first loop can never stop, because the stop button is outside the loop and will never get read once the inner loop starts. The stop button needs to be in the innermost loop.
    Most likely, all code segments should run synchronized, so delete all the inner loops. They serve no purpose. All yon need is the big outer loop as in the first code.
    There are many ways to directly observe what is going on. For example you could run the VI in execution highlighting mode while watching the diagram.
    Clearly, you need to become more familiar with LabVIEW basics. Maybe do a tutorial? Right now you might think that dataflow is a hindrance while in fact it is one of the most powerful advantages of dataflow programming. You simply need to be familiar with its logic.
    LabVIEW Champion . Do more with less code and in less time .

  • DATASET_WRITE_ERROR :How to know the value of a field at the time of error?

    Hi All,
    I have an ABAP code that write some records to a  flat file. Am getting a DATASET_WRITE_ERROR when this program is run.
    in ST22 i checked for any info that could be of help.
    The Error Text is: "No Space left on device"
    Error code: 28.
    Now i want to know after writing how many records did the program threw the error.
    I have a counter named WRITE_CTR. <b>Is there any way in the debug mode I can check for the value of WRITE-CTR just before the program terminated ?</b> checking the value of counter each time a record is written is not practical as there are almost 40k records in total.
    In ST22 i checked the section "Chosen Variables". unfortunately this counter's value is not listed there.
    Please let me know if there is any way i can see the contents of a field just before a short dump is generated.
    Otherwise is there any option during debug that i can set a breakpoint on a statement when the field WRITE-CTR=<some value> say when WRITE-CTR = 30000 ?
    Thanks in advance,
    Rit

    Ok. Havent used Try..Catch in ABAP. I'll try using that. That should be a better way. Thanks.
    I think it throws the error only after 20 or 30000 records are written. So its not possible to set a breakpoint where it writes to file and check which all records are written.
    I wanted to know if there's any way to know the value of a filed just before the error is thrown. In the 'Watch' feature i saw an option to select a field and then give a comparison operator and all. Do you know how to use that ? Will that help me to break the execution when a field value equals a limit ? Just wondering what the Watch option is for!!
    Regrads,
    rit

  • Is it possible to run a script each time a .CSV file is updated?

    I am having trouble with a script I am trying to write, which is made up of two parts:
    A .CSV file generated by PHP/MySQL whenever an RSS feed is updated. The contents of the .CSV are overwritten each time the PHP runs.
    A DataMerge script, written in JavaScript.
    What I would like to do is run the DataMerge script each time the .CSV file is updated. Is this possible, perhaps using an Event Listener within the PHP to trigger the DataMerge script? Or am I approaching this in the wrong way? I'm grateful for any thoughts you might have. Thanks, F.H.

    I would use Rorohiko's APID ToolKit: http://www.rorohiko.com/wordpress/indesign-downloads/active-page-item-developer/
    It has fileChanged event that is sent after the observed external file has changed.
    sorry guys for "labouring the point", but I'm working on very advanced project - and I need to know what my tool can or can't do
    and in this case - using APID will break point 2.3 of EULA, right ? interaction with external datasource - without user action ?
    robin
    www.adobescripts.co.uk

Maybe you are looking for