segetat
Maha-Dev95 opened this issue · 1 comments
Maha-Dev95 commented
segetat
Maha-Dev95 commented
Hello,
I'm trying to connect energy meter to our Ubuntu linux Host using modbus,
I tried to run you code but its getting segmentation fault while executing.
Your help is appreciated for solving the issue.
root@devise-MYiR:/home/devise/Modbus/MODBUS_3/modbus-testing# ./modbus-loop-working
created libmodbus context
modbus_set_slave return: 0
Default response timeout:0 sec 500000 usec
Set response timeout:60 sec 0 usec
Opening /dev/ttyUSB0 at 9600 bauds (N, 8, 1)
modbus_connect: 0
Segmentation fault (core dumped)
root@devise-MYiR:/home/devise/Modbus/MODBUS_3/modbus-testing#