Block sequence error


Problem:
I have two procedures of the same type, but with different mouth names as you can see from the images.

  1. First procedure: blocks on the left
  2. Second procedure: blocks on the right

When I start the procedure on the left,
-"Clock_Translate_Text_Minut"
(Instead of continuing the procedure by moving to the next block "Clock_Repeat_Minut"

Move to the right block, "Clock_You need to translate." and then move on to the left block.
I don't understand how this is possible.

Hi @Angelo_D , the clocks are set to false at the beginning?
Where and when you active the clocks?

Ciao Raffaele e grazie per l’interessamento.

I blocchi che vedi, servono per controllare una sequenza di immissione, che una volta esauriti tutti i controlli, termina, con la visualizzazione di una finestra che chiede di inserire il dato richiesto, (che vedi in immagine).

Nel progetto esistono due procedure con gli stessi blocchi, quella a sinistra, con indicazioni in inglese nei nomi dei blocchi e l’altra a destra con i nomi dei blocchi in Italiano.

Quella in Italiano a destra, funziona ed esegue ogni passaggio esattamente, terminando con l’invio del messaggio.

Quella a sinistra, al blocco,” “Clock_Traslate_Text_Minut” non so per quale motivo, anziché passare al suo blocco successivo, che avvierebbe, “Clock_Repeat_Minut”, passa al blocco della seconda procedura, avviando “Clock_Devi_Tradurre”, attivandola.

Hi Raffaele and thanks for your interest.

The blocks you see are used to control an entry sequence, which, once all the controls have been exhausted, ends with the display of a window asking you to enter the requested data (which you see in the image).

In the project there are two procedures with the same blocks, the one on the left, with indications in English in the block names and the other on the right with the block names in Italian.

The one in Italian on the right works and carries out each step exactly, ending with sending the message.

The one on the left, at the block, "Clock_Traslate_Text_Minut" I don't know why, instead of moving on to its next block, which would start, "Clock_Repeat_Minut", it goes to the block of the second procedure, starting "Clock_Devi_Tradurre", activating it.

Ok.

  1. Check if at the beginning the clocks are in the right position (true false)
  2. Check if the textboxes or labels you are verifying are right
  3. Delete the blocks of the clocks and add them again (you made some copy-paste ?)

Why a clock to manage this operation? You need to push the procedure ?

Esattamente bravissimo.
Infatti ho effettuato tutte le sostituzioni dei timer anche delle etichette, ora sto provando a eliminare la procedura di destra quella in italiano.

Penso di averlo già fatto, ma riprovo.

Ho talmente fatto tante prove, che non ricordo più quali.

Eventualmente ripeterò la stessa procedura in un nuovo progetto con solo tale procedura, se funziona, come penso che sarà, proverò ad aggiungere la seconda nello stesso modo e vedrò se il problema si ripresenterà, Prima o poi troverò la soluzione e scoprirò il problema.

Sarà come al solito qualche mio errore che non riesco a vedere, in tal caso sospenderò per qualche giorno e poi ritornerò sul progetto, forse con la mente liberà vedrò il problema.

Exactly very good.
In fact I have carried out all the replacements of the timers including the labels, now I am trying to eliminate the procedure on the right, the one in Italian.

I think I've already done this, but I'll try again.

I did so many tests that I no longer remember which ones.

Eventually I will repeat the same procedure in a new project with only this procedure, if it works, as I think it will, I will try to add the second one in the same way and see if the problem occurs again. Sooner or later I will find the solution and discover the problem.

As usual, it will be some mistake of mine that I cannot see, in which case I will suspend for a few days and then return to the project, perhaps with a clear mind I will see the problem.

The blocks you showed look correct :man_shrugging:t2:
The only advice I can give you is to identify the right moment in which the code starts and check the blocks connected, but I think you had already tried many times :joy:
Wait for another hint or different point of view

I would look into how different Notifiers affect the flow of control, especially the Notifiers that have completion Events versus those that don't.

YES ABG, In fact both you and Raffaele are right.

Sorry everyone, but as we wanted to demonstrate, this time too it was an oversight on my part.

One timer pointed to another that was identical to yet another, which in turn contained the same command that I couldn't find for days, which started the one that wasn't supposed to start.

Unfortunately, even though I had been looking for it for days (otherwise I wouldn't have posted the problem), I couldn't find it. It's incredible. I've looked at it several times, but I couldn't see that damned block.
Thanks and sorry.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.