Wednesday, March 31, 2010

rs232 controling amp, with iviewer, wrong code structure?

0 comments
I'm having a bit of trouble getting my rs232 commands to work...
Ive got an amplifier, that has this type of protocol structure:

"@PWR:0\r" (without "" ) ---> its a power on/off toggle command)

I tried to set the EOM to "\x0D" and also "\r" but nothing seems to
help.
I can see that the GC-100 respond by flashing the LEDs, when I press
the button on my iPhone.
I have also checked my cabel for possible RxTx errors...

This is what I've tried so far..:
@PWR:0\r
@PWR:0\r \x0D
@PWR:0\r\x0D
@PWR:0\r\r
@ PWR: 0 \r\0xD
\x40PWR\x3A0\r
\x40PWR\x3A0\r\x0D
%40%50%57%52%3a%30%5c%72\r
%40%50%57%52%3a%30%5c%72\x0D
0100000001010000010101110101001000111010001100000101110001110010


My system:

IP: (default): 192.168.1.70)
Port: 4998/4998
TCP
Maintain constant connection
Heartbeat managed by system
Heartbeat Rx:
Heartbeat Tx:
EOM: \x0D
Connection Join: 1
Startup Comand: None
Controller: Global Cache - GC-100-18

Only one button, and the above command in the whole project...

I was kind of hoping someone could show me what the command should
look like... I feel like Ive tried every possible combination soon:s


Thanks for any help/tips!


--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "rs232 controling amp, with iviewer, wrong code structure?"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com