This must be in Visual Basic 6 and an Access database file as it will be developed further in house. A knowledge of serial port programing will be required.
Our fire alarm panel sends out a message from it's RS232 serial port. (A)
Our in-house paging system sends messages received from it's RS232 serial port. (B)
We need to change the message from the fire alarm panel before it is sent out by the paging system.
We need a simple program to receive the messages from serial port (A) and looked up in an Access database the correct message to be sent to the paging system serial port (B).
Therefore the process would be:
Serial Port (A) >> Fire alarm panel messsage received (terminated with CRLF) >> Store message in an Access database table with a time stamp as an event log >> use the message to look up the correct paging system message in an Access data base table >> Place the found paging system message in a queue >> send queued paging system messages to the pager serial port (B).
From Fire panel to program via serial port (A): “Stat:21 ID:0046”
From program to paging system via serial port (B): “Alarm Pre-Sounder. Go to assembly point”
No documentation is required other than comments in the text to indicate where to set parameters like database details and baud rates etc. The program will run on a Windows XP pro PC with VB6 runtimes. Please ask any questions.