help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

instrument-control


From: kees
Subject: instrument-control
Date: Sat, 12 Jan 2013 19:35:07 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

I have trouble writing to the serial port with the "srl_write(port, data)" function. The data that the the write function accepts or transmit is in ascii format however the instrument that I would like to communicate with accept only byte values from 0-to-255.

For instance to put the analyzer in remote control I have to send a byte with the value of 69. If I send the character "E" it will go in the remote mode. However if I send the value 69 the two byte values 54 and 57. Or when I communicate in "cute-com" I can send the hexadecimal value of 0x45 and that works too.

So my question is how do I use the srl_write function to send byte values to the analyzer?

Kees Blom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]