Functions and Memory Management in C by ocz79644

VIEWS: 50 PAGES: 6

Functions and Memory Management in C document sample

More Info
									              This spreadsheet describes the format of comma separated variables (CSV) files that are used for Export and Import f
              The required header record is easily created by using the Export feature in each memory management program.
              Each field is positionally dependant and its absence must be indicated by a comma. When the last desired field has b
              V1.0 February 2010

          Produced using Microsoft Excel 2000. If you don't have Excel then use OpenOffice (from OpenOffice.org) or download
          Last updated 12 Jan 2011
 Col name Meaning                          FTB60      FTB177 FTB250 FTB270/7 FTB350

#             Mem number (Note 1)              1-1000        1-200        1-199        1-200       1-1000
Freq          RX frequency                     in MHz       in MHz       in MHz       in MHz       in MHz
                                                                                                    FM,
                                                FM,
Mode          Operating mode                          FM, FMN FM, FMN FM, FMN                      FMN,
                                              FMN, AM
                                                                                                  AM, WFM

                                              Simplex, Simplex, Simplex, Simplex, Simplex,
Shift         Frequency shift                  Minus,      Minus,      Minus,      Minus,      Minus,
                                              Plus, Split Plus, Split Plus, Split Plus, Split Plus, Split
Offset        Repeater offset (Note 2)          0-99.95      0-99.95      0-99.95      0-99.95      0-99.95
TX Freq       TX frequency if Shift=Split       in MHz       in MHz       in MHz       in MHz       in MHz
Enc/Dec       Encoding method (Note 3)          Note 3       Note 3       Note 3       Note 3       Note 3
Tone          CTCSS tone                       the tone     the tone     the tone     the tone     the tone
Code          DCS code                         the code     the code     the code     the code     the code
Show          Show name or frequency          name/freq    name/freq    name/freq    name/freq    name/freq
Name          Memory name (Note 4)              upper 6      upper 6      upper 7      upper 6      mixed 8
Power         Transmit power (Note 5)            varies       varies       varies       varies       varies
                                              Off, Skip,   Off, Skip,   Off, Skip,   Off, Skip,   Off, Skip,
Scan          Scan method (Note 6)
                                                  Pref         Pref         Pref         Pref         Pref
Clk           CPU clock shift                 OFF, ON      OFF, ON      OFF, ON      OFF, ON      OFF, ON
Step          Tuning step (Note 7)               varies       varies       varies       varies       varies
Scan2         Hypermemory 2 scan method           n/a          n/a          n/a          n/a          n/a
Scan3         Hypermemory 3 scan method           n/a          n/a          n/a          n/a          n/a
Scan4         Hypermemory 4 scan method           n/a          n/a          n/a          n/a          n/a
Scan5         Hypermemory 5 scan method           n/a          n/a          n/a          n/a          n/a
Scan6         Hypermemory 6 scan method           n/a          n/a          n/a          n/a          n/a
Description   Memory description (note 8)     100 chars    100 chars    100 chars    100 chars    100 chars
Bank1         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank2         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank3         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank4         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank5         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank6         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank7         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank8         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank9         Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank10        Memory is in this bank            X = yes      X = yes        n/a        X = yes        n/a
Bank11        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank12        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank13        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank14        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank15        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank16        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank17        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank18        Memory is in this bank              n/a          n/a          n/a          n/a          n/a
Bank19     Memory is in this bank             n/a        n/a        n/a         n/a        n/a
Bank20     Memory is in this bank             n/a        n/a        n/a         n/a        n/a
Bank21     Memory is in this bank             n/a        n/a        n/a         n/a        n/a
Bank22     Memory is in this bank             n/a        n/a        n/a         n/a        n/a
Bank23     Memory is in this bank             n/a        n/a        n/a         n/a        n/a
Bank24     Memory is in this bank             n/a        n/a        n/a         n/a        n/a
           User programmed reverse                                                      300-3000
PRFRQ                                         n/a        n/a        n/a         n/a
           CTCSS decode frequency                                                          Hz
SMSQL      S-Meter Squelch state/level        n/a        n/a        n/a         n/a        n/a
RXATT      RX attenuator state                n/a        n/a        n/a         n/a        n/a

BELL       Bell Ringer state/option           n/a        n/a        n/a         n/a        n/a

Masked     Memory is masked                   n/a        n/a        n/a         n/a        n/a
Internet   Internet state                     n/a        n/a        n/a         n/a        n/a


DCSinv     DCS inversion                      n/a        n/a        n/a         n/a        n/a


DBCSname Only used in FTBVX8J                 n/a        n/a        n/a         n/a        n/a
           CTCSS tone for TX when
ToneTx     Shift=Split and the encoding       n/a        n/a        Tone       Tone        n/a
           method is ENC or ENC/DEC
           DCS code for TX when
CodeTx     Shift=Split and the encoding       n/a        n/a       Code        Code        n/a
           method is D or DCS

Notes
Note 1     Memory numbers in the CSV file always start at 1 even if the radio starts at 0. The programs adapt the number when i
Note 2     In steps of 50kHz
Note 3     The radios are not consistent in their naming of the various encoding method options. The programs adapt a radio's n
           Exchange                            FTB60     FTB177 FTB250 FTB270/7 FTB350
           OFF                               OFF        OFF         OFF         OFF        OFF
           ENC                               TONE       TONE        TONE        TONE       TONE
           ENC/DEC                           TSQL       TSQL        TSQL        TSQL       TSQL
           REV TN                            REV TN REV TN                      REV TN RV TN
           DCS                               DCS        DCS         DCS         DCS        DCS
           D                                 D          D                       D          DCS ENC
           ENC/DCS                           T DCS      T DCS                   T DCS      T DCS
           D-DEC                             D TSQL D TSQL                      D TSQL D TSQL
           ECS                                          ECS                     ECS        PAGER
           PRFRQ                                                                           PR FRQ
           MESSAGE
           JRFRQ
Note 4     Upper case, mixed case or Japanese. The available characters are not always the same. A-Z and 0-9 are always avai
Note 5     Values are (in ascending power level) LOW, MID2, MID1 and HIGH. Each radio may have different names for the pow
Note 6     Off (don't skip when scanning), Skip (don't scan), Pref (preferential scan)
Note 7     Tuning step varies per radio. Most radios do 5/10/12.5/15/20/25/50/100kHz. VX3 and VX8 do 8.3/9kHz. VX8 and FTM
es (CSV) files that are used for Export and Import functions in all G4HFQ memory management programs except FTBasicMMO and FTBVR5K.
 ture in each memory management program.
ed by a comma. When the last desired field has been created in a record then subsequent fields can be omitted.


use OpenOffice (from OpenOffice.org) or download a free Excel viewer program from www.microsoft.com/downloads

                     FTB350J FTB1050 FTB1802 FTB1807 FTB1900 FTB2070 FTB2800 FTB2900 FTB7800

                      1-1000        1-199        1-200        1-200        1-200        1-200        1-200       1-200     1-1000
                      in MHz       in MHz       in MHz       in MHz       in MHz       in MHz       in MHz      in MHz     in MHz
                       FM,
                                                                                       FM,
                      FMN,   FM, FMN FM, FMN FM, FMN FM, FMN FM, FMN FM, FMN FM, FMN
                                                                                     FMN, AM
                     AM, WFM

                     Simplex, Simplex, Simplex, Simplex, Simplex, Simplex, Simplex, Simplex, Simplex,
                      Minus,      Minus,      Minus,      Minus,      Minus,      Minus,      Minus,      Minus,      Minus,
                     Plus, Split Plus, Split Plus, Split Plus, Split Plus, Split Plus, Split Plus, Split Plus, Split Plus, Split
                       0-99.95      0-99.95      0-99.95      0-99.95      0-99.95      0-99.95      0-99.95   0-99.95      0-99.95
                       in MHz       in MHz       in MHz       in MHz       in MHz       in MHz       in MHz    in MHz       in MHz
                       Note 3       Note 3       Note 3       Note 3       Note 3       Note 3       Note 3    Note 3       Note 3
                      the tone     the tone     the tone     the tone     the tone     the tone     the tone  the tone     the tone
                      the code     the code     the code     the code     the code     the code     the code  the code     the code
                     name/freq    name/freq    name/freq    name/freq    name/freq    name/freq    name/freq name/freq    name/freq
                       mixed 8      upper 7      upper 6      upper 6      upper 6      upper 6      upper 6   upper 6      upper 6
                        varies       varies       varies       varies       varies       varies       varies    varies       varies
                     Off, Skip,   Off, Skip,   Off, Skip,   Off, Skip,   Off, Skip,   Off, Skip,   Off, Skip,Off, Skip,   Off, Skip,
                         Pref         Pref         Pref         Pref         Pref         Pref         Pref      Pref         Pref
                     OFF, ON      OFF, ON      OFF, ON      OFF, ON      OFF, ON      OFF, ON                OFF, ON      OFF, ON
                        varies       varies       varies       varies       varies       varies      varies     varies       varies
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        Note 6
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        Note 6
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        Note 6
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        Note 6
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a          n/a
                     100 chars    100 chars    100 chars    100 chars    100 chars    100 chars    100 chars 100 chars    100 chars
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a        X = yes      X = yes      X = yes      X = yes       n/a      X = yes      X = yes
                         n/a          n/a          n/a          n/a          n/a        X = yes       n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a        X = yes       n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                         n/a          n/a          n/a          n/a          n/a          n/a         n/a        n/a        X = yes
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a      X = yes
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a      X = yes
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a
                     300-3000
                                   n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a
                        Hz
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a

                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a

                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a
                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a


                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a


                        n/a        n/a        n/a         n/a        n/a        n/a        n/a        n/a        n/a


                        n/a        n/a        n/a         n/a       Tone        n/a        n/a       Tone        n/a


                        n/a        n/a        n/a         n/a       Code        n/a        n/a       Code        n/a



tarts at 0. The programs adapt the number when importing to match the radio's numbering method.

g method options. The programs adapt a radio's native values to those in the Exchange column when exporting and importing
                      FTB350J FTB1050 FTB1802 FTB1807 FTB1900 FTB2070 FTB2800 FTB2900 FTB7800
                     OFF       OFF         OFF         OFF         OFF         OFF       OFF      OFF         OFF
                     TONE      TONE        TONE        TONE        TONE        TONE      T ENC    TONE        ENC
                     TSQL      TSQL        TSQL        TSQL        TSQL        TSQL      TSQ      TSQL        ENC/DEC
                     RV TN                 RV TN       RV TN       RV TN       REV TN             RV TN       REV TN
                     DCS       DCS         DCS         DCS         DCS         DCS       DCS      DCS         DCS
                     DCS ENC               D CODE D CODE D CODE D                        DC ENC D CODE D
                     T DCS                 T DCS       T DCS       T DCS       T DCS     T+DCS    T DCS       ENC/DCS
                     D TSQL                D TONE D TONE D TONE D TSQL TSQ+DC D TONE D-DEC
                     PAGER                                                     ECS
                     PR FRQ

                     JR FREQ
not always the same. A-Z and 0-9 are always available.
. Each radio may have different names for the power setting e.g. L2, L3, LOW2, LOW3.

100kHz. VX3 and VX8 do 8.3/9kHz. VX8 and FTM-350 do 6.25kHz.
ms except FTBasicMMO and FTBVR5K.




                   FTB7900 FTB8800 FTB8900              FTBVX3      FTBVX8        FTBVX8J

                    1-1000      1-1024        1-799  1-1000
                                                        1-1000                     1-1000
                    in MHz      in MHz       in MHz  in MHz
                                                        in MHz                     in MHz
                                                    FM, FMN,
                     FM,     FM,     FM,   FM, FMN, AM, WFM                       FM, FMN,
                   FMN, AM FMN, AM FMN, AM AM, WFM (model G                       AM, WFM
                                                    not WFM)
                  Simplex, Simplex, Simplex,          Simplex,      Simplex,      Simplex,
                   Minus,      Minus,      Minus,      Minus,        Minus,        Minus,
                  Plus, Split Plus, Split Plus, Split Plus, Split   Plus, Split   Plus, Split
                    0-99.95      0-99.95      0-99.95   0-99.95     0-150.00      0-150.00
                    in MHz       in MHz       in MHz     in MHz       in MHz        in MHz
                    Note 3       Note 3       Note 3     Note 3       Note 3        Note 3
                   the tone     the tone     the tone   the tone     the tone      the tone
                   the code     the code     the code the code       the code      the code
                  name/freq    name/freq    name/freq name/freq     name/freq     name/freq
                    upper 6      upper 6      upper 6    upper 6    mixed 16      Japanese
                     varies       varies       varies     varies       varies        varies
                  Off, Skip,   Off, Skip,   Off, Skip, Off, Skip,   Off, Skip,    Off, Skip,
                      Pref         Pref         Pref       Pref         Pref          Pref
                  OFF, ON      OFF, ON      OFF, ON OFF, ON         OFF, ON       OFF, ON
                     varies       varies       varies     varies       varies        varies
                    Note 6       Note 6         n/a        n/a          n/a           n/a
                    Note 6       Note 6         n/a        n/a          n/a           n/a
                    Note 6       Note 6         n/a        n/a          n/a           n/a
                    Note 6       Note 6         n/a        n/a          n/a           n/a
                      n/a        Note 6         n/a        n/a          n/a           n/a
                  100 chars    100 chars    100 chars 100 chars     100 chars     100 chars
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes      X = yes        n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                    X = yes        n/a          n/a     X = yes       X = yes       X = yes
                         X = yes     n/a       n/a     X = yes   X = yes      X = yes
                         X = yes     n/a       n/a     X = yes   X = yes      X = yes
                           n/a       n/a       n/a     X = yes   X = yes      X = yes
                           n/a       n/a       n/a     X = yes   X = yes      X = yes
                           n/a       n/a       n/a     X = yes   X = yes      X = yes
                           n/a       n/a       n/a     X = yes   X = yes      X = yes
                                                     300-3000 300-3000      300-3000
                          n/a        n/a       n/a
                                                         Hz         Hz           Hz
                                                     OFF LVL1- OFF LVL1-    OFF LVL1-
                          n/a        n/a       n/a
                                                          8         8            8
                          n/a        n/a       n/a     On Off    On Off       On Off
                                                        OFF,      OFF,         OFF,
                          n/a        n/a       n/a     BELL,     BELL,        BELL,
                                                     USRBP1-3 USRBP1-3      USRBP1-3
                          n/a        n/a       n/a    YES, NO   YES, NO      YES, NO
                          n/a        n/a       n/a    YES, NO   YES, NO      YES, NO
                                                                RN-TN,       RN-TN,
                                                                RB-TN,       RB-TN,
                          n/a        n/a       n/a       n/a
                                                               RN-TI, RI-   RN-TI, RI-
                                                                TI, RB-TI    TI, RB-TI
                                                                program      program
                          n/a        n/a       n/a       n/a
                                                                use only     use only

                          Tone       n/a       n/a      n/a       n/a          n/a


                         Code        n/a       n/a      n/a       n/a          n/a




xporting and importing
                     FTB7900       FTB8800   FTB8900 FTBVX3     FTBVX8       FTBVX8J
                     OFF           Off       Off     OFF       OFF          OFF
                     ENC           Enc       Enc     TONE      TONE         TONE
                     ENC/DEC       Enc/Dec   Enc/Dec TSQL      TSQL         TSQL
                     REV TN                          RV TN     RV TN        RV TN
                     DCS           DCS       DCS     DCS       DCS          DCS
                     D                               D CODE    D CODE       D CODE
                     ENC/DCS                         T DCS     T DCS        T DCS
                     D-DEC                           D TONE    D TONE       D TONE
                                                     PAGER     PAGER        PAGER
                                                     PR FRQ    PR FRQ       PR FRQ
                                                     MESSAGE   MESSAGE      MESSAGE
                                                               JR FRQ       JR FRQ

								
To top