| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → OPC Toolbox |
| Contents | Index |
| Learn more about OPC Toolbox |
showopcevents(DAObj)
showopcevents(DAObj,Index)
showopcevents(Struct)
showopcevents(Struct,Index)
showopcevents(DAObj) displays a summary of the event log for the opcda object specified by DAObj.
showopcevents(DAObj,Index) displays a summary of the events with index of Index. Index can be the numerical index, a string, or a cell array of strings that specifies the type of event. Valid events are CancelAsync, Error, ReadAsync, Shutdown, Start, Stop, and WriteAsync.
showopcevents(Struct) and showopcevents(Struct,Index) display a summary of the events with index of Index for the event structure, Struct. You can obtain an event structure from the object's EventLog property.
The display summary includes the event type, the local time the event occurred, and additional event-specific information.
Configure a logging task for the Matrikon Simulation Server, then display the event log to find timing information for the logging task:
da = opcda('localhost','Matrikon.OPC.Simulation');
connect(da)
grp = addgroup(da);
set(grp, 'RecordsToAcquire',10);
itm = additem(grp,'Bucket Brigade.Real8');
start(grp);
wait(grp);
showopcevents(da);

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |