Access to file scopes
public class xPCFileScope : xPCScope
Syntax Language: C#
public class xPCFileScope : xPCScope initializes
a new instance of the xPCFileScope class.
There are the following limitations:
You can have at most 128 files open on the target computer at the same time.
The largest single file that you can create on the target computer is 4 GB.
A fully qualified folder name can have a maximum of 248 characters, including the drive letter, colon, and backslash.
A fully qualified file name in the operating system on the
target computer can have a maximum of 260 characters. If the file name is longer than
eight-dot-three format (eight character file name, period, three character extension), the
operating system represents the file name in truncated form (for example, six characters followed
'~1'). MATLAB commands can access the file using the fully qualified file
name or the truncated representation of the name. Some block parameters, such as the Scope block
filename parameter, require 8.3 format for the file
Do not write data to the
private folder on
your target computer. It is reserved for Simulink®
The xPCFileScope class inherits methods from
The xPCFileScope class inherits events from
The xPCFileScope class inherits its other properties from
|Property||C# Declaration Syntax||Description||Exception|
Get or set the file scope autorestart setting.
Get data time object.
Get or set ability to create multiple log files for file
scopes. Values are
Get or set write mode of file. See xPCFileMode Enumerated Data Type.
Get or set file name for scope.
Get or set the maximum file size in bytes allowed before incrementing to the next file.
When the size of a log
If the software cannot create additional log files, it overwrites the first log file.
must be a multiple of
Get collection of file scope signals (xPCFileScopeSignalCollection) assigned to this scope object.
Get or set file scope signal (xPCFileScopeSignal) used to trigger the scope.
Get or set the unit number of bytes for memory buffer
writes. The memory buffer accumulates data in multiples of write size.