There's a revised MLGenericSerial available online:
This plug-in allows 2-way communication via ASCII or HEX with multiple serial-based equipment. It also supports the ability to react to received events with MLServer commands.
1. STOP MLServer
2. If you have the old MLGenericSerial.DLL file then unregister it (RegSvr32 MLGenericSerial.dll /u)
3. Copy/Overwrite the MLGenericSerial.dll to your MLServer\Plugin folder
4. Register MLGenericSerial.dll (RegSvr32 MLGenericSerial.dll)
5. Copy the GenericSerial.XML file to you MLServer\Data folder
Start up MLServer and do settings on MLGeneric serial. It is important to verify if the new
system kept all the information from the old MLGenericSerial. System no longer uses the serial_mapping.mdb
file but instead will create a MyConfig.XML file in the data folder.
Any comments or requests can be sent to firstname.lastname@example.org
Current Revision: RC1.A
- To be tested: Multiple devices
- To be tested: Complicated and large HEX protocol. This would be more about testing my saving and loading of
binary data from XML files. Involves a lot of Base64 encode/decode.
- To be tested: Learn Command in the Commands popup. I wanted to give you guys the capability of teaching the
plugin new commands. This means as a user you can have it listen to the output from the hardware and create the
signature of your command.
- To be Coded: Haven't yet coded the COMMAND testing. I will do that soon and send over a new version. Shouldn't
have any effect on the actual pluggin
The MLGenericSerial plugin only has one command it understands, SEND. It can take up to 2 paramaters
Parameter 1 => Command to send to the SerialPort
Parameter 2 => DeviceName or Number (same as tabs **tab1 = 1, tab2 = 2) to send the command to
This command will send "Start" to the 4th device
This command can also be represented like so
The plugin will create a log file (same folder as the dll file) that will contain additional information
that might be useful during debugging. An example of such information is with the learn command. The learn
command will listen to the port and just append whatever is being sent to it by the hardware. It will in
, in the background, log every value and ascii of each character received. This will allow you to figure
out the protocol of whatever it is you're trying to learn.