Thorlab Spectrometer CCS175 intigrating with matlab using NI-VISA protocol
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!