How to communicate with TCSPC via MATLAB?

2 visualizaciones (últimos 30 días)
Daewon Hwang
Daewon Hwang el 26 de Ag. de 2024
Comentada: Daewon Hwang el 29 de Ag. de 2024
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 comentarios
Angelo Yeo
Angelo Yeo el 26 de Ag. de 2024
What results do you get when you run visadev or visadevfind?
Daewon Hwang
Daewon Hwang el 29 de Ag. de 2024
I got empty array from visadevfind.

Iniciar sesión para comentar.

Respuestas (1)

Malay Agarwal
Malay Agarwal el 26 de Ag. de 2024
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!

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by