Skip to Main Content Skip to Search
Product Documentation

xPCSetScope - Set properties of scope

Prototype

void xPCSetScope(int port, scopedata state);

Arguments

port

Enter the value returned by either the function xPCOpenSerialPort or the function xPCOpenTcpIpPort.

state

Enter a structure of type scopedata.

Description

The xPCSetScope function sets the properties of a scope using a state structure of type scopedata. Set the properties you want to set for the scope. You can set several properties at the same time. For convenience, call the function xPCGetScope first to populate the structure with the current values. You can then change the desired values. Use this function only when the scope is stopped. Use xPCScGetState to determine the state of the scope.

See Also

API functions xPCGetScope, xPCScGetState, scopedata

Scope object method set (scope object)

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS