Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BUG302 1

Status
Not open for further replies.

Fineau

Programmer
Dec 12, 2006
12
0
0
US
TN 1c2489. I have tried to convert in ld-32 but had no success. This code keeps repeating itself at uneven intervals, as if it is triggered by a specific DN being called. Any help would be greatly appreciated.

Thanks in advance!!
 
TN 1c2489 is not a valid packed TN format.

Packed TNs are always XXXX which is a hex representation of a 16 bit binary.

The 16 bit binary is then broken out and converted to decimal.

So TN 252 0 0 15 would be:

Hex FCC3

Code:
Binary                 1 1 1 1 1 1 0 0 1 1 0 0 0 0 1 1
Then using the formula G G G L L L S [!]U U U[/!] C C C C [!]U U[/!]

Where
G = Group
L = Loop
S = Shelf
C = Card
[!]U = Unit (Note this is split into 5 bits)[/!]

Therefore

G = 1 1 1 = 7
L = 1 1 1 = 7 (Loop 7 in Group 7 is Loop 252)
S = 0 = Shelf 0
C = 0 0 0 0 = Card 0
[!]U = 0 1 1 and 1 1 = Unit 15[/!]

TN 252 0 0 15

--
Fletch

Nortel Emergency Services PLM

Don't forget about the FREE E911 Webinar Oct. 30th!
Register online at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top