If you have a problem or need to report a bug please email : support@dsprobotics.com
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
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
CAN-BUS read/write
2 posts
• Page 1 of 1
CAN-BUS read/write
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
(https://www.ixxat.com/products/products ... -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..
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
(https://www.ixxat.com/products/products ... -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..
- TheRookie
- Posts: 1
- Joined: Tue May 21, 2019 7:31 am
Re: CAN-BUS read/write
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.
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!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests