adc to site player

Started by wimn.rm October 8, 2005
I'm reading a pressure transducer and want to send the data to the
siteplayer.
Can't get it to work. It hangs.
Who can help please?

Extraction from the program. (compiles ok)

Call GetADC (PressPin,PressRaw)
hPascal = (pressRaw * 10000.0)/8.0
shPascal = cStr(hPascal)

dataByte = &H83 'Funtion WRITE and 4 bytes
call putQueue ( outputBuffer, dataByte, 1)
'dataByte = 100 ' Adres ( 1 byte )
'call putQueue ( outputBuffer, dataByte, 1)
'value = shPascal
'call putQueue ( outputBuffer, value,4)