IPB
viagra super force buy buy online

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Run Time Error 13, Type Mismatch
loqtes
post Sep 16 2008, 11:18 PM
Post #1


Conductor
**

Group: Members
Posts: 10
Joined: 16-September 08
Member No.: 185



I am very new to AG. In fact I am trying to complete my first one so this could be operator error. Here is what I have determined.

I have the Cascade Crossings Route and I have downloaded the template. When I start the AG I tell it I want the WB file. It loads that fine and I get to the screen where all the choices are made. Some of the decisions work just fine when I click OK to generate the activity I get a screen to give it a name. At other times when I click generate I get a Run Time Error 13 Type Mismatch. I have been playing with this and here is what I have found.

The path I choose is Crescent Lake to Klamath.

On the top right I choose the Crescent Lake, Mowich, Gilchrest locations for pick ups.
In the middle right I choose Chemult, Diamond Lake and Lenz as working locations.
On the bottom right I can choose anything else except Chiloquin or Wocus. The minute I do I either get the run time error immediately or when I click the OK to generate button?

I don't know if this has anything to do with it but I ran Activity Master on the template and it stated I was short 4 cars. I had Activity Master replace those four cars.

Anyway, this has me puzzled...thanks
Go to the top of the page
 
+Quote Post
sgdavis
post Sep 17 2008, 02:18 PM
Post #2


Train Master
*****

Group: Root Admin
Posts: 727
Joined: 1-October 03
From: United States
Member No.: 1



QUOTE(loqtes @ Sep 17 2008, 12:18 AM) *
I am very new to AG. In fact I am trying to complete my first one so this could be operator error. Here is what I have determined.

I have the Cascade Crossings Route and I have downloaded the template. When I start the AG I tell it I want the WB file. It loads that fine and I get to the screen where all the choices are made. Some of the decisions work just fine when I click OK to generate the activity I get a screen to give it a name. At other times when I click generate I get a Run Time Error 13 Type Mismatch. I have been playing with this and here is what I have found.

The path I choose is Crescent Lake to Klamath.

On the top right I choose the Crescent Lake, Mowich, Gilchrest locations for pick ups.
In the middle right I choose Chemult, Diamond Lake and Lenz as working locations.
On the bottom right I can choose anything else except Chiloquin or Wocus. The minute I do I either get the run time error immediately or when I click the OK to generate button?

I don't know if this has anything to do with it but I ran Activity Master on the template and it stated I was short 4 cars. I had Activity Master replace those four cars.

Anyway, this has me puzzled...thanks


I am puzzled too. I am out of town but will try and re-create this with that route when I get back on the weekend. Also one user discovered that it he would get errors if starting a template, then going back and working on another one, without exiting Activity Generator. I am not sure why that is, but, to be safe, always exit completely out of Activity Generator before loading a different template. Also try not giving the activity a name, just stick w/ the default name (in case the type mismatch has to do with something you are putting in the file name like a slash or quote or something).

Certainly replacing four cars with Activity Master should not cause any problems.

I'll try and find out more this weekend. In the mean time please try another route and let me know what happens.

Best,

Steve


--------------------
Steve Davis Skyline Computing SteveDavis@SkylineComputing.com
Go to the top of the page
 
+Quote Post
loqtes
post Sep 18 2008, 05:09 PM
Post #3


Conductor
**

Group: Members
Posts: 10
Joined: 16-September 08
Member No.: 185



Thanks for the help Steve. Here is a little more information. The run time error occurs just prior to the screen where you can give the activity a name. As long as I don't select Chiloquin or Wocus it will allow me to name it and move forward. Also, I have started AG cleanly repeatedly and it still does it. And just a little more info is that I even have done it without any other inputs on start up other than choosing the boxes on the right, all the rest are left alone including not choosing to change the engines or clicking the 'set railcar fill' button.

I have not yet tried other routes but will soon so will see if this expands to any others I have or if it is limited to just the Cascades route.

Too bad too, I grew up at the south end of this route in Klamath Falls, Oregon. My dad worked for the Great Northern then later Burlington Northern. As a kid I remember riding in the sky blue Great Northern engines.
Go to the top of the page
 
+Quote Post
nbeveridge
post Sep 19 2008, 06:11 AM
Post #4


Train Master
*****

Group: Administrators
Posts: 550
Joined: 2-January 07
From: Texas
Member No.: 10



QUOTE(loqtes @ Sep 18 2008, 05:09 PM) *
Thanks for the help Steve. Here is a little more information. The run time error occurs just prior to the screen where you can give the activity a name. As long as I don't select Chiloquin or Wocus it will allow me to name it and move forward. Also, I have started AG cleanly repeatedly and it still does it. And just a little more info is that I even have done it without any other inputs on start up other than choosing the boxes on the right, all the rest are left alone including not choosing to change the engines or clicking the 'set railcar fill' button.

I have not yet tried other routes but will soon so will see if this expands to any others I have or if it is limited to just the Cascades route.

Too bad too, I grew up at the south end of this route in Klamath Falls, Oregon. My dad worked for the Great Northern then later Burlington Northern. As a kid I remember riding in the sky blue Great Northern engines.


I have checked the SWLTDB and SWLACT files to determine if some car type is called for at Chiloquin or Wocus which is not included in the car types available, but everything seems in order. I have the same error occurring in another template being tested, where one user is getting the run time error 13 but another is not, yet they are selecting exactly the same parameters in the template.


--------------------
Norman
Go to the top of the page
 
+Quote Post
AT RR
post Sep 19 2008, 08:27 AM
Post #5


Train Master
*****

Group: Members
Posts: 148
Joined: 23-February 07
From: Leominster, MA United States
Member No.: 29



Some times I have problems with mismatch errors when the cartype in the SWLTDB don't match the car type as shown in AM.

Example the car in the SWLTDB for activity may be looking for a coal hopper empty with a car type of "CLMT" but if you look at the car in AM it will be listed as cartype "CLE".

If this is the case edit the car type in AM to match the cartype in the activity. Or if you feel qualified to edit files in MS note pad edit all the locations in the SWLTDB for that template changing the car type to match the AM car type.

Remember to backup a copy of the unchanged SWLTDB file before you edit it.

Remember to save the file that you changed to CSV format.


Good luck.
Peter


--------------------
Peter

Arcadia Terminal Street & Dock Railroad
Go to the top of the page
 
+Quote Post
loqtes
post Sep 20 2008, 07:32 PM
Post #6


Conductor
**

Group: Members
Posts: 10
Joined: 16-September 08
Member No.: 185



This is probably not helpful but another thing I noticed about these two sidings (Chiloquin and Wocus) are that they are both forward facing?
Go to the top of the page
 
+Quote Post
sgdavis
post Sep 21 2008, 03:22 PM
Post #7


Train Master
*****

Group: Root Admin
Posts: 727
Joined: 1-October 03
From: United States
Member No.: 1



QUOTE(loqtes @ Sep 20 2008, 08:32 PM) *
This is probably not helpful but another thing I noticed about these two sidings (Chiloquin and Wocus) are that they are both forward facing?



That won't cause a run-time error though. I will generate some activities for this route using this template today and report back with my findings.

Thanks,

Steve


--------------------
Steve Davis Skyline Computing SteveDavis@SkylineComputing.com
Go to the top of the page
 
+Quote Post
sgdavis
post Sep 28 2008, 02:50 PM
Post #8


Train Master
*****

Group: Root Admin
Posts: 727
Joined: 1-October 03
From: United States
Member No.: 1



QUOTE(loqtes @ Sep 17 2008, 12:18 AM) *
I am very new to AG. In fact I am trying to complete my first one so this could be operator error. Here is what I have determined.

I have the Cascade Crossings Route and I have downloaded the template. When I start the AG I tell it I want the WB file. It loads that fine and I get to the screen where all the choices are made. Some of the decisions work just fine when I click OK to generate the activity I get a screen to give it a name. At other times when I click generate I get a Run Time Error 13 Type Mismatch. I have been playing with this and here is what I have found.

The path I choose is Crescent Lake to Klamath.

On the top right I choose the Crescent Lake, Mowich, Gilchrest locations for pick ups.
In the middle right I choose Chemult, Diamond Lake and Lenz as working locations.
On the bottom right I can choose anything else except Chiloquin or Wocus. The minute I do I either get the run time error immediately or when I click the OK to generate button?

I don't know if this has anything to do with it but I ran Activity Master on the template and it stated I was short 4 cars. I had Activity Master replace those four cars.

Anyway, this has me puzzled...thanks


I have investigated this and I know what the issue is. You cannot select Chiloquin or Wocus for work because there are no sidings in those regions. That is why there is no "+" sign to the left of the region name. If you check Chiloquin or Wocus as Work Tracks, you'll be ok until you click "Ok - Generate Activity" -- at which time you will get Error 13. On the other hand, if you check either of those regions as Destination Tracks, you will get Error 13 immediately, becuase when selecting Destination tracks the program calculates the car capacity of all selected tracks, and since there are no tracks there, it can't calculate the number of cars that will fit.

These regions (the ones with no workable tracks in them and thus no "+" symbol to the left of the region names) are regions where cars will be placed for you to see as you run the route, but which don't contain any spurs that can be reached or worked using the selected path and/or template.

Especially if you are selecting source or destination tracks, I highly recommend using the "+" to expand out the list of spurs in the region, and then check only certain tracks. For destination tracks, it probably isn't realistic to end your run by setting out cars anywhere in the ending region. More likely you would need to tie up your train in a yard, so you would want to select one or more specific yard tracks as the final destinaiton for your train.

This is a known issue that was discovered with a template for the soon to be released PRR route, so we have developed a fix that will cause regions that can't be worked, to NOT show up in the list of regions that can be checked. Our beta testers are testing that fix now and provided they don't report any problems with it, I will post it as an update in the next day or so.

In the meantime the fix is pretty simple: don't call for work in any regions that don't have a "+" sign to the left of their names, because, that means that there are no tracks in that region that can be worked. And, while it is not required, I DO encourage users to expand out the list of tracks in the regions you will work, ESPECIALLY if selecting Source or Destination tracks, so that you can tell Activity Generator exactly what tracks to build your train from, and end up the run at.

I'm sorry it took me so long to figure this one out!

Happy trainsimming,

Steve


--------------------
Steve Davis Skyline Computing SteveDavis@SkylineComputing.com
Go to the top of the page
 
+Quote Post
loqtes
post Sep 28 2008, 04:33 PM
Post #9


Conductor
**

Group: Members
Posts: 10
Joined: 16-September 08
Member No.: 185



Steve, Thanks very much for this, that answered alot of questions. Just out of curriosity, whey would there not be any workable sidings there. For example, at Chiloquin there is the forward facing siding and also another siding that goes to two local industries. Is this a template thing? or is it in the programming of the Cascades Crossings route? As I said I am new to this but have been having great fun with your programs...dave
Go to the top of the page
 
+Quote Post
sgdavis
post Sep 28 2008, 06:02 PM
Post #10


Train Master
*****

Group: Root Admin
Posts: 727
Joined: 1-October 03
From: United States
Member No.: 1



QUOTE(loqtes @ Sep 28 2008, 05:33 PM) *
Steve, Thanks very much for this, that answered alot of questions. Just out of curriosity, whey would there not be any workable sidings there. For example, at Chiloquin there is the forward facing siding and also another siding that goes to two local industries. Is this a template thing? or is it in the programming of the Cascades Crossings route? As I said I am new to this but have been having great fun with your programs...dave


It is a "template thing". Norm decided not to have work at those sidings in the WB template. Maybe because it is forward facing -- perhaps you can work it using the EB template, I'm not sure. That would be a question for Norm.

Thanks,

Steve


--------------------
Steve Davis Skyline Computing SteveDavis@SkylineComputing.com
Go to the top of the page
 
+Quote Post
nbeveridge
post Sep 29 2008, 06:58 AM
Post #11


Train Master
*****

Group: Administrators
Posts: 550
Joined: 2-January 07
From: Texas
Member No.: 10



QUOTE(sgdavis @ Sep 28 2008, 06:02 PM) *
It is a "template thing". Norm decided not to have work at those sidings in the WB template. Maybe because it is forward facing -- perhaps you can work it using the EB template, I'm not sure. That would be a question for Norm.

Thanks,

Steve


Yes, it is a template thing.

The template designer must choose whether to include facing point switching in the template or not. To some extent, this is influenced by whether the track switches are manual and whether signals are involved. AG has a provision to convert signals to permissive and track switches to manual, of course, but this can wreak havoc with AI traffic. I personally like the challenge of facing point work. Some users do not. The argument could be made that if all tracks are included, then the user can choose to NOT work the facing point tracks, and that is certainly true.


--------------------
Norman
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 28th March 2024 - 01:11 PM
viagra super force bitcoin