Home
UAPP225 Sending timed Data Transmissions
Contents
1. gt SerialOut Com4 CR gt 100 100 Send Test MessAGE SizeOfGTXData TMessLen GTXData TMess Get Time from GTX Call GetGTXTime Set CR1000 Station CLock to the new values ClockSet myTime NextScan EndProg As can be seen from our code snippet the CR1000 calls a subroutine which we wrote called GTXTimedDataSend This subroutine is shown below Sub GTIXTimedDataSend If DebugOnOff 1 Then SerialOut Com1 CRLF 0 100 SerialOut Com1 Mess1 0 0 SerialOut Com1 TimedData 0 0 SerialOut Com1 GTXData 0 100 SerialOut Com1 CRLF 0 100 Endlf 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 7 cam Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Get responce from GTX Serialln InString Com4 1000 10 100 WAIT FOR RESPONSE Echo stuff to Debug Terminal If DebugOnOff 1 Then SerialOut Com1 CRLF 0 100 SerialOut Com1 Mess2 0 0 SerialOut Com1 InString 0 100 SerialOut Com1 CRLF 0 100 Endlf Get responce from GTX Serialln InString Com4 100 10 100 Echo stuff to Debug Terminal If DebugOnOff 1 Then SerialOut Com1 CRLF 0 100 SerialOut Com1 Mess2 0 100 SerialOut Com1 nString 0 100 SerialOut Com1 CRLF 0 100 Endlf EndSub Inside the subroutine it can be seen that a serial comman
2. 232 Port Short A at rot a c _ Log Beginning of Transmission 300 Short ig C Log End of Transmission C 1200 C Long ong C Log GPS Calibration C Send Buffer Empty If Timed Data Buffer is Empty Do Not Clear Timed Buffer After Transmission Pastis ue pica Do Not Clear Timed Buffer After T A Newest C Pseudo Binary C Sensor C Oldest IV Enable Random Transmissions Random Transmission Setup Channel Interval Randomness Repeat Cnt Dperation Flags fi js 50 a 4 E Future Use z C Dump Random Buffer To RS 232 Port BE naars interienys _ Dump Random Transmission Status To RS 232 Port a 100 a TE Log Beginning of Transmission 300 Shart Log End of Transmission 1200 C Long E Future Use F E Future Use ata Forma Data Sourc Data Orde Gl Future Use ASCII tf RS 232 f Newest a C Pseudo C Binary Sensor Gldest come OK 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 htto www microcomdesign com 5 cor Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY ZjMicrocom GTX Utility ersion 2 01 File Options Advanced About Configuration Options General Setup Transmission Setup SDI 12 Sensors Internal Sensors Timed Data Buffe Random Data Buffer Value Count F
3. Buffer To RS 232 Port _ Dump Timed Transmission Status To RS 232 Port Log Beginning of Transmission Log End of Transmission Log GPS Calibration Send Buffer Empty If Timed Data Buffer is Empty Do Not Clear Timed Buffer After Transmission EE M Random Transmission Setup IV Enable Random Transmissions Channel Interval Randomness Repeat Cnt 50 4 E Operation Flags E Future Use Dump Random Buffer To RS 232 Port 1 The GTX TX data rate 2 The GTX TX data Interval 3 The GTX Interleaver Setting 4 The GTX TX HEADER OVERHEAD Bit Rate BPS Inter G itt BPS ee Dump Random Transmission Status To RS 232 Port be es nat v Log Beginning of Transmission im ae Log End of Transmission C 1200 ey Long o Future i Data Formata Data Source Data Order WU ee He TE Ra tyje C Pseudo C Binan C Sensor C Oldest Econs OK As can be seen the GTX Timed Transmission requires the system engineer to know 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 2 corm Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY The GIX Software automatically calculated the overhead time requirements as can be seen from the screen shot below ZjMicrocom GTX Utility ersion 2 01 File Option
4. lazy dogs back Now the errors are spread out over 4 words but each individual word only has one error and our error correction can handle that In the GTX Transmitter has two interleavers The short interleaver is 96 long while the long interleaver is 192 long The key thing to remember here is that as soon as the byte count goes over the interleaver length a new interleaver block needs to be added to the byte count In other words if we have 193 bytes to interleave and we are using a long 192 long interleaver we need two interleavers or 2 192 384 bytes We listed the MAIN function of the CR1000 code above The entire program is listed below It is worthy to note here that most applications are going to want to set the CR1000 clock from the more accurate GTX clock In order to facilitate this a sub program was written for the CR1000 and is shown here Debug code is included but can be turned off by setting DebugOnOff 0 The entire code example is shown below Program GTXTimed cr1 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 12 cam Setting up the CR1000 and GTX for TIMED DATA Transmissions Description GTX Timed Data Transmission Program CR1000 Series Datalogger forwards a TimedData to the GTX in Mode Time and Date is read from the GIX using Subroutine GetGIxXTime progra
5. versatile yet easy to use Satellite Transmitter intended for use in a wide variety of satellite based meteorological data collection applications While the GTX transmitter can operate as a stand alone data collection platform it can also be used with an external data logger like the CR1000 Data transmissions sent through the GTX can be scheduled for certain times These timed transmissions require specific setup instructions to be sent to the GIX The CR1000 data logger can be programmed to send these specific instructions to the data logger The transmitted data parameter settings such as data rate and interleaver settings as well as the amount of data being sent from the logger all need to be considered in order to set up a correct transmission Date Version Revision July 12 2005 Initial Microcom Preliminary Release 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 19
6. Application Note Microcom GTX Modulator UAPP225 v1 0 July 25 2005 Author Richard Schwarz PRELIMINARY Setting up the CR1000 Data Logger and Microcom GTX Transmitter for TIMED DATA Transmissions SUMMARY INTRODUCTION The Microcom Model GTX Satellite Transmitter and Data Collector works on GOES GMS ARGOS SCD amp METEOSAT systems The GTX has some data logger functions built into it including an SDI 12 and counter input The GTX can interface to external data acquisition systems like the Campbell Scientific Programmable Data Logger via its RS 232 port 5 CAMPBELL SOENTING renee 2 Microcom GTX Satellite Transmitter Campbell Scientific Programmable Data Logger The GIX is able to transmit logged data at scheduled intervals beginning at a predetermined start time These are called timed transmissions The CR1000 Data Logger needs to be able to send commands to the GIX to set up the timed transmissions This Application note covers the use of the CR1000 Data logger with the Microcom GTX Satellite Transmitter for timed transmissions Specific data characteristics as well as transmission windows need to be ascertained to correctly set the timed transmissions up An example along with code snippets for the CR1000 are shown in the application note to facilitate a timed transmission through the GIX from the CRI1000 The basic setup and connections for the CR1000 and GTX is referenced in the Microcom Application N
7. Platform ID 77880016 Next SDI 12 Sensor Sample GTX Information Last Transmission GPS Status Next Internal Sensor Sample Timed Data Buffer Random Data Buffer Timed Buffer Size 30 ABEC1l12345674BEC12345674BC1234567 BA coms s N 1138 OK If we do send data at too high a rate the GTX will refuse to accept the data and will send an ERR instead of the OK message 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 10 cam Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Interleaver Interleaving is a key component of many digital communication systems involving forward error correction FEC coding Interleaving the encoded symbols provides a form of time diversity to guard against localized corruption or bursts of errors For example if we interleave our data into rows and columns by taking in our data into a matrix in rows and then read out our data in columns we spread out any burst errors errors which happen in successive bytes Most Error Correction schemes have a limit on how many errors can be corrected per blocks or sections of data For example an error correction scheme may be able to correct 3 errors per X bytes Many data errors tend to happen in bursts that is grouped together If we could spread out interleave the data before applying th
8. ata 0 100 SerialOut Com4 GTXData 0 100 SerialOut Com4 CRLF 0 100 If DebugOnOff 1 Then SerialOut Com1 CRLF 0 100 SerialOut Com1 Mess1 0 0 SerialOut Com1 TimedData 0 0 SerialOut Com1 GTXData 0 100 SerialOut Com1 CRLF 0 100 Endlf Get responce from GTX Serialln InString Com4 1000 10 100 WAIT FOR RESPONSE Echo stuff to Debug Terminal If DebugOnOff 1 Then SerialOut Com1 CRLF 0 100 SerialOut Com1 Mess2 0 0 SerialOut Com 1 InString 0 100 SerialOut Com1 CRLF 0 100 Endlf Get responce from GTX Serialln InString Com4 100 10 100 Echo stuff to Debug Terminal If DebugOnOff 1 Then SerialOut Com1 CRLF 0 100 SerialOut Com1 Mess2 0 100 SerialOut Com 1 InString 0 100 SerialOut Com1 CRLF 0 100 Endlf EndSub DEFINE SU OUTS ees Sub Initialize Use Com as an ECHO output port to viwe on Com SerialOpen Com1 9600 0 0 10000 Setup Com 4 serial port to GTX SerialOpen Com4 9600 0 0 10000 CR CHR 13 LF CHR 10 BS CHR 8 ESC CHR 27 PRELIMINARY 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 14 cam Setting up the CR1000 and GTX for TIMED DATA Transmissions SLASH CRLF CHR 13 CHR 10 PROMPT gt LINE Mess1 CR1000 TO Com4 gt Mess2 Com4 TO CR1000 gt TMess ABC 1234567 TMe
9. d sequence is sent to the GTX called TimedDataz This is a GTX command to send timed data The specifics of this command are shown below Time dData xxxxxxxxxxXxXXxXXXXXXXXXXXXXXAXXXXXXXXXXXXXXXX TDT etx The TDT command appends host formatted data to the Timed buffer when the TimedDataSource is RS 232 This command is not permitted and will return an error response ERR when the TDS is Sensor or whenever the transmitter is disabled Prior to sending a timed transmission the transmitter will insert the appropriate preamble and programmed DCP ID any header information e g HDR flag byte and or sequence number and for GOES operation append the appropriate EOT If the TimedDataFormat is ASCII or Pseudo Binary the transmitter will also insert the correct parity bit for each message character The maximum length of the formatted data can be up to 126000 bits or 15750 bytes see Section Error Reference source not found However the actual buffer size is calculated based on the TimedWindowLength i e the transmitter will not accept more bytes than can be sent in the programmed window length at the configured BPS format If this command is received when a transmission is initiated and pending approximately 5 seconds before the scheduled transmission or during a timed transmission the data will not be included in the current transmission but will be buffered for the next timed transmission When a timed transmission is complete the t
10. e Error correction any errors introduced in bursts onto an interleaved data transmission will be spread out when the data is de interleaved at the receiver As an example lets use words and letters Lets assume our error corrector can only handle 1 error per word Using the to represent spaces The quick brown fox jumped over theZlazy2 dogs back contains 50 characters If we used a 5 by 10 interleaver the data would become Tojr hru deomto wphganeesu 2d 2lf2lbcooaakxvzc geyk Well you can see that this is unrecognizable but once we deinterleave it with al0x5 Tojr hru d eomto wpeh qnees u d if lo cooaa kKxVZC 22eyk we get out The quick brown fox jumped over theZlazy2 dogs back Now lets introduce 4 errors in a row 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 11 cor Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY CODE EXAMPLE The quick brown fox XXXXed over the lazy dogs back errors in 21 22 23 24 It changed or masks the meaning totally however lets put the errors in the same place in the interleaved data stream Tojr hru deomto wphgxxXxXxsu d lf lbbcoodaakxvzc eyk errors in 21 22 23 24 now lets deinterleave Thjr hru d eomto wphg XXXXs u d If lb cooaa kKxVZC 22eyk The Xuick browX fox jumpXd over thX
11. erialOut Com1 Month gt 0 100 SerialOut Com1 ValStr 1 0 100 SerialOut Coml 0 100 Endlf Assign Day Day ValStr 2 If DebugOnOff 1 Then SerialOut Com1 Day gt 0 100 Serialout Com1 ValStr 2 0 100 SerialOut Com1 _ 0 100 Endlf Assign Year Year ValStr 3 If DebugOnOff 1 Then SerialOut Com1 Year gt 0 100 SerialOut Com1 ValStr 3 0 100 SerialOut Com1 CRLF 0 100 Endlf EndSub Main Prorom aaa BeginProg CALL Initialize Infinite loop to be executed every thirty seconds Scan 30 Sec 0 0 Send CRs until getting Com4 gt gt SerialOut Com4 CR gt 100 100 Send Test MessAGE SizeOfGTXData TMessLen 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 17 Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY GTXData TMess call GTXTimedDataSend Get Time from GTX Call GetGTxTime Set CR1000 Station CLock to the new values ClockSet myTime NextScan EndProg 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 18 Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Conclusion Revision History The Microcom Model GIX 1 0 is a highly
12. from our CR1000 program is shown below RealTerm Serial Capture Program 1 99 0 34 Display Port Hex space Hex Ascii uint8 int8 Hex int16 uintl6 Ascii Font WIAIIIIAYY Hex Font Char Count 404 Capture Pins Send Echo Port 12C Misc Anf Clear Freez Half Duplex Binary Syne Chars Status J LF is New Line ABCD __ Disconne I Invert Data _ RXD 2 MBI Endler 7 xoR TXD 3 Data Frames A AND Bj EIS 8 Bytes 2 Sync is _ DCD 1 I Singe _ Gulp None ASCII Number DSR 6 L d Ring 9 Rows _ BREAK Terminal Font 1E _ Error ICPS 0 No UART Overrun No Buffer Overflow No Other Errors Port 7 9600 8N1 None The GTX Timed buffer can be examined in the GTX GUI software as shown below here we have only sent 3 messages or 90 seconds worth 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 9 cor Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Microcom GTX Utility ersion 2 01 File Options Advanced About Configuration Options General Setup Transmission Setup SDI 12 Sensors Internal Sensors Timed Data Buffer Random Data Buffer What Do You Want To Do F Create Open Setup Template Configure GTX From Template Monitor Inspect GTX Configure Control 7 Deploy GTX
13. gOnOff 1 Then SerialOut Com1 Mins gt 0 100 SerialOut Com1 ValStr 2 0 100 SerialOut Comil 0 100 Endlf Assign Seconds Secs ValStr 3 If DebugOnOff 1 Then SerialOut Com1 Secs gt 0 100 SerialOut Com1 ValStr 3 0 100 SerialOut Coml 0 100 Endlf Assign Microsecs uSecs ValStr 4 If DebugOnOff 1 Then Serialout Com1 millisecs gt 0 100 SerialOut Com1 ValStr 4 0 100 SerialOut Com1 CRLF 0 100 Endlf Request Date from Com4 SerialOut Com4 Date 2 0 100 SerialOut Com4 CRLF 0 100 Serialln InString Com4 100 10 100 Serialln InString Com4 100 10 100 If DebugOnOff 1 Then SerialOut Com1 Mess1 0 100 SerialOut Com1 Date 0 100 SerialOut Com1 CRLF 0 100 SerialOut Com1 Mess2 0 100 SerialOut Com1 InString 0 100 SerialOut Com1 Mess2 0 100 SerialOut Com1 InString 0 100 SerialOut Com1 CRLF 0 100 SerialOut Com1 LINE 0 100 SerialOut Com1 CRLF 0 100 Endlf PRELIMINARY 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 16 cam Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Break up Date String SplitStr ValStr 1 InString 1 0 SplitStr ValStr 2 InString 2 4 Assign Month Month ValStr 1 If DebugOnOff 1 Then S
14. ield Width Insert None 7 Clean Up None Hare Message Information 7 None Buffer Size 0 bytes None Msg Length 8 bytes N Duration 1 047 sec one Ra a A E None X Message Stats None Interleaver None None z Size N A None X Carrier Dur 0 50 sec None Clock Dur 0 02 sec None Frame Dur 0 10 sec None X Rate 37 5 bytes sec None X None None None None m None By COM8 OK Timed Data Buffer Setup That basically leaves us with 28 seconds of data we can take at a 300 bps rate before we overrun our time window This means we can only accept 300 28 8400 bits of information 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 6 cam Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Setting the CR1000 up for Timed Transmission If we set our CR1000 to periodically transmit the following data ABC 1234567 ten bytes 80 bits every 30 seconds or 2 66 bps then in the 5 minute window we would accumulate 50 60 3000 seconds 1 33 7980 bits which is less than the 8400 bits we calculated Our CR1000 MAIN routine is shown below with the SCAN statement set to 30 seconds Main ee aa ia als BeginProg CALL Initialize Infinite loop to be executed every thirty seconds Send CRs until getting Com4 gt
15. m author R Schwarz Microcom Design Incorporated program date Original Code May 1 2005 Declare Public Variables Public PTemp TMessLen Public SizeOfGTXData Public GTXData as string 1000 Public CR as string 1 Public ESC as string 1 Public BS as string 1 Public SLASH as string 1 Public LF as string 1 Public CRLF as string 2 Public PROMPT as string 1 Public myTime 7 Public Dest 9 Public InString as string 100 Public TMess as string 1000 Public ValStr 4 as string 100 Public LINE as string 100 Public Mess1 as string 100 Public Mess2 as string 100 Public Batt_volt Units Batt_Volt Volts Constant Declarations Const DebugOnOff 1 Alias Declarations Alias myTime 1 Year assign the alias Year to rlime 1 Alias myTime 2 Month assign the alias Month to rTime 2 Alias myTime 3 Day assign the alias Day to rTime 3 Alias myTime 4 Hours assign the alias Hour to rlime 4 Alias myTime 5 Mins assign the alias Minute to rlime 5 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 13 PRELIMINARY cam Setting up the CR1000 and GTX for TIMED DATA Transmissions Alias myTime 6 Secs assign the alias Second to rTime 6 Alias myTime 7 uSecs assign the alias uUsecond to rTime 7 Sub GIXTimedDataSend SerialOut Com4 TimedD
16. nd GTX for TIMED DATA Transmissions PRELIMINARY second If for example our transmission window was set to 10 seconds and our TX data interval is 10 minutes running at a TX rate of 100 bps It is clear that we will exceed overrun our data buffer since we have 80 10 60 48000 bits needing to be sent at 100 bps which would require 480 seconds transmission window and that s before any header information is calculated and we only have a 10 second TX window set For example Let us now set the GTX TX Duration given the following GTX IX Interval 50 minutes GTX TX Window 30 seconds GTX Data Rate 300 bps GIX Interleaver NONE GTX HEADER 1 047 seconds 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 4 corm Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Microcom GTX Utility ersion 2 01 File Options Advanced About Configuration Options General Setup Transmission Setup SDI 12 Sensors Internal Sensors Timed Data Buffe Random Data Buffer IV Enable Self Timed Transmissions Timed Transmission Setul ee Tx Interval First Transmission Window Operation Flags fi 4 00 58 00 03 00 00 f30 4 vi Center Transmission in Window Bit Rate BPS Interleave Preambl Dump Timed Buffer To R5 232 Port C 100 None ss _ Dump Timed Transmission Status To RS
17. ote UAPP222 User s of this application note should be familiar with or have access to basic coding techniques user s manuals and software associated with using the GTX and CR1000 including 1 Microcom GTX User s Manual 2 Microcom GTX GUI Software 3 Campbel Scientific CR1000 User s Manual 4 Campbell Scientific LoggerNet Software 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 1 cor Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY Setting up the GTX for TIMED DATA Microcom GTX Utility ersion 2 01 File Options Advanced About Configuration Options General Setup Il Transmission Setup SDI 12 Sensors Internal Sensors Timed Data Buffer Random Data Buffer In order to send timed GTX data there are additional considerations which must be taken into account Examining the GTX Timed Transmission Setup dialogs First Transmission window Operation Flags M Timed Transmission Setup Channel Ts Interval fi 4 00 10 00 03 00 00 30 4 Bit Rate BPS Interleaver4 Preamble C 100 C None C Shot C 300 C Short 1200 Long Lons Data Forma Data Source Data Order ASCII RS 232 Newest C Pseudo C Binay Sensor Oldest Center Transmission in Window Dump Timed
18. ransmitted data will be automatically cleared from the timed buffer The transmitter responds with CR LF gt if the data is accepted ERR CRI LF gt if the buffer is full Note that the transmitter will not prevent any prohibited ASCII characters from being 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 8 Setting up the CR1000 and GTX for TIMED DATA Transmissions PRELIMINARY loaded into the buffer Instead these characters will be replaced with a valid ASCII character before being transmitted if the unit is configured for ASCII or Pseudo Binary operation The unique nature of this command requires several important distinctions from other commands to be noted This command will only be accepted when the transmitter is enabled Once the equals sign is received the command itself may not be edited In other words backspacing to the point where the equals sign is deleted will terminate the command While other commands have a predetermined number of parameters the amount of data that can be loaded with this command is only limited by the buffer size as determined by the transmit window length If the timed data buffer is exceeded for a TimedData commana it is treated as receiving an ESC and none of the data received during the command will be loaded The terminal Debug output
19. s Advanced About Configuration Options General Setup Transmission Setup SDI 12 Sensors Internal Sensors Timed Data Butfe Random Data Buffer Type Yalue Count Field width Flags Insert PlatfomID 1 i gt None M Clean Up a 7 Message Information E latform ID Header Buffer Size 7 bytes A maoth meade Msg Lonh bie seudo Bin eader uration 560 sec m Seq Num Header Message Stats E Tx Batt Volts Header Interleaver Long Ts Fwd Pwr Header Size 192 bytes TsRefPwr Header Carrier Dur 0 25 sec Header Erea ae ae sec Head Frame Dur 0 025 sec E Longitude le Rate 150 bytes sec None m None None None None come 0K Timed Data Buffer Setup The GTX GUI allows the user to set up custom headers and will produce the required time for the header In the example shown 1 560 seconds are required for the header portion of the transmission The person setting up a CR1000 GTX transmission needs to be sure that the collected and forwarded data does not exceed the transmit window provided in the GTX setup For example if we sent ten bytes every second we will sending 10 8 80 bits every 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 3 cam Setting up the CR1000 a
20. ssLen 10 EndSub Get the Microcom GTX Time Sub GetGTIxTime Request Time from GTX SerialOut Com4 Time 2 0 100 SerialOut Com4 CRLF 0 100 Echo stuff to Debug Terminal If DebugOnOff 1 Then SerialOut Com1 Mess1 0 100 SerialOut Com1 Time 0 100 SerialOut Com1 CRLF 0 100 Endlf Get GTX Responce Serialln InString Com4 100 10 100 Echo stuff to Debug Terminal If DebugOnOff 1 Then SerialOut Com1 Mess2 0 100 SerialOut Com1 InString 0 100 Endlf Serialln InString Com4 100 10 100 Echo stuff to Debug Terminal If DebugOnOff 1 Then SerialOut Com1 Mess2 0 100 SerialOut Com 1 InString 0 100 SerialOut Com1 CRLF 0 100 SerialOut Com1 LINE 0 100 SerialOut Com1 CRLF 0 100 Endlf Breakup Time String SplitStr ValStr 1 InString 1 0 SplitStr ValStr 2 InString 2 4 SplitStr ValStr 4 ValStr 3 1 4 SplitStr ValStr 3 ValStr 3 1 5 Assign Hours Hours ValStr 1 PRELIMINARY 2005 Microcom Design Inc All rights reserved voice 401 771 1070 Fax 410 771 0018 UAPP225 v1 0 July 25 2005 http www microcomdesign com 15 cam Setting up the CR1000 and GTX for TIMED DATA Transmissions If DebugOnOff 1 Then SerialOut Com1 Hours gt 0 100 SerialOut Com1 ValStr 1 0 100 SerialOut Com1 0 100 Endlf Assign Mins Mins ValStr 2 If Debu
Download Pdf Manuals
Related Search
Related Contents
Cables Direct Cat5e UTP 1m JP-DVF-L - Aiphone 1 Abbildungsverzeichnis WD 3.330 M Ceria GEM-1 - QTC La cotation d`une société sur un nouveau marché (IPO), mode d Samsung Galaxy Note 3 Neo Brugervejledning 600A Clamp Meters w/TightSight™ Display Championnat départemental UNSS Mercredi 19 novembre 2008 Copyright © All rights reserved.
Failed to retrieve file