Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Who's Online

Convdata: Help needed

You are here: Home > Forum > Simulations > Timetables > Euston PSB > Convdata: Help needed

Page 1 of 1

Convdata: Help needed 28/11/2012 at 18:55 #38254
jc92
Avatar
3690 posts
Hi all,
I am dabbling with convdata to try and convert myself across to it, having seen clives demo on november 17th. have have succeeded in creating several train types and converting the file to .WTT which is an achievement so far.

i have now started constructing a dummy timetable for a train to enter from the DC lines and run to euston, to see how things go.

the data requires an entry point code for trains that enter the sim, eg: 0A02 in the 2003 timetable enters at EDCS1 which i imagine is Euston Down carriage shed S1? but where would i find these entry codes for .txt format timetable writing?

Joe

"We don't stop camborne wednesdays"
Log in to reply
Convdata: Help needed 28/11/2012 at 19:06 #38257
GeoffM
Avatar
6377 posts
Where else but in the manual? :lol:
SimSig Boss
Log in to reply
Convdata: Help needed 28/11/2012 at 19:46 #38261
jc92
Avatar
3690 posts
thanks Geoff RTFM is always a good call!

however that information isnt available for all sims? (certainly available in Euston and New lines)

south humberside has TIPLOCs listed, but these arent neccesarily the codes used for the sim.

"We don't stop camborne wednesdays"
Log in to reply
Convdata: Help needed 28/11/2012 at 20:03 #38262
GeoffM
Avatar
6377 posts
" said:
however that information isnt available for all sims? (certainly available in Euston and New lines)
No, it's not consistent. It depends on the developer - or who they get to write the manual for them.

" said:
south humberside has TIPLOCs listed, but these arent neccesarily the codes used for the sim.
AIUI those are the TIPLOCs used in the sim, but note the comment about the new version. It could do with entry points too.

SimSig Boss
Log in to reply
Convdata: Help needed 28/11/2012 at 21:06 #38264
Peter Bennet
Avatar
5402 posts
If you are stuck then write a short timetable from the timetable editor and convert it to txt.

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
Convdata: Help needed 28/11/2012 at 21:11 #38265
jc92
Avatar
3690 posts
heres an issue i have now.

this is my code:
2C02 CTT=UPLO; ENT=05:11; $P$=1; $T$=0511.

2C02 is a train from watford Jcn to Euston (sim is wembley sub).
UPLO is a dummy timetable i have defined.
$P$ is the platform allocation at watford Jcn
$T$ is the time value in the trains description.

i get the error message "*** Fatal error: Missing dot on line 33."
I know that means i have missed out a . or ; but i cannot for the life of me work out where and its really frustrating me now, as my previous attempt on euston worked perfectly!

Joe

"We don't stop camborne wednesdays"
Last edited: 28/11/2012 at 21:12 by jc92
Log in to reply
Convdata: Help needed 28/11/2012 at 21:43 #38266
postal
Avatar
5265 posts
Like Peter suggested, use the SimSig TT editor to write a TT with just 2C02 in it and convert it to txt using Convdata then compare with what you have typed manually to see where the difference is.
“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
Convdata: Help needed 28/11/2012 at 22:05 #38267
jc92
Avatar
3690 posts
" said:
Like Peter suggested, use the SimSig TT editor to write a TT with just 2C02 in it and convert it to txt using Convdata then compare with what you have typed manually to see where the difference is.
Trouble is that back converting doesnt produce a template timetable and a set of codes using that timetable, it dumps an individual TT for each train, so it wont show me how to correctly state this code.

"We don't stop camborne wednesdays"
Log in to reply
Convdata: Help needed 28/11/2012 at 22:07 #38268
Peter Bennet
Avatar
5402 posts
This looks more like a syntax error which may not come to light with a conversion unfortunately. That particular error is one I recall getting quite often and they are not always easy to track down. From memory the line number is also sometimes not quite where you might think it is. I also think "missing dot" can mean ' as well.

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
Convdata: Help needed 28/11/2012 at 22:11 #38269
Peter Bennet
Avatar
5402 posts
Can you quote the UPLO code please.

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
Convdata: Help needed 28/11/2012 at 22:14 #38270
jc92
Avatar
3690 posts
" said:
Can you quote the UPLO code please.

Peter
SIMSIGT2
SIM=WembleySub; NAM='2011'.

378
DES='Cl.378';
MXS=75; LEN=82; FRT=F;BRK=VH; SCL=EMU,Trip.


#Standard LO service
UPLO DTT=T;
DES='$T$ Watford Jcn DC- Euston (LO 4/378)
TYP=378; UTT=1;
(WATFJDC DEP=%EN; PLT=$P$)
(WATFDHS DEP=%D1+3)
(BUSHYDC DEP=%D1+5H)
(CRPNDPK DEP=%D1+8H)
(HTCHEND DEP=%D1+11H)
(HEDSTNL DEP=%D1+13H)
(HROWDC DEP=%D1+16)
(KTON DEP=%D1+18H)
(SKENTON DEP=%D1+20H)
(NWEMBLY DEP=%D1+22H)
(WMBYDC DEP=%D1+24H)
(STNBGPK DEP=%D1+27)
(HARLSDN DEP=%D1+29H)
(WLSDNJL DEP=%D1+31H)
(KENSLG DEP=%D1+34H)
(QPRK DEP=%D1+39;PLT=1)
(KLBRNHR DEP=%D1+40)
(SHMPSTD DEP=%D1+41H)
(CMDNJN DEP=%D1+45H;PAS=T)

2C02 CTT=UPLO; ENT=05:11; $P$=1; $T$=0511.

that is the full file so far, i thought id export and see if it successfully produces a train.

edit: i have now also tried with (CMDNJN DEP=%D1+45H;PAS=T) with a full stop added (to break the blocks up) but i still get the same error

"We don't stop camborne wednesdays"
Last edited: 28/11/2012 at 22:18 by jc92
Log in to reply
Convdata: Help needed 28/11/2012 at 22:20 #38271
jc92
Avatar
3690 posts
got it!

DES='$T$ Watford Jcn DC- Euston (LO 4/378) had no close quotations nor a semicolon.

not sure why the programme quotes line 33 though unless it assumes everything that follows is a train description.

thanks for the help

"We don't stop camborne wednesdays"
Last edited: 28/11/2012 at 22:21 by jc92
Log in to reply
Convdata: Help needed 28/11/2012 at 22:20 #38272
Peter Bennet
Avatar
5402 posts
DES line is missing a closing '; and the list of locations needs a closing . I think.

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
The following user said thank you: jc92
Convdata: Help needed 28/11/2012 at 22:24 #38273
postal
Avatar
5265 posts
" said:
not sure why the programme quotes line 33 though unless it assumes everything that follows is a train description.
It will think just that because it is waiting for you to close off the train description and then start to enter the TYP etc. Without the ' it doesn't think you have finished with the train description yet.

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
The following user said thank you: jc92
Convdata: Help needed 28/11/2012 at 23:04 #38275
clive
Avatar
2789 posts
There are situations where Convdata wants multi-line strings. So the parser is relatively simple: once you're in a quoted string it's assumed you want to stay in one until it sees the closing quote.

I could change this behaviour, requiring anyone who used multi-line strings to rewrite their text file (probably something trivial like requiring you to write "line 1"+"line 2"). Then the parser could warn of an unclosed quote at the end of a line.

Opinions?

Log in to reply
Convdata: Help needed 29/11/2012 at 09:27 #38284
Peter Bennet
Avatar
5402 posts
" said:
There are situations where Convdata wants multi-line strings. So the parser is relatively simple: once you're in a quoted string it's assumed you want to stay in one until it sees the closing quote.

I could change this behaviour, requiring anyone who used multi-line strings to rewrite their text file (probably something trivial like requiring you to write "line 1"+"line 2"). Then the parser could warn of an unclosed quote at the end of a line.

Opinions?
Would it be possible to be more explicit as to what character/punctuation was missing? Rather than generic "dot" of it could say "quote", "colon", "dot", "comma" or whatever it might make things easier to track down.
Making the line number more relevant to the problem would definately help but if it makes writing the thing more complicated then there is a trade-off but I'd probably say getting the more accurate report is preferred.

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
Convdata: Help needed 22/02/2013 at 13:56 #41712
guidomcc
Avatar
246 posts
Not sure if this is in the right place, but
I've just finished all the down trains in a timetable for this simulation (Wembley Sub) and on a play-through realised that because of the TD controls and my LUL trains being the standard *X**, I need to swap the first two digits round. However on exporting to ConvData (so I could do a find-and-replace 2J** with J2** etc) it returns "Convdata terminated with exit code 1633496".
Any help with this error?
Thanks in advance

Log in to reply