I've managed to create my MTConnect via the C++ agent, and was wondering how I might go about adding this Modbus adapter to read and record some data. I see that there is a master.rb ruby file that I'm guessing might act as the adapter, but it keeps giving me an error when I try to run it.
<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- serialport (LoadError)
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
if anyone has any advice on getting this setup, it would be greatly appreciated.
I've managed to create my MTConnect via the C++ agent, and was wondering how I might go about adding this Modbus adapter to read and record some data. I see that there is a master.rb ruby file that I'm guessing might act as the adapter, but it keeps giving me an error when I try to run it.
if anyone has any advice on getting this setup, it would be greatly appreciated.