Turntabel in 2009

walter36

Member
I have installed the TRS2006 Rules but have not managed to make the turntabel's to move is there anyting I need to do with scripting?

Any help would be welcome ;)
 
To Move Turntable

you need to download and install 'InputTable' rule (kuid:131986:1012) from DLS. Then, edit this rule and enter the following on a new line:
turntable, turntable_name, number_of_stops
where turntable_name denotes the name of the turntable object in Surveyor and number_of_stops is thel number of stop positions (minimum 2) in the turntable.
Ex: turntable,Turntable 1, 10 (name of the turntable is 'Turntable 1' and the number of stop points around the turntable is 10)
Once this statement is entered in the 'InputTable' rule, you will notice that the name and the stop numbers (listed as 0,1,2,...) is seen in the menu of MoveTurntable command in the driver setup rule. This menu also includes 'next' and 'prev' options to move the turntable incrementally, if desired. Choose a turntable and one of its available stops that you wish turntable to move and assign this operation to one of the drivers using the turntable. Note that the turntable stop numbers are ordered in the clockwise direction and it starts with 0 as being the the default turntable stop.

ricsee
 
I have done this entry in Surveyor,more particularily in the turntable
property window,all is done to instruction,the turntable commands are shown in my driver command column,along with the turntable movement orders-next prev-and so on,except the turntable does not move!
Is there anyting I need to add to the script page of this Command?
Perhaps I am misunderstanding your explanation,do i need to add the as per
eg "tuntable,turntable1,10" line to the turntable script page? or just put them in the property window of the turntable in Surveyor?
Any help would be Welcome. ;)

Cheers
 
walter

if you dont have it there is a route made by bill69 that demonstrates the turntable move commands if you dont have it i suggest you seek it out and have a look, it helped me sort out the issue fairly quickly. it has the commands set out to show you what is required hope this helps

cheers

ghosty
 
I have done this entry in Surveyor,more particularily in the turntable
property window,all is done to instruction,the turntable commands are shown in my driver command column,along with the turntable movement orders-next prev-and so on,except the turntable does not move!
Is there anyting I need to add to the script page of this Command?
Perhaps I am misunderstanding your explanation,do i need to add the as per
eg "tuntable,turntable1,10" line to the turntable script page? or just put them in the property window of the turntable in Surveyor?
Any help would be Welcome. ;)

Cheers

Hi walter36,

The turntable name should not include a number, the (turntable1) is probably giving you trouble. Also do not rely on the look of the turntable for the number of stops, look in the config.txt file to see how many stops it has. For instance the Auran built in turntable with roundhouse has nine rail connection points but if you look in the config file you will find it has 14 stops. So the entry in the input table should be (turntable,turntable name,No.of stops) according to the config file.
Do NOT alter the script.
Cheers,
Bill69
 
Last edited:
I have tryed all you suggestions,whats happening is when I order the turntable to move the red Button appears with following message.

Train : Thread Exception: ER_NullReference, line 23, file moveturntableschedulecommand.gs (1)

Can anyone provide Info on what to do about this? :eek:

Cheers
 
I have tryed all you suggestions,whats happening is when I order the turntable to move the red Button appears with following message.

Train : Thread Exception: ER_NullReference, line 23, file moveturntableschedulecommand.gs (1)

Can anyone provide Info on what to do about this? :eek:

Cheers

Yep. That means you have a wrong entry in your input table. The turntable name in the input table must be exactly the same as you named the turntable, it is case sensitive and space sensitive. In computers a space is a character and if you have a capital letter in your turntable name you must also have a capital in the input table. The red dot in the driver's command line means there is no such turntable as named in the input table. Also remember a fourteen stop tuntable has stops numbered fron zero to thirteen, not one to fourteen. Stop zero is always the default position i.e. the position the turntable is at when you first load the route.

Cheers,
Bill69
 
Last edited:
You are a genius!

Yep. That means you have a wrong entry in your input table. The turntable name in the input table must be exactly the same as you named the turntable, it is case sensitive and space sensitive.

That has been driving me crazy for two days. It was the case sensitive bit.

Thank you.
 
Back
Top