Hey everyone!
I am currently working on a summer project. What I need to do is control two relay boards, and they are linked to a device which will hold and execute the program, which sends a 4 byte packed signal to the boards. I know that the program works, because I made it first linking the boards to a computer. I used a module called Win32::SerialPort, which made it quite easy to connect to the boards. For the device I would use Device::SerialPort, but for some complicated reason it is nearly impossible to add this module to the device. Thus, I need to open a port without using a module like Device::SerialPort.
I need the following settings for the port:
Baud: 19200
Data: 8 bits
Stop: 1 bit
Parity: no
Handshake signal: no
Then after opening the port, I need to send two 4 byte signals. The boards will then send two 4 byte signals back, which I need to read and evauate.
Any help will be greatly appreciated!
Thomas Brouwer
In reply to Open serial port without Device::SerialPort by ThomasBrouwer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |