필터 지우기
필터 지우기

Thorlab Spectrometer CCS175 intigrating with matlab using NI-VISA protocol

조회 수: 3 (최근 30일)
vinod naidu
vinod naidu 2016년 10월 4일
편집: vinod naidu 2016년 10월 4일
hi I have a spectrometer from Thorlabs model is CCS175 i would like to acquire the spectrum signals from spectrometer into matlab work space i could not able to on the recording mode I have downloaded the NI-VISA H/W Supporting package i am using VISA_USB protocol
>>my=visa('ni','USB0::0x1313::0x8087::M00267479::RAW');
>> instrfind
Instrument Object Array
Index: Type: Status: Name:
1 visa-generic open VISA-GENERIC-USB0::0x1313::0x8087::M00267479::0::RAW
record(my,'on');
Warning: An error occurred while opening the file. RecordMode has been set to off.
> In icinterface/record (line 81)
I have tried to on the recording status 'on' shows the error
>>set(my,'RecordStatus','on');
Error using instrument/set (line 109) Changing the 'RecordStatus' property of VISA-GENERIC objects is not allowed.
Properties of my device (spectrometer CCS175)
>>get(my) ByteOrder = littleEndian
BytesAvailable = 0
BytesAvailableFcn =
BytesAvailableFcnCount = 48
BytesAvailableFcnMode = eosCharCode
BytesToOutput = 0
ErrorFcn =
InputBufferSize = 512
Name = VISA-GENERIC-USB0::0x1313::0x8087::M00267479::0::RAW
ObjectVisibility = on
OutputBufferSize = 512
OutputEmptyFcn =
RecordDetail = compact
RecordMode = overwrite
RecordName = record.txt
RecordStatus = off
Status = open
Tag =
Timeout = 10
TimerFcn =
TimerPeriod = 1
TransferStatus = idle
Type = visa-generic
UserData = []
ValuesReceived = 0
ValuesSent = 0
VISA-GENERIC specific properties:
Alias = Spectrometer
EOIMode = off
EOSCharCode = LF
EOSMode = read&write
RsrcName = USB0::0x1313::0x8087::M00267479::0::RAW

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simultaneous and Synchronized Operations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by