jgad

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by jgad

  1. Hi,

    Excuse my ignorance, I'm a total beginner with Daqfactory.

    I have a device (an Omega HX200 Temperature/RH probe) which streams data over an RS232 connection, I can see the data coming in under monitor and get a sting of data such as this below...

    Quote

    Rx (09:46:46.923): \010
    \013\03
    7\082\072\061\032\053\057\046\050\052\044\032\068\080\067\061\032\049\049\046\053\048\044\032\065\084\067\061\032\049\057\046\053\049

    I have set up a new protocol, but think that the script in the user guide (shown below) is telling the "if loop" to stop after the first (13), is this correct?

     
    Quote

     

    if (strIn == Chr(13))
    private string datain = ReadUntil(13)
    Channel.AddValue(strDevice, 0, "Input", 0, StrToDouble(DataIn))
    Endif


     

    I cannot for the life of me work out how to get this to display as values for individual measurements for RH and Temperature. Please help with an appropriate protocol.

     
    Endif