Temperature display on IPAD

67 views
Skip to first unread message

ANKIT MITTAL

unread,
Feb 12, 2014, 1:40:34 AM2/12/14
to comman...@googlegroups.com
I have an Thermostat System.
 Which i have controlling using RS-232 commands
I have RS-232 commands for LOW,MED HIGH,OFF, TEMP UP, TEMP UP
I want to display the temperature on ipad and if i changing the temp then it should be display on ipad.

RS 232 commands are as below-

LOW-\x11\x00\x64\x01\x04\x01\x00\x00\x00\x05
Med-\x11\x00\x64\x01\x04\x02\x00\x00\x00\x05
High-\x11\x00\x64\x01\x04\x03\x00\x00\x00\x05
off-\x11\x00\x64\x01\x04\x04\x00\x00\x00\x05
TEMP UP-\x11\x00\x64\x01\x04\x05\x00\x00\x00\x05
temp down-\x11\x00\x64\x01\x04\x06\x00\x00\x00\x05

Please help me it is little urgent.

GUI Designer Command fusion version- v2.7.0.713
i vewer 4  version- v4.0.288
OS- Windows 8

Thanks and Regards
Ankit Mittal

**Please include as much software version information as possible. This ensures that other users and Command Fusion staff can provide a helpful answer as quickly as possible.** - Please Delete this line BEFORE posting.

Jarrod Bell

unread,
Feb 12, 2014, 2:54:15 AM2/12/14
to comman...@googlegroups.com
You didn't mention any examples of the data format relating to feedback. Without feedback you can't display the actual temperature levels.

Jarrod
--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

ANKIT MITTAL

unread,
Feb 12, 2014, 3:03:04 AM2/12/14
to comman...@googlegroups.com
Reply Command is like that

\x11\x00\x64\x00\x00\x00\x(12-20)\x00\x00\x05


Here on 7th  bit reply command is changing from 12 to 20
as temp is changing from 18 degree to 30 degree.
 Please help


--
You received this message because you are subscribed to a topic in the Google Groups "CommandFusion Software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commandfusion/IBEdBTA6_rA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commandfusio...@googlegroups.com.

ANKIT MITTAL

unread,
Feb 12, 2014, 3:07:31 AM2/12/14
to comman...@googlegroups.com
Feedback command is like that-

Reply Command is like that

\x11\x00\x64\x00\x00\x00\x(12-20)\x00\x00\x05


Here on 7th  bit reply command is changing from 12 to 20
as temp is changing from 18 degree to 30 degree.
 Please help

Jarrod Bell

unread,
Feb 12, 2014, 3:19:29 AM2/12/14
to comman...@googlegroups.com
Use a regex like this:
\x11\x00\x64\x00\x00\x00([\x12-\x20])\x00\x00\x05

Then in the capture group settings, set the data type as analog, and target type as serial.
Set the join number to match a serial join of a text object in your GUI.
And set the hex mode to Hex Byte.


Regards,

Jarrod Bell
CommandFusion
www.commandfusion.com


ANKIT MITTAL

unread,
Feb 12, 2014, 3:39:40 AM2/12/14
to comman...@googlegroups.com
I am using two buttons for increasing and decreasing the temp.

And a text box to display the temp.
 I tried above mention method but not working.
my data type is digital means temp is changing from 25 to 26 directly noy like that 25.1 ,25.2 etc.

Please help

thechad

unread,
Feb 12, 2014, 8:51:24 AM2/12/14
to comman...@googlegroups.com
Ankit,
You are not posting enough (structured) information for anyone to actually be able to assist you.

No of fence, but it seems English is not your native language, so perhaps it would be easier if you attached your GUI file and an example set of data (Ie. send xxxxx from the ipad using tcp, recieve yyyyyyback as feedback) or better still include a link to the protocol documentation for the thermostat.

Jarrod Bell

unread,
Feb 12, 2014, 9:04:35 AM2/12/14
to comman...@googlegroups.com
Set the data type to analog like I mentioned. Digital is on or off, not an analog value.


Regards,

Jarrod Bell
CommandFusion
www.commandfusion.com


Reply all
Reply to author
Forward
0 new messages