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
Last revisionBoth sides next revision
acdsn:acdsn-ic-fx [2015/02/03 15:40] – Add timezone value in temperature file fdacruzacdsn:acdsn-ic-fx [2015/08/05 09:25] – delete overdrive speed OW_O fdacruz
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 28: Line 27:
  
 ==== 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<>\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>\t<TZ> | 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 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 53:
 | 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                                                                   | +|<comptability>    | 0 to 65534 How many access we would like receive                             | 
-|<comptability>         | 0 to 65534 How many access we would like receive                             | +|<delay>           | 0 to 65535 How many minutes the device waits before starting logging process | 
-|<delay>                | 0 to 65535 How many minutes the device waits before starting logging process | +|<discontinuation> | 0 to 4294967295 (if 0 we don't care about discontinuation)                   | 
-|<discontinuation>      | 0 to 4294967295 (if 0 we don't care about discontinuation)                   | +|%%<filename>%%    | File on uSD: CONFIG.TXT, KEYS.TXT ...                                        | 
-|%%<filename>%%         | File on uSD: CONFIG.TXT, KEYS.TXT ...                                        | +|<id_profile>      | identification of profile on 8 char ['0-9'-'A-Z'-'a-z'] like 0B0a0001        | 
-|<id_profile>           | identification of profile on 8 char ['0-9'-'A-Z'-'a-z'] like 0B0a0001        | +|<limit>           | Max line to display [0=all lines]                
-|<limit>                | Max line to display                                                          +|<limitH>          | -40. to +85. Higher alarm limit (°C)                                         | 
-|<limitH>               | -40. to +85. Higher alarm limit (°C)                                         | +|<limitL>          | -40. to +85. Lower alarm limit (°C)                                          
-|<limitL>               | -40. to +85. Lower alarm limit (°C)                                          | +|<manual_mode>     | choose if a new mission start automatically (0) or manually (1) after discharging 
-|<mode>                 | 0 [disable] or 1 [enable]                                                    | +|<mode>            | 0 [disable] or 1 [enable]                                                    | 
-|<rate>                 | 0 to 255 how many minutes the temperature conversions are apart from each other during a mission| +|<rate>            | 0 to 255 how many minutes the temperature conversions are apart from each other during a mission
-|<sid>                  | SID of the iButton (in iControl case family 21)                              | +|<rollover>        | choose if the mission is in rollover mode (1) or not (0)                     
-|<suid>                 | identification of iButton on 8 char ['0-9'-'A-Z'-'a-z'] like 0A0b0009        | +|<sid>             | SID of the iButton (in iControl case family 21)                              | 
-|<timeout>              | 0 to 255                                                                     | +|<suid>            | identification of iButton on 8 char ['0-9'-'A-Z'-'a-z'] like 0A0b0009        | 
-|<timestamp>            | 0 to 9'999'999'999 [seconds since 1.1.1970]                                  +|<timeout>         | 0 to 255                                                                     | 
-|<TZ>                   | -1200 to +1400                                                               |+|<timestamp>       | 0 to 9'999'999'999 [seconds since 1.1.1970]                                  |
 ===== Configuration Files (Micro-SD) ===== ===== Configuration Files (Micro-SD) =====
  
Line 88: Line 85:
  
 <file txt CONFIG.TXT> <file txt CONFIG.TXT>
-ADDRESS 1 
 BAD_ACCESS_TIMEOUT 5 BAD_ACCESS_TIMEOUT 5
 BAUDRATE 9600 BAUDRATE 9600
Line 96: Line 92:
 LOCK_0 0 LOCK_0 0
 LOCK_1 0 LOCK_1 0
-OD_SPEED_0 0 
 OD_SPEED_1 0 OD_SPEED_1 0
-TIMEZONE +0100 
 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 110: Line 104:
 | 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 122: Line 113:
  
 ==== 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 134: Line 127:
 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      | | 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 +0100 0 +271A2100000000F3 1436414597 +0100 21EAF5320000000E 2 0 4E 
-1 0000000H m9999998 1407311983 +0100 +271A2100000000F3 1436414652 +0100 21EAF5320000000E 1 0 4E 
-1 000000P0 A0A0A0A0 1407320009 +0100 +271A2100000000F3 1436414791 +0100 21EAF5320000000E 2 0 4E
-1 k0000000 01010101 1407391025 +0100 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                      | 1 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 | 
-| timezone        | Code of the timezone                              | +0100            +| 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 ACTIVITY.#> <file log ACTIVITY.#>
-0 Slave ID: 1 +1436414571 Slave ID: 271A2100000000F3 General status: 00 
-1 1 1407310961 21EAF53200000002 m9999998 0 +0100 1 +271A2100000000F3 1436414575 +0100 2359023901033007 1 0 49 
-1 1 1407310983 21EAF4320000000F 99999901 0 +0100 1 +271A2100000000F3 1436414581 +0100 2359023901033007 2 0 49 
-1 1 1407310999 0000000000000000 00000000 49 +0100 0 +271A2100000000F3 1436414586 +0100 2359023901033007 1 0 47 
-1 1 1407311001 231C6E85010000CF 00000000 49 +0100 0 +271A2100000000F3 1436414587 +0100 0000000000000000 2 0 42 
-1 1 1407311004 235C123901000077 00000000 49 +0100 0 +271A2100000000F3 1436414601 +0100 0FD16231030000B0 1 0 47
-1 1 1407311009 21EAF5320000000E 9999999D 0 +0100 1 +
-1 1 1407311025 212A16330000008B 01010101 0 +0100 1 +
-1 1 1407311396 21EAF5320000000F A0A0A0A0 0 +0100 0+
 </file> </file>
 ==== Temperatures Files ==== ==== Temperatures Files ====
Line 211: Line 207:
 ID: A0A0A0A0 ID: A0A0A0A0
 PROFILE: 00000001 PROFILE: 00000001
-TIMEZONE: +0100 +NiX1 Timestamp (UTC): 1407157740
-NiX1 Timestamp: 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.txt · Last modified: 2018/05/28 07:21 by aheritier