From: Steve B. <slb...@co...> - 2008-10-17 10:23:54
|
Derek, did you take a look at the code I sent you? I think I actually had data coming in visible to MH before I gave up on the effort. Steve On Oct 17, 2008, at 5:16 AM, Derek Walker wrote: > > Hello > > I am wanting to connect MH to my HAI Omni Pro panel, it has a > normal serial > connection, that when I connect to my windows pc and run > Hyperterminal, I am > able to send and receive ascii messages. > > My MH server is running in Linux (Ubuntu 8.06) and when I use the > "Screen" > app I am able to see ascii messages coming from the Omni Pro, I > have tested > this with the MH user on the pc, so I don't think I have a serial port > access problem. > > I added these lines to my mh private ini file > > ProLink_port=/dev/ttyS0 > ProLink_baudrate=9600 > ProLink_datatype=raw > ProLink_parity=none > ProLink_handshake=none > ProLink_databits=8 > ProLink_stopbits=1 > > And I created a new code file: prolink_serial.pl > > $prolink_serial_in = new Serial_Item(undef, undef, 'ProLink'); > > if (my $data = said $prolink_serial_in) { > print "ProLink Says : $data\n"; > } > > I add the file into the user code in MH and it shows no errors. > > The problem is I see no data coming in, I am a newbie to MH and > really need > some guidance with what to do to get this to work. > > Thanks > Derek > -- > View this message in context: http://www.nabble.com/Serial_Item-for- > ascii-data---please-help-tp20029807p20029807.html > Sent from the Misterhouse - User mailing list archive at Nabble.com. > > > ---------------------------------------------------------------------- > --- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/? > group_id=1365 > |