Romilly's HART® and Fieldbus Message Board


[ Follow Ups ] [ Post Followup ] [ Back to top of Message Board ]

qnx4 & HART modem

Message posted by Oleg O. Ossovitskii (olego@hotbox.ru : 212.44.71.246) on 03 February 2003 at 15:54:51.

I trying to write simple HART master under QNX4. I set port to 1200,8,odd,1. And send bytes to slave (slave address is 3): FF FF FF FF FF 02 83 00 00 81. But slave never answer me. Who know how in QNX4 user can set/clear RTS and DTR signals? How I can detect if modem transmitted all bytes? Walter Borst said me such algorithm:
1. -RTS -DTR
2. set port to 1200,8,odd,1
3. +RTS -DTR
4. write to serial port
5. wait for all bytes transmitted
6. -RTS +DTR
7. Read answer

But I never got anything =(((
How I can make (1), (3), (5) and (6) ???

Thanks in advance.




Follow Ups:




Post a Followup

Name:
E-Mail:

Subject:

Comments:


[ Follow Ups ] [ Post Followup ] [ Back to top of Message Board ]