Communication with Hioki 7110 SM
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am attempting to connect and communicate with a hioki meter. I have been able to set it as a serial object, it is on COM9 in my case. All the settings are set up as described in the manual for USB, https://www.hioki.com/file/cmw/hdInstructionManual/94120/pdf/?action=browser page 130. I have been trying to communicate with fprintf, read, readline, getpinstatus, but no luck. I tried setting it up with serialport("COM9",9600,"Timeout",5) but it said "Undefined function or variable 'serialport'." Same for serialportlist. I have database toolbox and opc communication toolbox. I do not have the instruments communication toolbox.
Can anyone please provide some support on what I can do to communicate with the meter? I have also sent an email to Hioki but most likely their response will not be directly related to matlab.
The commands from Hioki are described here https://www.hioki.com/file/cmw/hdInstructionManual/94140/pdf/?action=browser
The commands listed there are those I tried with fprintf, write, etc.
Thank you in advance, any help or direction will be very appreciated.
4 个评论
Walter Roberson
2019-11-15
If there is *IDN? support, then typically you would tend to use Instrument Control Toolbox with VISA drivers. That is not mandatory as in theory it can be handled by serial over USB, but Instrument Control makes some aspects easier to manage.
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!