Account  |  Mobile  |  Help    
 
Home Database Live Audio Forums Wiki Classifieds Submit Info About

Go Back   The RadioReference.com Forums > Software > Trunking Control Channel Decoding


Trunking Control Channel Decoding For discussion of installation, setup, configuration, and use of the Trunker / Unitrunker digital decoding utilities (for decoding Trunking control channels)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-19-2009, 04:30 AM
Kaligus's Avatar
Member
 
Premium Subscriber
 
Join Date: Dec 2001
Location: West Valley
Posts: 33
Send a message via ICQ to Kaligus Send a message via AIM to Kaligus Send a message via MSN to Kaligus Send a message via Yahoo to Kaligus Send a message via Skype™ to Kaligus
Default unitrunker v2 file formats

I could be missing it or it could not exist so in either case if someone could either accept my request or tell me where to find the information I would be appreciative .

I would love to know the formats of the files down to the CR/LF since I can not seem to build one that actually loads (Unitrunker.xml) or figure out where to find everything in Rxxxxx.../*log. I think I have Sxxxxx/*log figured out but could use a confirm



Thank you for all guidance!
__________________
--
Have:
RS-Pro 2006; RS-Pro 93; Icom-R2; Uniden BC-SC415; RS-Pro-96; Kchibo KK-E202; Degen DE1103
(in order obtained)
Monitor:
Mot-trunk, voice, data, mil-air, fed, HF, "numbers", etc.
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 08-19-2009, 10:15 AM
Member
   
Join Date: Dec 2002
Posts: 103
Default

I asked for the XML schema already, got no help... apparently it's a default format for the software suite he's using. I also tried various tools to build the schema from the files, no luck there. It would really help if all the good data generated by this program was portable to other radio programs.
Reply With Quote
  #3 (permalink)  
Old 08-19-2009, 07:49 PM
Seņor Member
 
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 3,429
Default

There's no formal schema because the program doesn't use one. However, it's not hard to figure out; should be readable from a text editor.

<Folder> <!-- top level element - XML requires this -->
<System> <!-- radio system - which contains sites, groups, and users. -->
<Site> <!-- a site - which contains channels and band plan. -->
<Band/> <!-- band plan information for this site -->
<Channel/> <!- radio channel - contains frequency and logical channel number -->
</Site> <!-- closing tag for site; other sites may follow -->
<Group/> <!-- talkgroup; more groups may follow -->
<User/> <!-- radio id; more users may follow -->
</System> <!-- closing tag for system; other systems may follow. -->
</Folder> <!-- final closing tag for the document. -->

I could throw together an XML schema or Relax NG schema - but I'm lazy.
Reply With Quote
  #4 (permalink)  
Old 08-19-2009, 07:52 PM
Seņor Member
 
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 3,429
Default

For extracting the data - your best bet is to use XSLT to extract and convert the information into just about any format you like.
Reply With Quote
  #5 (permalink)  
Old 08-20-2009, 05:37 AM
Kaligus's Avatar
Member
 
Premium Subscriber
 
Join Date: Dec 2001
Location: West Valley
Posts: 33
Send a message via ICQ to Kaligus Send a message via AIM to Kaligus Send a message via MSN to Kaligus Send a message via Yahoo to Kaligus Send a message via Skype™ to Kaligus
Default

Thanks for the responses!

** I found that I was overlooking the data I was looking for in the log files because the date/time there is UTC and I was looking in local to match the "last seen" entry for the user or group... I would search the log for the timestamp and come up with unrelated data. that part of the world now makes sense LOL and no further confirmation seems needed.

I have (attempted to) made unitrunker.xml files on windows and linux machines following that format and I get a super fast startup and no systems and nothing on exit except my file promoted through the revision chain.

I have tried all 3 line endings I can do cr cr/lf lf

I have even tried one site no users or groups...

Tried to make sense of the unitrunker created file as far as end of line or next element etc.

I notice sometimes the <folder><system><site>
next time <folder><system>
<site>

etc.

I am broken LOL I cant make a file I created with "xml copy editor" (very nice linux or windows (that I know of) software for editing xml files) work to save my life and have resorted to slowly building one from my spreadsheet and keeping a blank for next time I travel to the same place.
__________________
--
Have:
RS-Pro 2006; RS-Pro 93; Icom-R2; Uniden BC-SC415; RS-Pro-96; Kchibo KK-E202; Degen DE1103
(in order obtained)
Monitor:
Mot-trunk, voice, data, mil-air, fed, HF, "numbers", etc.
Reply With Quote
Sponsored links
  #6 (permalink)  
Old 09-21-2009, 11:52 PM
Seņor Member
 
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 3,429
Default

Quote:
Originally Posted by Unitrunker View Post
For extracting the data - your best bet is to use XSLT to extract and convert the information into just about any format you like.
I threw together a short article on how to do this.
Reply With Quote
  #7 (permalink)  
Old 09-22-2009, 08:21 AM
Member
   
Join Date: Dec 2002
Location: near Ottawa; Canada
Posts: 134
Default

Quote:
Originally Posted by Kaligus View Post
Tried to make sense of the unitrunker created file as far as end of line or next element etc.

I notice sometimes the <folder><system><site>
next time <folder><system>
<site>
XML itself is CRLF agnostic. It shouldn't care about any line breaks between tags. But I don't know if UniTrunker is using a 3rdParty XML i/o library, or if he wrote his own from scratch.
But a lot depends on what you're using to read/write the XML externally too. Some reformat nicely, some will "wordwrap" at peculiar places, and some leave it all on one line (I especially hate those).
For simple XML parsing, Google XMLNotepad. It's a free sample app that comes with full source, and provides a pretty decent UI for understanding the XML layout and making changes.

Brad.
__________________
BC996T x 2 (1 with RH96)
BC780XLT
BC346XT
Pro-2020 (tapped for UniTrunker)
handful of assorted really old stuff in the basement
Reply With Quote
  #8 (permalink)  
Old 09-27-2009, 06:52 PM
Kaligus's Avatar
Member
 
Premium Subscriber
 
Join Date: Dec 2001
Location: West Valley
Posts: 33
Send a message via ICQ to Kaligus Send a message via AIM to Kaligus Send a message via MSN to Kaligus Send a message via Yahoo to Kaligus Send a message via Skype™ to Kaligus
Default

I have been playing a little bit...

The awesome editor I had been using "XML copy editor" nearly-always makes files which will break unitrunker.

Another editor "geany" however seems to work and the only thing I need to remember is to make line endings "cr/lf" as MS-DOS/Windows is want to have.

Some of the times I forget and it works well, other times it doesn't work as well.


I can now at least use Geany to create my own special use unitrunker.xml


***

I just read the article on using xslt and will be playing with that to see if I can break that too LOL
__________________
--
Have:
RS-Pro 2006; RS-Pro 93; Icom-R2; Uniden BC-SC415; RS-Pro-96; Kchibo KK-E202; Degen DE1103
(in order obtained)
Monitor:
Mot-trunk, voice, data, mil-air, fed, HF, "numbers", etc.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowable File Extensions cpuerror System-wide Administration 2 10-16-2008 01:31 PM
PC transfer file (system) format info? lemish Uniden Scanners 4 09-28-2008 08:47 AM
Attached zip file gets changed by forum? UPMedic System-wide Administration 49 09-27-2008 08:57 PM
UASD996 AWIN File safetyobc Arkansas Radio Discussion Forum 0 05-20-2006 08:21 PM
Emergency 895 file is now ready ka3jjz Maryland Radio Discussion Forum 0 08-29-2004 09:50 PM


All times are GMT -5. The time now is 02:28 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All information here is Copyright 2009 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2009 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions