the chain loop

I have a DDE.

There's a chain like that... "A00-00', which is the number of rev."

I need to display the next rev_number... means... I need to display ' ' 00 A01, a02-00 and so on... until 99.»

How to increment this?

Please notify

Reg
AR

If it is a fixed number of 100 you need to generate both then you can simply use CONNECT BY and generate the number like this.

select substr(rev_number, 1, 1) || to_char(no, 'fm09') || '-00' rev_number
  from (
           select level-1 no
             from dual
          connect by level <= 100
       )
 cross
  join (
           select 'A00-00' rev_number
             from dual
       );

If the sound generated way timely (one at a time) and you must maintain sequence then you must use the SEQUENCE of object and do it.

But your question is not very clear. So, it would be useful to you to explain to your goal of the company.

Tags: Database

Similar Questions

  • Some parts of the chain has lost communication with the Arduino.

    Everything by contacting arduino, the chain that I receive from the arduino is buffered, but it is not completely read by LabVIEW

    and change the data to trace some information is lost. Someone knows how to fix this?

    Information may be useful:

    Arduino mega

    Baud rate: 19200

    Delay in the Arduino loop: 10 ms

    The string is composed of 3 integers values concatenated like this:

    gh123ab123cd123ef

    I m attaching the Vi.

    Thx a lot!

    Paulo

    Is your waiting time in fact 0 milliseconds?  It is not very long wait for a message to come.

    Each message ends with a line as a termination character newline character?  You have the default stop character.  If Yes, then you're better to read a large number of bytes and let the end of termination character read, rather than using "bytes to the Port.  So now that you read, not all bytes have arrived yet, then you're bytes to the port will be less that you really want and you'll have the wind reading an incomplete message.

  • If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore all changes since the first full file

    If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore the file with any changes made since the full backup first file...

    If the TM drive storage is full TM automatically deletes the version the oldest files for the new incremental backups can be made. Thus, in this case you cannot restore the versions that TM deleted because it takes more storage.

  • The Milanese loop can be worn all by playing of the drum and operation etc. of hiking? (I'm a drummer) and I can wear Apple Watch in the shower?

    I'm in a band and make a lot of drums and hike as well. A lot of things on the outside where I might have to move my arm quickly or a lot. Always do

    the Milanese loop what the band for me? (I'm a guy is told by the way) and secondly I can wear Apple Watch in the shower? answers will help me to decide what the band to get when I buy a Apple Watch 42mm soon

    See this document: water on Apple Watch - Apple Support resistance

    https://support.Apple.com/en-us/HT205000

    No shower while wearing the Watch:

    Your Apple Watch is splash and water resistant, but not waterproof.

    ....

    and

    The following can affect your Apple Watch water resistance and should be avoided:

    • Do drop your Apple Watch or submit to other impacts.
    • Submerge your Apple Watch in water for long periods of time.
    • Swim or bathe with your Apple Watch.
    • Expose your Apple Watch pressurized water or water of high velocity, for example, take a shower, water skiing, wake boarding, surfing, jet skiing and so on.
    • Wear your Apple Watch in a sauna or Hammam room.

    I'm not sure of the loop of the Milanese to your needs.  It is easily adjustable and fits perfectly, but it's magnetic and I'm not sure if that may interfere with your equipment.

    My watch has the sports Strip and that is comfortable also.

  • Updated Garageband for Mac - impossible to find all the Apple Loops loops

    Hi, a few days I've updated Garageband for Mac. Assume that coming up with 2600 apple loops and allows for live lines to use.

    After the update, Apple Loops the loop browser said I don't have that approximately 1900 ++ loops. Where are the loops? Not sure I missed all the steps.

    Please notify. Thank you

    See this discussion: Re: New loops for 10.1.1 even as new loops of Logic?

    Have you downloaded the new loops and sounds using the command from the menu bar main GarageBand ' GarageBand > SoundLibrary > download all sounds available?

  • Stop the multiple loop without delay to the cRIO

    Hi all

    the VI in cRIO has a large loop, it contains 4 small while in parallel to the work loop. In every little while, they have a stacked with a lot of frame sequence.
    I want to stop everything with only one STOP button on my host live. But when I press STOP, I have to wait for all the small loops completed their charge and finally the big one can stop. Is there any solution to immediately end all?

    Thank you very much

    d4nvjpl0ng4n wrote:

    the VI in cRIO has a large loop, it contains 4 small while in parallel to the work loop. In every little while, they have a stacked with a lot of frame sequence.
    I want to stop everything with only one STOP button on my host live. But when I press STOP, I have to wait for all the small loops completed their charge and finally the big one can stop. Is there any solution to immediately end all?

    1. you should not have the large loop.  Which is just to add unnecessary complexity.

    2. you hit the major problem with the Structures of stacked sequence: everything must go before it is complete.  The solution is to use a State Machine.

  • analysis of the chain of the serial port to retrieve data

    Hi all

    It is a problem of beginner. I have two sensors sending data to a same wireless serial port. In order to distinguish which is which. I coded each sensor to send data with a unique address UoL 000 X, then followed by two values, I want to read. These two values are in the float with format fixed impression (decimal fixed after the third bit). The format string of the first sensor should looks like UoL 0001 123,45678 876.54321. I use the Scan of the String function, unfortunately, it doesn't work that way. Could you please check the VI for me? Or a better solution for this application. Thank you very much.

    S.G

    It does not because what you have set is not different from what you have joined earlier.  Have you tried something?

    See this amendment attached to your VI.  The format strings work with the examples you gave, and sends the data to the appropriate indicator.

    Also, I cleaned up the mess that the inner loop where you were waiting for 1 or more bytes.  Which means most of the time that you would probably get an incomplete message.

  • global variable functional to read and write data from and to the parallel loops

    Hello!

    Here is the following situation: I have 3 parallel while loops. I have the fire at the same time. The first loop reads the data from GPIB instruments. Second readers PID powered analog output card (software waveform static timed, cc. Update 3 seconds interval) with DAQmx features. The third argument stores the data in the case of certain conditions to the PDM file.

    I create a functional global variable (FGV) with write and read options containing the measured data (30 double CC in cluster). So when I get a new reading of the GPIB loop, I put the new values in the FGV.

    In parallel loops, I read the FGV when necessary. I know that, I just create a race condition, because when one of the loops reads or writes data in the FGV, no other loops can access, while they hold their race until the loop of winner completed his reading or writing on it.

    In my case, it is not a problem of losing data measured, and also a few short drapes in some loops are okey. (data measured, including the temperature values, used in the loop of PID and the loop to save file, the system also has constants for a significant period, is not a problem if the PID loop reads sometimes on values previous to the FGV in case if he won the race)

    What is a "barbarian way" to make such a code? (later, I want to give a good GUI to my code, so probably I would have to use some sort of event management,...)

    If you recommend something more elegant, please give me some links where I can learn more.

    I started to read and learn to try to expand my little knowledge in LabView, but to me, it seems I can find examples really pro and documents (http://expressionflow.com/2007/10/01/labview-queued-state-machine-architecture/ , http://forums.ni.com/t5/LabVIEW/Community-Nugget-2009-03-13-An-Event-based-messageing-framework/m-p/... ) and really simple, but not in the "middle range". This forum and other sources of NEITHER are really good, but I want to swim in a huge "info-ocean", without guidance...

    I'm after course 1 Core and Core 2, do you know that some free educational material that is based on these? (to say something 'intermediary'...)

    Thank you very much!

    I would use queues instead of a FGV in this particular case.

    A driving force that would provide a signal saying that the data is ready, you can change your FGV readme...  And maybe have an array of clusters to hold values more waiting to be read, etc...  Things get complicated...

    A queue however will do nicely.  You may have an understanding of producer/consumer.  You will need to do maybe not this 3rd loop.  If install you a state machine, which has (among other States): wait for the data (that is where the queue is read), writing to a file, disk PID.

    Your state of inactivity would be the "waiting for data".

    The PID is dependent on the data?  Otherwise it must operate its own, and Yes, you may have a loop for it.  Should run at a different rate from the loop reading data, you may have a different queue or other means for transmitting data to this loop.

    Another tip would be to define the State of PID as the default state and check for new data at regular intervals, thus reducing to 2 loops (producer / consumer).  The new data would be shared on the wires using a shift register.

    There are many tricks.  However, I would not recommend using a basic FGV as your solution.  An Action Engine, would be okay if it includes a mechanism to flag what data has been read (ie index, etc) or once the data has been read, it is deleted from the AE. 

    There are many ways to implement a solution, you just have to pick the right one that will avoid loosing data.

  • delete 2d array in the while loop

    I have a table 2D being initialized outside of the loop executing a state machine, how would a clear table 2d in the while loop? I guess I'm not sure what to wire a constant matrix empty 2D too =)

    When you want to erase (regardless of this Boolean condition), wire just a constant matrix 2D of your shift register.  See attachment.

  • Can I programmatically select a control in the chain?

    I'm trying to programmatically select a control of the chain on the front panel for use with a scanner. The scanner will scan a bar code, and then write the data. It basically as a keyboard. Is it possible to programmatically select a control of the chain without going through the user click the control on the front panel?

    Just use a key Focus property node. Right click, create > property Node > Focus button. Change to write and connect a true him.

  • How to stop the While loop in the Structure of the event with the same button?

    Hello

    I have a problem. I want to use a single control to activate an event in a structure of the event and the same control to end a while loop in this case.

    It is possible to use 2 controls to do this, but I need to be alone.

    Thank you

    You should NEVER place while loops inside the case of the event, and it is never necessary to do. Think about it: all you have to do is spin the code. You can easily use the outside while loop for everything. Simply place the code of the loop internal (without the inner loop) inside the case of delay and manipulate the time-out period between a pending finished and the infinite (-1), depending on the State of the Boolean value.

    A very simple example (LV 8.0)

  • What happens when you specify multiple iterations of the parallel loop that you have processors?

    I have an app that does the same things together up to 10 times for different material resources. For example, I have a list of 10 COM ports I want to send orders series. I want that they be executed as close to synchronous as possible, but up to 200 ms sync would be acceptable. Currently, I use a loop set up to 10 parallel iterations and assume that LabVIEW will juggle processors according to the needs, the iterations run it as simultaneously as possible. Experimentally, LabVIEW indeed seems to create 10 parallel loops, even when running on a computer with only 4 logical processors, otherwise you go 10-element inside the loop would only be not able to complete, right?

    My question is, I'm doing something verboten with my number of iterations of the loop? According to the help of LabVIEW for loop iteration parallelism dialog box: "If you plan to distribute the VI on multiple computers, set number of instances of parallel loop generated equal to the maximum number of logical processors, you wait for one of these computers contain never.» Clearly I'm violating this opinion and yet it seems to work. My performance will essentially be the same as if I had 10 blocks of code in parallel on the block diagram?

    "Reading'how many Threads don't LabVIEW allocates?" links to this page, it seems that, at worst, LabVIEW is hungry for thread and switching of threads between iterations, but my short demand slowing down enough to accommodate this suboptimal situation. At best, LabVIEW has allocated 4 threads per the enforcement system, so as long as I have at least 3 processors, there are at least more son than the parallelized loop iterations. It's all a bit confusing.

    RnDMonkey wrote:

    I have an app that does the same things together up to 10 times for different material resources. For example, I have a list of 10 COM ports I want to send orders series. I want that they be executed as close to synchronous as possible, but up to 200 ms sync would be acceptable. Currently, I use a loop set up to 10 parallel iterations and assume that LabVIEW will juggle processors according to the needs, the iterations run it as simultaneously as possible. Experimentally, LabVIEW indeed seems to create 10 parallel loops, even when running on a computer with only 4 logical processors, otherwise you go 10-element inside the loop would only be not able to complete, right?

    My question is, I'm doing something verboten with my number of iterations of the loop? According to the help of LabVIEW for loop iteration parallelism dialog box: "If you plan to distribute the VI on multiple computers, set number of instances of parallel loop generated equal to the maximum number of logical processors, you wait for one of these computers contain never.» Clearly I'm violating this opinion and yet it seems to work. My performance will essentially be the same as if I had 10 blocks of code in parallel on the block diagram?

    "Reading'how many Threads don't LabVIEW allocates?" links to this page, it seems that, at worst, LabVIEW is hungry for thread and switching of threads between iterations, but my short demand slowing down enough to accommodate this suboptimal situation. At best, LabVIEW has allocated 4 threads per the enforcement system, so as long as I have at least 3 processors, there are at least more son than the parallelized loop iterations. It's all a bit confusing.

    In this case (where you're interacting with the external hardware and have an appointment) there will be a delay of inheirant at each iteration.  THUS, "Oversubscibing" or by allowing the parallel proceedings as logical processors, actually improves performance by running another period of waiting during the iteration.  In fact, you're not "Violate the advice" of oversubscibing.  You use this technique correctly! Just may not have read about this.  See Esp PP 4

  • Rate the triggered loop of the timed iterations of TTL

    Hi all

    I have a camera control VI that awaits the shutter of the camera TTL information and use it as a source of synchronization for a timed loop. In this timed loop, the camera is read and analyzed. Program should respond as soon as possible a new image and that's why I put the timed loop to "Throw missing items" so that it does not seek to catch up (events im trying to detect is quite rare and last several frames).

    The problem is this: when I put the camera for a certain numebr of frameworks (e.g. 10,000) sometimes due to discarded frames ever loop iteration number the last number of frame expected and do not remove (it remains to 9.998 for example). I noticed I can stop it by deselecting "maintain phase." However, it is clear to me what happens exactly with these settings in a situation of TTL triggered.

    It is true that the loop passes the new data directly but starts the next loop the correct number of iteration (+ 1)? Or something else happening?

    IM grateful for any help!

    Dear j.win,

    If you deselect the option 'Maintain the Original Phase', in fact you never will reject any iteration, whatever the value "Discard missed items." On the contrary, the loop will try to catch up the iterations of the end.

    Use of a source of external synchronization (for example your TTL) instead of a source of internal synchronization does not change. You can use the 'period' entrance (dt) of the loop timed to specify when the loop is supposed to go (the unit is the "ticks" in the case of an external synchronization source). A value of '1' means that test loop to iterate over all the graduations of external synchronization source. If for any reason any iteration lasts longer than that, you'll have an iteration "end". Also with a value of '1', it is not possible to change the "phase", then the parameter "Initial Phase to maintain" will be defined only weather or not ignore you the iteration. If 'Maintain initial Phase' is set to false, the loop will run immediately after an end iteration to run always, but a little of the latter. If the 'Maintain initial Phase' is true, the loop will run immediately after an iteraion end if the option 'remove point missed' is false otherwise the loop will jump the iteration.

    It's more clear now?

    Kind regards

  • How the entry changes with each iteration of the while loop

    Hello

    can anyone explain (clarify) to know how or what contribution will be fed like the d block of adaptive filtering for the first, second entry (n) and remaining iterations of the while loop as shown in the picture as an attachment...

    As I need to feed the e (n) out of the while loop as input d (n) to the Adaptive block for the first iteration for the next iteration of the previous output e (n) of the block Adaptive must be fed back as input (n) d and other x (n) of entry form the DAQmx.

    Thank you.

    You have a shift register on the edge of the loop, so for the first iteration, the input (n) d will get everything that feeds the shift register on the left of the outside. After that the adaptive filtering performed, e (n) is injected in the shift to the right, register to be read from the shift register on the left on the next iteration. And so on. This seems pretty much what you want.

    PatanGova wrote:

    As I need to feed the e (n) out of the while loop as input d (n) to the Adaptive block for the first iteration for the next iteration of the previous output e (n) of the block Adaptive must be fed back as input (n) d and other x (n) of entry form the DAQmx.

    If you need retain the value in calls, use a node that is initialized in the world of feedback to feed out of the while loop at the entrance.

  • How to create a control of time for the while loop?

    Hi all

    I want to control my time running of the loop. In other words, I want to stop everything in the execution of the loop after a time (in ms) that is defined by the user. For example user defines Control Panel for 5 seconds before a while loop runs and stops after 5 seconds.

    I don't know is it possible with the while loop. I managed with the timed loop, but this must be wrong with my application. Y at - it of the other loops for timed control if it is not possible with while loop? There is also a simple loop with .vi random number (0-1) as an attachment.

    Best regards

    Jick

    Hi again,

    I managed to solve my problem right after I posted my first message. I did it with the passage of time and the register shift (for the elapsed time of reset).

    Thanks for your replies anyway!

    Best R

    Jick

Maybe you are looking for

  • Re: Hard Sencond is missing on my Satellite A200

    HelloI have a Toshiba A200 series, I had so many problems and still have tons of problems with it, but I'll start with the most important of them that my hard drive is almost full. My lap Top is supposed to have 2 142 GB hard drives. In computer grap

  • HP CoolSense missing - please help

    Hello I'm running a DV6 - 6156EA laptop computer with Windows 7 64 bit operating system. A few months ago, I had problems with HP Support Assistant does not work after it was updated.  David PK tried to help me a lot to solve the problem.  However it

  • How can you delete a book?

    How can I delete a book that I don't want anymore?

  • Re-initialize the sliders in graphs

    Hello I can not re - initialize the sliders in the graphs in LabVIEW (I tried in 8.2 and 2010, same problem). I tried to use the "selected cursor" property and initialize it with an empty array. When I run it, no more sliders are selected (which is w

  • How to connect an lvdt and cell to usb 6008

    Please help me iam do not know how to choose a daq card. looking for a lost lt but iam. I want to measure the force and displacement at the same time a bench test of suspension and I wanted to use or usb6008 because of my budget for the project. can