User Tools

Site Tools


acdsn:acdsn-ic-fx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
acdsn:acdsn-ic-fx [2015/02/03 16:32] – Delete timezone fdacruzacdsn:acdsn-ic-fx [2018/05/28 07:21] (current) aheritier
Line 4: Line 4:
  
 <code bash> <code bash>
- 1Qw3 + 2700000000000000Qw3 
- ^^^^ +               ^^^ 
- |||| +               ||| 
- |||- option +               ||- option 
- ||-- argument +               |-- argument 
- |--- command+               --- command
  ---- address  ---- address
 </code> </code>
- 
 ===== Commands ===== ===== Commands =====
 ^ Label     ^ Command ^ ^ Label     ^ Command ^
Line 26: Line 25:
 | delete thermochron   | k         | <sid> ||  | delete thermochron   | k         | <sid> ||
 | restart              | s         |||  | restart              | s         |||
 +| delete tmp files     | y         || delete file for Newfile fct |
  
 ==== New ==== ==== New ====
-^ Label                    ^ Arguments ^ Options                    ^ Comments                ^ +^ Label                    ^ Arguments ^ Options                    ^ Comments ^
-| new address              | a         | <address>                  | cannot be broadcasted   |+
 | new bad access timeout   | b         | <timeout>                 || | new bad access timeout   | b         | <timeout>                 ||
 | new valid access timeout | c         | <timeout>                 ||  | new valid access timeout | c         | <timeout>                 ||
-| new discontinuation    | d         | <discontinuation>          | set the timeout value after which the slave consider itself to be abandoned by the server (in sec)| +| new discontinuation    | d         | <discontinuation>         | set the timeout value after which the slave consider itself to be abandoned by the server (in sec) 
-| new file                 | g         |%%<filename>%%\t<>\t<CRC>   || +| new entry                | e         | <comptability>            | count number of lines in ACCESS file, update log_position and set compatibility 
-| new buzzer               | j         | <mode>                     | buzzer activated or not | +| new file                 | g         |%%<filename>%%\t<CRC>  || 
 +| new buzzer               | j         | <mode>                    | buzzer activated or not |
 | new thermochron    | k         | <sid>\t<id_profile>\t<suid> || | new thermochron    | k         | <sid>\t<id_profile>\t<suid> ||
-| new lock                 | l         | <device>\t<mode>           | lock a probe| +| new lock                 | l         | <device>\t<mode>          | lock a probe | 
-| new mode                 | m         0\t<mode>                  slave enable/disable                        +| new mode                 | m         | <mode>                    NiX1 enable/disable | 
-new firmware             | n         |||  +query firmware version   | n         %%<filename>%%\t<CRC>\t<retry times> ||  
-| new profile              | p         | <id_profile>\t<limitH>\t<limitL>\t<delay>\t<rate>      | change profile |  +| new profile              | p         | <id_profile>\t<limitL>\t<limitH>\t<delay>\t<rate>\t<manual_mode>\t<rollover> | change profile |  
-| new status               | s         | <comptability            count number of lines in ACCESS file, update log_position and set comptability |  +| new general status       | s         | <value                  | set value in NiX general status |  
-| new timestamp            | t         | <timestamp> | only if RTC defined (used to synchronize clock)(date +%s) |  +| new timestamp            | t         | <timestamp>               | only if RTC defined (used to synchronize clock)(date +%s) |  
-| new overdrive speed      | v         | <device>\t<mode>           | put 1-wire devices in overdrive speed |  +| new overdrive speed      | v         | <2>\t<mode>               | put 1-wire device 2 in overdrive speed |  
-| new baudrate             | z         | <baudrate>                 || +| new file packet          | y         | <nbrPacket>/t<blockLength>/t<CRC>/t<block>                |
 +| new baudrate             | z         | <baudrate>                ||
 ==== Query ==== ==== Query ====
-^ Label                        ^ Arguments ^ Options ^ Comments                   ^ +^ Label                        ^ Arguments ^ Options ^ Comments ^
-| query general status         | a         |||+
 | query bad access timeout     | b         ||| | query bad access timeout     | b         |||
 | query valid access timeout   | c         ||| | query valid access timeout   | c         |||
Line 55: Line 55:
 | query buzzer status          | j         ||| | query buzzer status          | j         |||
 | query lock                   | l         |%%<1|2>%%|| | query lock                   | l         |%%<1|2>%%||
-| query mode                   | m         0 (zero)    slave active or not   |+| query mode                   | m         || NiX1 active or not |
 | query firmware version       | n         ||| | query firmware version       | n         |||
-| query status                 | s         || how many missions recorded since last query | +| query general status         | s         || how many missions recorded since last query | 
-| query timestamp              | t         <device> | only if RTC is defined     |  +| query timestamp              | t         || only if RTC is defined |  
-| query overdrive speed        | v         |%%<1|2>%%|| +| query overdrive speed        | v         |%%<2>%%||
-| query wire                   | w         |||+
 ===== Options ===== ===== Options =====
-^ Options               ^ Comments                                                                     ^ +^ Options          ^ Comments                                                                     ^ 
-|<address             0 to 65535                                                                   +|<block               block content (each char is formatted in 2 ascii in hexa value) => 'a' = 0x61 => sent : "61"             | 
-|<comptability>         | 0 to 65534 How many access we would like receive                             | +|<blockLength>          | length of the actual block in bytes              
-|<delay>                | 0 to 65535 How many minutes the device waits before starting logging process | +|<comptability>    | 0 to 65534 How many access we would like receive                             
-|<discontinuation>      | 0 to 4294967295 (if 0 we don't care about discontinuation)                   | +|<CRC>                  | 16 bits value                                    
-|%%<filename>%%         | File on uSD: CONFIG.TXT, KEYS.TXT ...                                        | +|<delay>           | 0 to 65535 How many minutes the device waits before starting logging process | 
-|<id_profile>           | identification of profile on 8 char ['0-9'-'A-Z'-'a-z'] like 0B0a0001        | +|<discontinuation> | 0 to 4294967295 (if 0 we don't care about discontinuation)                   | 
-|<limit>                | Max line to display                                                          +|%%<filename>%%    | File on uSD: CONFIG.TXT, KEYS.TXT ...                                        | 
-|<limitH>               | -40. to +85. Higher alarm limit (°C)                                         | +|<id_profile>      | identification of profile on 8 char ['0-9'-'A-Z'-'a-z'] like 0B0a0001        | 
-|<limitL>               | -40. to +85. Lower alarm limit (°C)                                          | +|<limit>           | Max line to display [0=all lines]                
-|<mode>                 | 0 [disable] or 1 [enable]                                                    | +|<limitH>          | -40. to +85. Higher alarm limit (°C)                                         | 
-|<rate>                 | 0 to 255 how many minutes the temperature conversions are apart from each other during a mission| +|<limitL>          | -40. to +85. Lower alarm limit (°C)                                          
-|<sid>                  | SID of the iButton (in iControl case family 21)                              | +|<nbrPacket>            | packet total number for a file                   | 
-|<suid>                 | identification of iButton on 8 char ['0-9'-'A-Z'-'a-z'] like 0A0b0009        | +|<manual_mode>     | choose if a new mission start automatically (0) or manually (1) after discharging 
-|<timeout>              | 0 to 255                                                                     | +|<mode>            | 0 [disable] or 1 [enable]                                                    | 
-|<timestamp>            | 0 to 9'999'999'999 [seconds since 1.1.1970]                                  |+|<rate>            | 0 to 255 how many minutes the temperature conversions are apart from each other during a mission
 +|<rollover>        | choose if the mission is in rollover mode (1) or not (0)                     
 +|<sid>             | SID of the iButton (in iControl case family 21)                              | 
 +|<suid>            | identification of iButton on 8 char ['0-9'-'A-Z'-'a-z'] like 0A0b0009        | 
 +|<timeout>         | 0 to 255                                                                     | 
 +|<timestamp>       | 0 to 9'999'999'999 [seconds since 1.1.1970]                                  |
 ===== Configuration Files (Micro-SD) ===== ===== Configuration Files (Micro-SD) =====
  
Line 87: Line 91:
  
 <file txt CONFIG.TXT> <file txt CONFIG.TXT>
-ADDRESS 1 
 BAD_ACCESS_TIMEOUT 5 BAD_ACCESS_TIMEOUT 5
 BAUDRATE 9600 BAUDRATE 9600
Line 95: Line 98:
 LOCK_0 0 LOCK_0 0
 LOCK_1 0 LOCK_1 0
-OD_SPEED_0 0 
 OD_SPEED_1 0 OD_SPEED_1 0
 VALID_ACCESS_TIMEOUT 5 VALID_ACCESS_TIMEOUT 5
 </file> </file>
  
-==== SID_I.TXT ==== +==== SID_I.XX ==== 
-This file contains the link between the iButton's SID, the profile's identification and iButton's identification.+These files contain the link between the iButton's SID, the profile's identification and iButton's identification. The extension XX is the 2 last character of the SID.
  
 ^ Field Name     ^ Description                                   ^ Example          ^ ^ Field Name     ^ Description                                   ^ Example          ^
Line 108: Line 110:
 | suid           | The identification of the thermochron iButton | 0A0b0009         | | suid           | The identification of the thermochron iButton | 0A0b0009         |
  
-<file txt SID_I.TXT> +<file txt SID_I.0F>
-21EAF53200000001 00000001 0000000Z +
-21EAF53200000002 00000002 m9999998 +
-21EAF5320000000E 0000000a 9999999D+
 21EAF1320000000F 0000000H 00000001 21EAF1320000000F 0000000H 00000001
 21EAF2320000000F 00000010 9999999F 21EAF2320000000F 00000010 9999999F
Line 120: Line 119:
  
 ==== Profiles Files==== ==== Profiles Files====
-These files contain the parameters to launch a mission.+These files contain the parameters to launch a mission. Delay and sample rate are in seconds.
  
 <file txt 000A0001.TXT> <file txt 000A0001.TXT>
 ALARM_HIGH_TEMPERATURE 85 ALARM_HIGH_TEMPERATURE 85
 ALARM_LOW_TEMPERATURE -13.5 ALARM_LOW_TEMPERATURE -13.5
-DELAY 5  +DELAY 300  
-SAMPLE_RATE 2+SAMPLE_RATE 120 
 +MANUAL_MODE 1 
 +ROLLOVER 0
 </file> </file>
  
Line 132: Line 133:
 ALARM_HIGH_TEMPERATURE 12.5 ALARM_HIGH_TEMPERATURE 12.5
 ALARM_LOW_TEMPERATURE -3.5 ALARM_LOW_TEMPERATURE -3.5
-DELAY 65535 +DELAY 3932100 
-SAMPLE_RATE 16+SAMPLE_RATE 960 
 +MANUAL_MODE 0 
 +ROLLOVER 1
 </file> </file>
  
 ==== ACCESS.# ==== ==== ACCESS.# ====
-File where only good discharging missions are recorded. # is the extension of day of year.+This file contains important iButtons discharge logs(# is the extension of day of year)
  
 ^ Field Name          ^ Description                                   ^ Example    ^ ^ Field Name          ^ Description                                   ^ Example    ^
-| slave address       | Address of the slave                          | 1 to 65536 +| slave address       | Address of the slave                          | 271A2100000000F3 
-| id_profile          | The identification of the profile mission     | 0B0a0001   | +| id_profile          | The identification of the profile mission [0-1] | 0B0a0001   | 
-| suid                | The identification of the thermochron iButton | 0A0b0009   |+| suid                | The identification of the thermochron iButton [0-1] | 0A0b0009   |
 | timestamp           | The timestamp of the NiX1                     | 1400620011 | | timestamp           | The timestamp of the NiX1                     | 1400620011 |
 +| timezone            | Code of the timezone                          | +0100      |
 +| sid                 | SID of the iButton                            | 21EAF5320000000E |
 +| probe               | On which probe was the interruption           | 1 or 2     |
 | overdrive speed     | Communication speed                           | 0 or 1     | | overdrive speed     | Communication speed                           | 0 or 1     |
 +| error code          | Error code in hex format                      | 49         |
  
 <file log ACCESS.#> <file log ACCESS.#>
-1 00000001 0000000Z 1407310961 +271A2100000000F3 1436414597 +0100 21EAF5320000000E 2 0 4E 
-1 0000000H m9999998 1407311983 +271A2100000000F3 1436414652 +0100 21EAF5320000000E 1 0 4E 
-1 000000P0 A0A0A0A0 1407320009 0 +271A2100000000F3 1436414791 +0100 21EAF5320000000E 2 0 4E
-1 k0000000 01010101 1407391025 0+
 </file> </file>
 ==== ACTIVITY.# ==== ==== ACTIVITY.# ====
-File where all iButton interruptions are recorded. # is the extension of day of year.+This file contains not important iButtons discharge logs(# is the extension of day of year)
  
 First line: First line:
-^ Field Name      ^ Description                                  ^ Example    +^ Field Name      ^ Description                                  ^ Example          
-| timestamp       | The timestamp of the time when the NiX start | 1400578529 | +| timestamp       | The timestamp of the time when the NiX start | 1400578529       
-| slave address   Address of the slave                         1 to 65536 |+| slave address   SID of NiX                                   | 271A2100000000F3 | 
 +| general status  | Last general status of NiX before the start (in hex format) 00 |
  
 After: After:
-^ Field Name      ^ Description                                       ^ Example          +^ Field Name          ^ Description                                   ^ Example    
-| slave address   | Address of the slave                              1 to 65536       +| slave address       | Address of the slave                          271A2100000000F3 
-iDevice         On which probe is the device                      | or 2           +id_profile          The identification of the profile mission [0-1]    | 0B0a0001   
-timestamp       | The timestamp when a iButton made an interruption 1400610063       +suid                | The identification of the thermochron iButton [0-1] 0A0b0009   
-sid             SID of the iButton                                21EAF5320000000E +timestamp           The timestamp of the NiX1                     1400620011 
-suid            The identification of the thermochron iButton     0A0b0009         +timezone            Code of the timezone                          +0100      
-code error      The identification of the error (0 if OK)         49               | +sid                 SID of the iButton                            21EAF5320000000E | 
-| overdrive speed | Communication speed                               | 0 or 1           |+| probe               | On which probe was the interruption           | 1 or 2     
 +| overdrive speed     | Communication speed                           | 0 or 1     | 
 +| error code          | Error code in hex format                      | 49         |
  
 <file log ACTIVITY.#> <file log ACTIVITY.#>
-0 Slave ID: 1 +1436414571 Slave ID: 271A2100000000F3 General status: 00 
-1 1 1407310961 21EAF53200000002 m9999998 0 1 +271A2100000000F3 1436414575 +0100 2359023901033007 1 0 49 
-1 1 1407310983 21EAF4320000000F 99999901 0 1 +271A2100000000F3 1436414581 +0100 2359023901033007 2 0 49 
-1 1 1407310999 0000000000000000 00000000 49 0 +271A2100000000F3 1436414586 +0100 2359023901033007 1 0 47 
-1 1 1407311001 231C6E85010000CF 00000000 49 0 +271A2100000000F3 1436414587 +0100 0000000000000000 2 0 42 
-1 1 1407311004 235C123901000077 00000000 49 0 +271A2100000000F3 1436414601 +0100 0FD16231030000B0 1 0 47
-1 1 1407311009 21EAF5320000000E 9999999D 0 1 +
-1 1 1407311025 212A16330000008B 01010101 0 1 +
-1 1 1407311396 21EAF5320000000F A0A0A0A0 0 0+
 </file> </file>
 ==== Temperatures Files ==== ==== Temperatures Files ====
Line 207: Line 213:
 ID: A0A0A0A0 ID: A0A0A0A0
 PROFILE: 00000001 PROFILE: 00000001
-NiX1 Timestamp: 1407157740+NiX1 Timestamp (UTC): 1407157740
 NiX1 Timestamp (YYYY-MM-DD):        2014-08-04T10:02:12 NiX1 Timestamp (YYYY-MM-DD):        2014-08-04T10:02:12
 Thermochron Timestamp (YYYY-MM-DD): 2014-08-04T10:02:11 Thermochron Timestamp (YYYY-MM-DD): 2014-08-04T10:02:11
-Delay (min): 25+Delay (sec): 1500
 Alarm High Temperature (°C): 28.5 Alarm High Temperature (°C): 28.5
 Alarm Low  Temperature (°C):  0.5 Alarm Low  Temperature (°C):  0.5
-Sample Rate (min): 2+Sample Rate (sec): 180 
 +Enable Mission: 1 
 +Rollover: 0
 Mission Samples Counter: 4166 Mission Samples Counter: 4166
 Device Samples Counter: 135257 Device Samples Counter: 135257
acdsn/acdsn-ic-fx.1422981144.txt.gz · Last modified: 2015/02/03 16:32 by fdacruz