Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Identifying Sensors using code


rajabadsha Nov 17, 2010 08:52 PM

Can anyone tell me if there is any way to identify what sensors are connected to the datalogger using CRBASIC code?
Can anyone give an example?


kirving Nov 17, 2010 10:04 PM

It's not clear to me whether you want to identify sensors by inspecting existing code, or if you want to write code to identify unknown sensors.

If the former, there might be hints in the code to help; e.g., HMP45C sensors are read as single-ended voltage, and the multiplier and offset can be a sufficient hint to tell temperature (offset of -40) from relative humidity (offset of 0).

In general, given existing code it should be possible to figure out which inputs are read as voltages, pulse counts, etc., but identifying the exact sensors may not be trivial.

If you've got, e.g., a wired and remote logger but no program, you could maybe start by reading voltages, but there are many, many possible combinations of instructions and arguments, as well as many many different types of sensors. The problem is not simple.


MCTT Nov 25, 2010 04:43 PM

You have to determine output signal of sensor compatible with input of Datalogger.

So, You can write the program for Datalogger by CRBasic with functions

Log in or register to post/reply in the forum.