Component: IButton (DS1990) (Storage)

From Flowcode Help
Revision as of 14:01, 18 August 2021 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author MatrixTSL
Version 1.0 (Release)
Category Storage


Image IButton (DS1990) component

A rugged 48-bit unique identifier allowing for unique codes for logistical tracking or device identifiers etc. Compatible with the DS1990A and DS1990R iButton devices. Requires a One Wire component to perform the bus operations.

Examples

No additional examples


Downloadable macro reference

AddressNextDevice

Scans for the next connected device with a matching family code.

Goes through the device list generated by the ScanBus macro.

Parameters

This macro has no parameters


Return value

This call does not return a value


GetSerialString

Gets the Serial String for the current addressed device.

Parameters

This macro has no parameters


Return value

STRING


Initialise

Configures each matching sensor on the bus with the specified conversion bits.

Parameters

This macro has no parameters


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

One Wire Component

This property is of type Fixed list of ints and can be referenced with the variable name OneWireComp.

Link to the one wire component to host the bus.

Simulate Comms

This property is of type True or false and can be referenced with the variable name SimComms.

No - We use the panel GUI to perform the simulation.

Yes - We use OneWire comms via an API to communicate with real hardware.

Number Devices

This property is of type Fixed list of ints and can be referenced with the variable name NumSensors.

Sens the number of sensors we can communicate with during simulation

Serial 0

This property is of type Line of text and can be referenced with the variable name Serial0.

Serial number for simulated one wire device