How to communicate with TCSPC via MATLAB?

조회 수: 2 (최근 30일)
Daewon Hwang
Daewon Hwang 2024년 8월 26일
댓글: Daewon Hwang 2024년 8월 29일
Hello
I'm a graduate student in bioimaging lab.
In our lab, we have TCSPC device from company Becker & Hickl (BH) and it is connected through PCI bus.
It's possible to use TCSPC via software developed from BH, but I want to use several functions of TCSPC via our imaging program written by MATLAB.
I tried to use several MATLAB functions ('visadev','visadevfind',etc.) to communicate with TCSPC, but I couldn't connect to TCSPC via MATLAB.
Here's the quetions to ask
1) Is there any reference code written in MATLAB which is used for communication with TCSPC via MATLAB?
2) If not, could I get some guidances for that? I downloaded .dll files from BH.
  댓글 수: 2
Angelo Yeo
Angelo Yeo 2024년 8월 26일
What results do you get when you run visadev or visadevfind?
Daewon Hwang
Daewon Hwang 2024년 8월 29일
I got empty array from visadevfind.

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

답변 (1개)

Malay Agarwal
Malay Agarwal 2024년 8월 26일
If you have downloaded the DLLs from the vendor, you can use the "loadlibrary" function in MATLAB to load the DLL. Once the DLL is loaded, you can use the "calllib" function to call functions from the DLL. You can also view the functions and their signatures in the DLL using the function "libfunctionsview".
The following MATLAB Answers shows an example of loading and calling functions from a DLL: https://www.mathworks.com/matlabcentral/answers/841545-accessing-data-from-a-dll-file.
Please refer to the following resources for more information:
Hope this helps!

태그

Community Treasure Hunt

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

Start Hunting!

Translated by