sowmach
Posts: 56
Joined: Tue Feb 03, 2009 7:41 pm

getting state of sensors from database

Thu Jun 02, 2011 8:25 pm

Hi,

we have connected to the GGS database, and we are trying to find the
state of sensors (motor on, door open, temperature, etc.)from a user...

how can we do that? can you provide us with a mysql sentence?

User avatar
johan
GpsGate
Posts: 15350
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: getting state of sensors from database

Fri Jun 03, 2011 1:09 pm

The table "gate_record_latest" plays a key role to get the current signal values.

Here is a topic which covers the subject:
http://forum.gpsgate.com/topic.asp?TOPIC_ID=12395&SearchTerms=gate_record_latest

Regards,
Johan

GpsGate Support

Return to “GpsGate for Developers”