4 mcs_graphic.m: summary of functionality – Multichannel Systems MATLAB Manual User Manual
Page 20

Points to Discuss
21
3.4 mcs_Graphic.m: Summary of Functionality
mcs_Graphic plots analog and triggered entities. mcs_Graphic uses ns_GetEntityInfo to get
information about the EntityType. With this information, it is possible to switch between analog
(EntityType = 2) and segment (EntityType = 3) data.
In case of analog data, ns_GetAnalogInfo is called to get information about the location locX
and locY.
In case of segment data, ns_GetSegmentInfo and ns_GetSegmentSourceInfo are called
to get the location of the data as well.
In both cases mcs_Graphic manages x- and y-data shown as a plot.
Depending on chosen call of the function, you can select entities / channels of interest.
Therefore it is possible to pick them out using EntityID .
Usage:
mcs_Graphic(hFile, EntityID, firstItem, ItemCount).
Description:
Generates a graphical output for analog and segment data.
Parameters:
hFile
Handle/Identification number to an open file.
EntityID
Identification number(s) of the entity in the data file.
firstItem Start.
itemCount
Number of items.