The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: serial communication with hex strings
Replies: 6   Last Post: Dec 28, 2012 11:31 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 3
Registered: 1/29/09
serial communication with hex strings
Posted: Jan 29, 2009 11:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Im trying to output a HEX string to a camera to makes it turn a filter on. The command is '8101040102FF'. I've made a small m.file to do it. When i run the m.file the filter doesnt turn on.
Im not sure if the HEX string is being output ftom the m.file to the com port because nothing happens.


set(s,'BaudRate', 9600);
set(s,'DataBits', 8);
set(s,'StopBits', 1);
sprintf('%s %X','8101040102FF')

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.