From: Joel D. <jr...@io...> - 2007-05-23 15:33:48
|
Does the IHC require hardware handshaking? If so, then you might need the 'dts' in there. Joel On Wed, 23 May 2007, it would appear that Pilfos wrote: > > I'll try with if (&::serial_port_create("IHC", $port, $speed, 'none', 'raw')) > and unpack to check the data. > > Thanks! > > > Joel Davidson wrote: >> >> It looks ok to me, but then I'm no perl whiz. More of a hack. >> The only difference I can see it that when you create the port you're >> setting port, speed and handshake mode. In my modules I set port, speed, >> parity (to 'none'), and 'raw'. Offhand I don't remember if >> serial_port_create is position dependent on arguments, but you may want >> to check that. >> >> Does the log show that the data is getting packed correctly? Have you >> tried doing an unpack(H*, $cmd) on the transmitted data to verify? >> >> Joel >> |