Skip to Main Content Skip to Search
Product Documentation

xPCGetScope - Get and copy scope data to structure

Prototype

scopedata xPCGetScope(int port, int scNum);

Arguments

port

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

scNum

Enter the scope number.

Return

The xPCGetScope function returns a structure of type scopedata.

Description

The xPCGetScope function gets properties of a scope with scNum and copies the properties into a structure with type scopedata. You can use this function in conjunction with xPCSetScope to change several properties of a scope at one time. See scopedata for a list of properties. Use the xPCGetScope function to get the scope number.

See Also

API functions xPCSetScope, scopedata

Target object method xpctarget.xpc.getscope

  


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