필터 지우기
필터 지우기

How to connect a Harvard Apparatus PHD Ultra Pump to MATLAB using USB?

조회 수: 4 (최근 30일)
Tyler Schroeder
Tyler Schroeder 2017년 6월 6일
댓글: Jeremy Scholze 2019년 1월 29일
I am trying to use MATLAB to send commands to a Harvard Apparatus PHD Ultra pump using USB. I was told by the manufacturer that the best way to do this is to use the VISA protocol. I have the NI-VISA support package installed.
Here is the code I have been trying to use to connect to my device:
pump1 = visa('ni','USB::1FE9::1103::D-402110::INSTR');
fopen(pump1);
When I run this code, I receive the error
Invalid RSRCNAME specified. Type 'instrhelp visa' for more information.
I am basing the resource name off of the serial number on my device and information found in the 'properties' section of the USB device in windows.
  댓글 수: 1
Jeremy Scholze
Jeremy Scholze 2019년 1월 29일
Hi,
Did this ever work? I'm trying to program a PHD ULTRA with MATLAB but I don't even know how to set it up. Is there a link or any directions someone can give me. I can't find anything on Harvard Apparatus's website.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sid Jhaveri
Sid Jhaveri 2017년 6월 9일
As the error suggests the resource name given is invalid. I would suggest to try the following steps:
1) Make sure your device is detected in NI-Max.
2) Once it is detected, check the details of the device in NI-Max, there will be a generated resource name for your device. Use that as the resource name.

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by