Can someboby helps me on how to control an ESPEC temperature chamber via an ACTIVEX control?

3 views (last 30 days)
I am trying to control an ESPEC temperature chamber. The vendor gives two solutions to control the chamber, one is via DLL, the other is via an ACTIVEX control. I have tried to use the activex control supplied, but I encountered a problem when I tried to initialize the chamber with the method supplied in the ACTIVEX control by using the following syntax as "invoke(handles.activex1, 'Init', args)". The last two arguments of this "Init" method is an array type, which has been converted into a VARIANT type in matlab. I am not sure whether it is right to use a CELL type arry or simply a matrix type. Actually, I tried both, but still got error returns saying "IMPROPER arguments". How to pass in proper argument types since matlab has a type convertion, OR it is because of something else(the ESPEC chamer is controlled via serial RS485, matlab has some limiations in supporting it?) I am really bothered. Somebody helps me out.
I have tried this activex control in DELPHI 7, which can function properly.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!