Write/Read
About SA Application

FilePrefix Property


Description

Sets and returns the file name prefix for the data file. The receivers selected in ExportReceiverSetList will be appended to the specified prefix name with either "_X.txt" if a text file is exported (TextFileEnabled) or "_X.bin" if a binary file is exported (BinaryFileEnabled). X is the receiver name.

VB Syntax

sa.dft.FilePrefix = prefix

Variable

(Type) - Description

sa.dft

A SpectrumAnalyzerDFT (object)

prefix

(String) Specified prefix.

Return Type

String

Example

sa.dft.FilePrefix = "C:\TEMP\SA_DATA_OUT" 'Write

value = sa.dft.FilePrefix 'Read

C++ Syntax

HRESULT get_FilePrefix(BSTR* prefix);

HRESULT put_FilePrefix(BSTR prefix);

Interface

ISpectrumAnalyzerDFT