Specifications
9-252 | OWNER’S GUIDE
DWGetChannelListItem
Data itself is opened by reserving data and time_stamp variables and then using the DWGetScaledSam-
ples function
Color representation varies from different software, so the appropriate conversion is shown next by doing
an example plot.
As nal steps the data le is closed by using DWCloseDataFile and the library de-initialized by calling
DWDeInit.
If the DLL is no longer used inside MATLAB™, the unloadlibrary function frees up memory.
This demo shows basic operation and can be modied according to your own programming needs.
Using DCOM to access DEWESoft data online with MATLAB™
After installation, DS-7 is a registered DCOM component on your Windows system, giving you access to a
large number of functions, among them remote control and optionally hiding the software or loading a mea-
surement setup and accessing data online or ofine.
This same DCOM standard is used when programming your own plugins, math modules, import or export
lters or additional hardware drivers – independent from the used programming language.
Again, there are programming examples on the www.dewamerica.com webpage on the DS-7 product pages.
Example ListChannels:
Start DEWESoft from inside MATLAB:
global h;
h = actxserver(‘Dewesoft.App’);
h.Init();
h.Visible = true;
Build ChannelList
h.Data.BuildChannelList;
Count all available channels
h.Data.AllChannels.Count
Count used ones only
h.Data.UsedChannels
Access channel with index and get Name property:
h.Data.UsedChannels.Item(0).Name