Web Access Help please...

Status
Not open for further replies.

scanjunkie

Member
Joined
Jan 8, 2003
Messages
1,361
Reaction score
0
Location
Montgomery County, PA
Hi all,
I am trying to download info via web access and after I set up the download criteria it keeps telling me to "Enter and integer between 0 and 50." I have no idea what it is refering to. All fields are filled out correctly as far as I can tell.

Thanks for the help!
 

blantonl

Founder and CEO
Staff member
Super Moderator
Joined
Dec 9, 2000
Messages
11,971
Reaction score
7,818
Location
Dallas, TX
What software are you using to access the Web service?
 

JVG

Member
Joined
Sep 7, 2003
Messages
8
Reaction score
0
Location
Southern Maryland
Mark,

I tested some combinations to the WIN96 Web Import and I found that if the field "First Target Channel" has a number of 51 or higher entered into it, it will give the error you described. Interesting enough a value of 50 will load the trunk ID's if you selected them but will not show any frequencies. Of course there is no channel 50, only 0-49 so this makes sense.

Normally this number would be at what number you want to start the load of the data you selected.

Verify that you are not going beyone the 50 channel limit.

Good luck and let us know how you make out.

Regards, Jack
 

DonS

Member
Joined
Jun 17, 2003
Messages
4,099
Reaction score
-2
Location
Franktown, CO
JVG said:
I tested some combinations to the WIN96 Web Import and I found that if the field "First Target Channel" has a number of 51 or higher entered into it, it will give the error you described. Interesting enough a value of 50 will load the trunk ID's if you selected them but will not show any frequencies. Of course there is no channel 50, only 0-49 so this makes sense.
Yes, it's the "First target channel" field, telling you to enter a "valid" channel number as the first destination for the frequencies you're importing.

There is, as Jack noted, a small bug in that warning code. It is limiting your input to 0-50, when it should be 0-49. A similar bug exists in the "First target talkgroup subbank" and "First target talkgroup" fields. All three are limiting you to 0 - <number of items>, when they should be 0 - <number of items minus 1>. The bug won't cause any data corruption - later code checks the value internally and won't write past the end of the various lists in a bank.

Entering a "valid" number for the "First target channel" (that is, a number between 0 and 49) will take care of the warning. You should probably enter a number between 0 and <50 minus channels you're importing>, so that all of your channels are actually imported. For example, if you're importing 4 control channels, you could enter a value between 0 and 46. You could actually enter 47, 48, or 49, but you'd only import 3, 2, or 1 channels.

Note that the "First target channel" field is ignored for EDACS systems. Win96 will always import such systems according to the LCNs listed in the RR database.

-Don
 
Status
Not open for further replies.
Top