Rs232 - Controlling instruments

Help
orrca2112
2013-05-27
2013-06-12
  • orrca2112

    orrca2112 - 2013-05-27

    I need to write commands to an instrument using rs232. I just need to control the temperature of a temperature chamber.

    http://www.testequity.com/documents/chambers/Modbus_Packet.pdf
    the link above shows an example of the kind of packets I need to send.

    I need some help writing binary commands to the instrument.

    this is what I want to do: use a proc to merely change the temp of the chamber

    proc change_temp {temp} {
    # send packet to change temperature
    }

    Can anyone help me with code for writing to the device?
    I know how to configure the serial port, I just don't know how to send the command for writing to the instrument.

     
    • Nuno João

      Nuno João - 2013-06-11

      orrca2112 wrote:

      I need to write commands to an instrument using rs232. I just need to
      control the temperature of a temperature chamber.
      ...

      Take a look at the help file for TCL's "binary" commmand.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks