Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hello,

has someone managed to work with rxtx comm for accessing serial ports? (rxtx.org)

Any help appreciated.

Markus

  • 5 months later...

Did you get any further with this? I am interested in communicating with a scale that has only RS-232. I know that Troi Serial works but is too expensive now.

EDIT: I got a RS-232 to USB cable that works, so it really is a matter of getting FileMaker to see the new USB port and grab data from there.

Cheers,

Andreas

  • Author

Hi Andreas,

sorry i hadn't the time till now to go deeper into it.

It's still on my list ;-)

For me its the same reason like yours

Markus

I had to interface a scale with MS Access yesterday. The main complication was they also wanted the lab scale connected to a titrator, so I used an A/B switch. With Win7, it took some time to find a free keyboard wedge that allowed the 7-E-1 data settings (I had to match Titrator, as it was not configureable on comm settings). If possible, can you simply use a keyboard wedge? If the scale is set up with a PRINT button to print the weight, this works nicely. If scale sends data constantly, with a delimiter, you should be able to read it using standard java libraries, see for example http://www.java-samples.com/showtutorial.php?tutorialid=11 -- rxtx may be better if solution needs to be cross-platform BUT you need to install DLL's and other components for it than just the JAR file. This example should allow you to read weights also: http://www.java-frameworks.com/java/ofbiz/ShipmentScaleApplet.java.html with ScriptMaster. Be sure to include the timeouts on opening port and reading. The biggest problem I've had is COM port numbers sometimes change when USB-->serial adapter moves, ideally Java code ought to loop through COM ports until scale is found.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.