
Page | 62
Battery
bAt
Temperature deGC TSS
tSS
The power consumption of the display depends on illuminated elements, from 4mA with all off to 18mA with all on,
typically 13mA (at 5V).
The wiring is different for each display type, summarised in the table below
Function
Ai1 Terminal
Internal Display
External Display
External D USB
Power
Vx1
Red
Brown
Brown
Ground
GND
Black
Black
Blue
Data
TX/C1/C2*
White
White
Grey
Switch Press
A1
Switch black
Blue
Yellow
Switch Excite
PSW
Switch black
Grey
Pink
USB D+
White
USB D-
Green
USB 5V
Red
* Usage of TX, C1 or C2 depends on program function
10.
Datalogger Program
All stations are pre-programmed to suit the ordered configuration options, with a user editable CRBasic program.
The CRBasic files are supplied as
Open-Source Software
, allowing
viewing, and editing
of the code. CRBasic files
may be edited in a basic text editor such as Notepad or using the feature rich CRBasic editor
(
www.campbellsci.com/crbasiceditor
). The program may be downloaded directly from the Ai1.
If a module is missing, the wrong version used, or the user program contains an error, a compile error will be
generated. CRBasic editing is an advanced topic and is not included in standard product support. Custom
engineering may be performed with a support agreement. As the software is in rapid development, the OS features
will continue to be enhanced. The testing with a new OS library file is up to the end user to ensure compatibility
with the Ai1 hardware configuration provided. Backward compatibility is not guaranteed. All library files are open-
source and may be user edited if desired.
It is possible to compile the include programs into a single file, eliminating Ai1OS
code related to options that are not used (improves readability, simplifies finding
bugs and reduces the time to transfer files). Select
Conditional Compile, Include
Files and Save
from the Compile pulldown menu, and specify the filename (which
must be different to the current filenames). It is also possible to compress the
program (remove comments and whitespace) for low-speed communications links.
Select
Create Compressed File
from the
Edit
menu. This is the default setting.
22
The CRBasic is a licenced program, refer to support for pricing. CRBasic is available for free as an inclusion with PC400 which only needs an email address for registration, available:
https://www.campbellsci.com/pc400
User Program
•
Calls Ai1OSn.nn.cr300
•
Available to add any
custom user
programming.
Ai1OSn.nn.cr300
•
Standard for all Ai1’s, where n.nn denotes version.
•
Provides all the system functions.
•
Supplied from the factory.
•
Updated for new features and bug fixes.
YSIP Include File
•
Precompiled, encrypted, not user accessible.
•
Required for any YSI sensors using RS485 interface.