On Wiring/CTC dialogs the IID choosing lists are empty

Post Reply
RainerK
Moderator
Posts: 3997
Joined: 29.04.2009, 09:31
Location: Sprockhövel (zwischen BO u. W)
Contact:

On Wiring/CTC dialogs the IID choosing lists are empty

Post by RainerK » 13.06.2018, 03:01

Hi Rob,

with start of rocview the IID choosing lists on the Wiring tabs of routes, sensors and switches are empty.

After an opening of the Rocrail properties dialog and closing it immediately without other operations
and then open again the Wiring tabs the Choosing lists contains the defined IIDs.

rjversluis
Site Admin
Posts: 41711
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: On Wiring/CTC dialogs the IID choosing lists are empty

Post by rjversluis » 13.06.2018, 06:41

Hi Rainer,

those IID lists can only be filled after the rocrail.ini has been received.
Normally Rocview requests the rocrail.ini after a server connection.
This concerns all IID lists, not only the wiring ones.
The IID lists remain empty if no server is connected.

RainerK
Moderator
Posts: 3997
Joined: 29.04.2009, 09:31
Location: Sprockhövel (zwischen BO u. W)
Contact:

Re: On Wiring/CTC dialogs the IID choosing lists are empty

Post by RainerK » 13.06.2018, 14:41

Hi Rob,

this is how I proceeded:

Rocrail opens as a workspace.
Messages are running in the server window.
Now I wait about one minute.
Even then, the behavior is as described above: No IIDs in Choosing lists.

I confirm your reference that first in other tested object dialogues no IID will be listed.
IID will only be listed in all of the tested object dialogues
when the Rocrail properties dialogue once opened shortly.

RainerK
Moderator
Posts: 3997
Joined: 29.04.2009, 09:31
Location: Sprockhövel (zwischen BO u. W)
Contact:

Re: On Wiring/CTC dialogs the IID choosing lists are empty

Post by RainerK » 13.06.2018, 23:34

Hi Rob,

with the Rev. 14.034 I have the procedure with the 4 possible combinations with 32/64 Bit of Rocview and Rocrail server repeated again.
This resulted in the following interesting insights:
With a 32- and 64-bit Rocrail server, the problem only occurs with the 32-bit Rocview.
With the 64-bit Rocview, the IIDs are available immediately after startup for both Rocrail server variants 32 and 64 Bit.
The results can be reproduced beyond doubt even after several restarts.

rjversluis
Site Admin
Posts: 41711
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: On Wiring/CTC dialogs the IID choosing lists are empty

Post by rjversluis » 14.06.2018, 06:35

Hi Rainer,

there is no code difference between 32 and 64 bit Windows, so I have no idea why this happens.
Can you check or attache the Rocview trace files?

RainerK
Moderator
Posts: 3997
Joined: 29.04.2009, 09:31
Location: Sprockhövel (zwischen BO u. W)
Contact:

Re: On Wiring/CTC dialogs the IID choosing lists are empty

Post by RainerK » 14.06.2018, 23:47

Hi Rob,

the Trace files from the two Rocview versions (32 and 64 bit, rev. 14.037) are attached.

In both cases I used after the start the same procedure:
Opening of the dialog Route 'index', marked the route "123-456", changed to the tab 'wiring' and looked in the IID choosing lists.
In 32 bit they was empty, in 64 bit they containing the three defined IIDs.
After that I closed Rocview inclusive shutdown of the server.

With my small knowledge about traces I can't found a significant difference in relation to the issue between the Trace files.
But I saw differences in the order of some Trace lines. Maybe there are Timing issues.
Attachments
rocview.000-64.trc
(32.01 KiB) Downloaded 5 times
rocview.000-32.trc
(32.06 KiB) Downloaded 5 times

rjversluis
Site Admin
Posts: 41711
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: On Wiring/CTC dialogs the IID choosing lists are empty

Post by rjversluis » 15.06.2018, 07:29

Hi Rainer,

both do request the ini:

Code: Select all

20180615.000036.081 g9999I iReader  app      1109 get the rocrail.ini...
20180615.000036.081 g9999I iReader  app      2063 sendToRocrail( <sys cmd="getini" controlcode="" slavecode=""/>
I have no idea why the win32 does not get the ini.
Can you open the Rocrail Server settings dialog in the win32 Rocview?

RainerK
Moderator
Posts: 3997
Joined: 29.04.2009, 09:31
Location: Sprockhövel (zwischen BO u. W)
Contact:

Re: On Wiring/CTC dialogs the IID choosing lists are empty

Post by RainerK » 15.06.2018, 15:07

Hi Rob,
rjversluis wrote:...Can you open the Rocrail Server settings dialog in the win32 Rocview?
Yes.
As I described in my first post, after that the IIDs will be listed.

I have attached a new Trace file with the following extended procedure in rocview 32 bit:
I did open the dialog Route 'index', marked the route "123-456", changed to the tab 'wiring'
and then I looked in the IID choosing lists = they was empty,
Additional then I did open the Rocrail properties dialog and immediately closed it again
and I did repeat the part of the procedure as before = the choosing lists contains the IIDs.
Attachments
rocview.000-32-inidialog.trc
(32.82 KiB) Downloaded 3 times

Post Reply

Return to “General”