PT & Tams MasterControl

andre0604
Posts: 496
Joined: 06.01.2009, 19:36
Location: Hannover, Germany

Post by andre0604 » 29.09.2010, 10:07

Hi Rob,

great. My system is not hanging anymore but there is still a small issue left. If I read the first CV everything is Ok, trying to read the next CV no response from the programming track, trying again reading is Ok. Because of this behaviour Read all is not working. Sometimes I can see the message "error Mutex on trywait". With the terminal programm I can read one CV after another very quickly. This is not a big issue for me but if you like to do more testing please let me know.

Best regards
Andre

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

Post by rjversluis » 29.09.2010, 10:58

Hi Andre,

it seems that the programming commands holds up other processing for a while.

I see only one solution to avoid this by using the PT button which disable all other threads to communicate with the Tams MC. But this would have the side effect that you cannot read/write CV's and running trains in auto mode simultaneous...

The mix between p50x ASCII and Binary is not a very good one. :-(
But I cannot change that: Tams.

andre0604
Posts: 496
Joined: 06.01.2009, 19:36
Location: Hannover, Germany

Post by andre0604 » 29.09.2010, 11:33

Hi Rob,

thanks for your Info. I understand that this issue is TAMS related. On the the other hand in my mind I don´t like trains running in auto mode while I am busy with programming decoders. Maybe some other TAMS user can give their mind about that. Many thanks again to Rob.

Best regards
Andre

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

Post by rjversluis » 29.09.2010, 13:15

Hi Andre,

you can test this revision using the PT button:

http://launchpad.net/rocrail/sunrise/2. ... nicode.exe

Without using the PT Button the behavior is the same as with the previous revision.

If you do not release the PT button after programming you will not get any sensor events or system information from the Tams MC!

And as usual: I have no Tams MC so this revision is not tested.

andre0604
Posts: 496
Joined: 06.01.2009, 19:36
Location: Hannover, Germany

Post by andre0604 » 30.09.2010, 07:09

Hi Rob,

wow, very impressed how easy I can now programm my decoders. It is working fine, thanks a lot :beer:

Best regards
Andre

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

Post by rjversluis » 30.09.2010, 07:40

Hi Andre,

Great!
Now all Tams MC users can play the TamTam. :-)

Peter Mueller
Posts: 234
Joined: 04.11.2008, 01:29

Post by Peter Mueller » 30.09.2010, 07:49

andre0604 wrote:On the the other hand in my mind I don´t like trains running in auto mode while I am busy with programming decoders.
When programming the main track is without current I think.

heinz
Posts: 121
Joined: 04.08.2009, 17:45
Location: Ostfriesland

Post by heinz » 30.09.2010, 08:26

Hi Rob,

just tested the new revision with a test plan:

reading single cv - no problems
reading all - no problems
writing single cv - perhaps a little problem: the writing is ok, but their is no answer from the mc
writting all - doesn't work

I can't see any difference by activate PT or not

When i start programming, the MC switches power off.
Programming and running locos simultanious doesn' work,
but i doesn't need it .

best regards

heinz
You do not have the required permissions to view the files attached to this post.

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

Post by rjversluis » 30.09.2010, 10:17

Hi Heinz,

the write issue will be solved in a next revision.

andre0604
Posts: 496
Joined: 06.01.2009, 19:36
Location: Hannover, Germany

Post by andre0604 » 30.09.2010, 10:22

Hi Heinz,

interesting test. I did not test write all but during CV single write I have seen that it takes a long time until the message "waiting for PT" disappears but I did not care about that. This could be the reason that write all are not working (I was afraid to use write all because maybe overwrite all my CVs :oops: ).

Best regards
Andre

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

Post by rjversluis » 30.09.2010, 11:29

Hi,

its just that the write confirmation is not pushed up to the Rocrail server. This will be fixed in the next revision.

heinz
Posts: 121
Joined: 04.08.2009, 17:45
Location: Ostfriesland

Post by heinz » 30.09.2010, 13:18

andre0604 wrote:Hi Heinz,

interesting test. I did not test write all but during CV single write I have seen that it takes a long time until the message "waiting for PT" disappears but I did not care about that. This could be the reason that write all are not working (I was afraid to use write all because maybe overwrite all my CVs :oops: ).

Best regards
Andre
Hi Andre,

I' ve changed under rocview - properties - programming the timeout to 4.
After that, the reading was very quick.
Perhaps 3 or 2 are also possible.
Please trie and test it.

best regards

heinz

Post Reply

Return to “P50 and P50x”