- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I’m trying to write an Application in Matlab (COM-Interface) for USB-I2C Bridge (PSoC Miniprog3).
These tow Documents explain how to developed such an application but unfortunately not for Matlab.
AN27079 - Developing PC Applications for USB-I2C Bridge
PSoC Programmer Component Object Model (COM) Interface Guide
Additionally I found this thread which describe how to use the ActiveX server to create a COM in Matlab for USB-I2C Bridge (CY3240). I thought, it could work with the PSoC Miniprog3 too if I find the right Programmatic Identifiers - ProgID.
So what I did is
Started the Bridge Control Panel
Looked for Programmatic Identifiers in Matlab, info = actxcontrollist;
… Nothing related found
Started the Bridge Control Panel in the CMD
Looked for Programmatic Identifiers in Matlab, info = actxcontrollist;
… Nothing related found
Started the PSoC Programmer
Looked for Programmatic Identifiers in Matlab, info = actxcontrollist;
… Nothing related found
I could use some help 🙂
Regards
Hosam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Ich fond the right ProgID for the MiniProg3
PSoCProgrammerCOM.PSoCProgrammerCOM_Object
And this is my solution for Matlab, if anyone interested
%Create COM server
USB2IIC = actxserver('PSoCProgrammerCOM.PSoCProgrammerCOM_Object');
% View class methods, here you find all the methods implemented in "PSoCProgrammerCOM_Object"
methodsview(USB2IIC);
% for example, if you want to find the ID of the Connectet Bridge...
%[int32 Variant(Pointer) string] = COM.GetPorts(handle, string)
[a b c] = USB2IIC.GetPorts(handle);
disp(cahr(b));
Regards
Hosam