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 eight 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 can have a maximum of 260 characters: The
file part can have at most 12 characters: eight for the file name,
one for the period, and at most three for the file extension. A file
name longer than eight characters is truncated to six characters followed
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.