====== Mode setting and input reading ====== Method of setting the **measurement mode** depends on the software used: * Mervis: instructions for configuring the analog input measurement mode can be found at [[..:sw:01-mervis:analog-inputs-hidden#changing_between_modes|this link]] * Evok (Node-RED): the measurement mode configuration is available within the "analog input" device and its "mode" property, see [[..:sw:02-apis:01-evok#documentation|the Evok documentation]] for more information * Modbus: if the Evok cannot be used, or if Modbus communication is preferred, it is also possible to configure the analog I/O measurement mode by writing directly to the registers (1000-1100) according to the [[.:04-extensions:downloads|Modbus table]] **Reading** depends on the software used: * Mervis: see guide [[..:sw:01-mervis:connecting-to-unipi-extension-hidden|]] * Evok: see [[..:sw:02-apis:01-evok#documentation|the Evok documentation]] * Node-RED: using [[https://flows.nodered.org/node/@unipitechnology/node-red-contrib-unipi-evok|prepared nodes]] communicating with the Evok API via Websocket * Modbus: reading and writing registers according to [[.:04-extensions:downloads|the Modbus table]] (registers 0-100)