Serial Port Communications with FilemakerPRO

Hi,

I was looking for a solution to communicate via serial port, using Filemaker. I found a plugins but it is too expensive.

I found a free serial scripting addition (serialport x) for applescript. Since filemaker can use applescript, I was wondering if it is possible to use applescript from inside filemaker to communicate (send & receive) with the serial port.

Trying to make a simple script, and trying to passing a variable from FM to applescript, the system find an error when I type the name of the variable, it is because it starts with $ I suppose…

I’ve to send the commands in ASCII, this are some examples:

[i]

Clear screen

Command: 0xFE 0x58

Clearing screen will erase completely the messages showed on the display and will bring the cursor to location 0,0

Go Home

Command: 0xFE 0x48

The cursor will be moved to location 0,0 without alter displayed messages[/i]

This is the device: http://www.droids.it/cmsvb4/content.php?220-990.014-User-manual-MuIn-LCD-EN

The idea is to store the commands in some filemaker fields and call them in the applescript inside filemaker …

Thanks!