If you have a problem or need to report a bug please email :

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

CAN-BUS read/write

Discuss Control Systems here

CAN-BUS read/write

Postby TheRookie » Tue May 21, 2019 7:47 am

Hey everyone,

I am a newby to Flowstone so i have at least one question:

I want to connect a CAN-Bus to Flowstone (to read und write Data), but i could not find a solution for this problem.

My Adapter: IXXAT USB-to-CAN V2 compact
( ... -to-can-v2)

How can I detect this adapter? Is there a chance to detect him with the COM-Module?

Thanks for your support and I am very sorry for my lack of knowledge.. :lol:
Posts: 1
Joined: Tue May 21, 2019 7:31 am

Re: CAN-BUS read/write

Postby trogluddite » Tue May 21, 2019 2:20 pm

Welcome to the forum, TheRookie.

I've had a quick look at the documentation for your CAN-Bus adapter and, unfortunately, it looks like it might be more complex than accessing USB via a virtual COM-port. From what I can see, it seems that the adapter relies on a C++ .dll to provide its programming interface (API - LINK), which provides a set of functions that you can call. FlowStone does have a component for calling functions of .dlls, but it can only pass values to them and read the return values in a very specific way, which is quite likely not going to be compatible.

However, FlowStone's Ruby code component does have access to a library called "Win32API" which is a much more flexible way to call dll's, and I think this would allow the functionality that you need. It's a rather cryptic part of Ruby to code for, but if that could be worked out, it would then be possible to "wrap" the functions into a toolbox of FlowStone modules which would be much easier to use (and, of course, that part of the work would only need to be done once.)

If that sounds viable to you, let us know - I'd be happy to give you a hand with the Ruby "Win32API" code.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
Posts: 1720
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Return to Machine Control

Who is online

Users browsing this forum: No registered users and 2 guests