I am trying to communicate with a temperaturature controller ATR-401 using MATLAB but i am having trouble just connecting to it and reading temperature data.I have set baud rate, data bits, parity and stop bits based on the user manual but it still does not recognize the device. The image below shows my code:

enter image description here

The image below shows my device manager : enter image description here

  • \$\begingroup\$ Please post a screenshot of your "device manager" window with the "COM & Ports" section expanded. \$\endgroup\$ – pgvoorhees Oct 7 '19 at 16:20
  • \$\begingroup\$ i have added an image of my device manager \$\endgroup\$ – sk95 Oct 7 '19 at 16:23
  • \$\begingroup\$ Perfect. Thanks. Do you have any other programs open? If not, can you use a program like realterm or teraterm to connect to your controller? \$\endgroup\$ – pgvoorhees Oct 7 '19 at 16:24
  • \$\begingroup\$ i have used TeraTerm and set the settings but all i see is a black screen and cursor \$\endgroup\$ – sk95 Oct 7 '19 at 16:27
  • \$\begingroup\$ Also, I have a strong feeling you may need to convert your single quote (') to double quote (") on lines 7 and 13. \$\endgroup\$ – pgvoorhees Oct 7 '19 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.