[teqc] extracting environmental records from NetRS BINEX

Lou Estey lou at unavco.org
Thu Mar 25 07:41:13 MDT 2010


hi Matt and everyone,

Just some background and caveats on Freddy's response.  The
"+rx_state" option was added to teqc on 10 Dec 2008 for our
polar engineering group, so any version from then on should
function as Freddy says.  This was done for BINEX, and I think
that's still the only format that teqc reads were these receiver
engineering values are available, but if they _are_ available in
other formats, then the manufacturers should contact me about
where they are and I'll see what we can do about reading them.

Also, the current syntax for this may change in the future.  I
have a plan in the works that would handle specialized output
(like the receiver state values) in the following way:

(the plan, not yet in effect!):
+rx_state .        receiver state output to stdout
+rx_state {name}   receiver state output to named file
++rx_state {name}  receiver state output appended to named file
-rx_state          don't output receiver state

For those of you familiar with the relatively new "-O.sum ." option,
you'll see the similarity.

Lastly, I'm almost positive that the piping syntax

nc 69.44.87.176 9999 | teqc -binex +rx_state

will only work on true UNIX teqc executables.  E.g. if you tried to do
this with the Windows teqc executable in Cygwin, it would not work.
(Limitation from compiling the teqc code for Windows rather than Cygwin.)

cheers,
--lou

> Matt,
> Assuming the "System Status Record" is enabled (i.e. set to a time interval and not "Off") when you configured the binex session, the command
>
> teqc +rx_state $FILE.bnx
>
>
> will dump the voltages and temperatures to stdout in the following format:
>
> 2010 Mar 25 05:21:00.008  T=  39 C Vpe= 17810 mV Vse=   198 mV
>
> where Vpe is from the dongle and Vse is from the twist-lock inputs.
>
> You can of course direct the output to a file (teqc +rx_state $FILE.bnx>  $STATUSFILE), etc.
>
>
>
>
> A handy way to monitor the status of a capable receiver in real time is to set up a binex TCP stream with the system status record enabled and catch it with "netcat", or "nc", piped into teqc.  In the following example I have a binex stream on port 9999.  I have verified this with both Trimble NetRS/NetR8 and Leica 1200 series receivers, and it should work for Topcons as well.
>
> % nc 69.44.87.176 9999 | teqc -binex +rx_state
> ! Notice ! GPS week will be initially set to 1576 for any data stream needing it
> 		(or use -week option to override)
> 2010 Mar 25 05:21:00.008  T=  39 C Vpe= 17810 mV Vse=   198 mV
> 2010 Mar 25 05:22:00.008  T=  39 C Vpe= 17802 mV Vse=   198 mV
> 2010 Mar 25 05:23:00.008  T=  39 C Vpe= 17810 mV Vse=   190mV
> 2010 Mar 25 05:24:00.006  T=  39 C Vpe= 17825 mV Vse=   198 mV
> 2010 Mar 25 05:25:00.008  T=  39 C Vpe= 17817 mV Vse=   190 mV
>
> Hope this helps,
> Freddy B.
>
> -----------------------------------------------------------------------
> Dr. Frederick Blume
> Sr. Project Manager
> UNAVCO
> 6350 Nautilus Dr.
> Boulder, CO  80301-5553
> (303)381-7474
> http://www.unavco.org
> -----------------------------------------------------------------------
>
> On Mar 24, 2010, at 8:00 PM, Matt King wrote:
>
>> Hi
>>
>> I'd appreciate help in the procedure to decode a BINEX file from a NetRS, including pulling out the board Voltage and Temperature.
>>
>> Thanks
>>
>>
>> Matt King
>> Reader in Polar Geodesy&  RCUK Academic Fellow
>> School of Civil Engineering and Geosciences  Email: m.a.king at ncl.ac.uk
>> Cassie Building            Ph:    0191 222 7833 Int: + 44 191 222 7833
>> Newcastle University       Fax:   0191 222 6502 Int: + 44 191 222 6502
>> Newcastle upon Tyne        Web:   http://www.staff.ncl.ac.uk/m.a.king/
>> United Kingdom, NE1 7RU           http://www.ceg.ncl.ac.uk/profiles2/m.a.king
>> _______________________________________________
>> teqc mailing list
>> teqc at ls.unavco.org
>> http://ls.unavco.org/mailman/listinfo/teqc
>>
>
>
>
> -----------------------------------------------------------------------
> Dr. Frederick Blume
> Sr. Project Manager
> UNAVCO
> 6350 Nautilus Dr.
> Boulder, CO  80301-5553
> (303)381-7474
> http://www.unavco.org
> -----------------------------------------------------------------------


More information about the teqc mailing list