Write/Read
About SnP files

SnPFormat Property


Description

Specifies the format of .SnP files.

Use either app.Save (saves data to file) or meas.Get SnpDataWithSpecifiedPorts (reads data into variant array).

 VB Syntax

pref.SnPFormat = value

Variable

(Type) - Description

pref

A Preferences (object)

value

(string) - Format of the .S1P, .S2P, .S3P, .S4P data. Choose from:

"MA" - Linear Magnitude / degrees

"DB" - Log Mag / degrees

"RI" -  Real / Imaginary

"Auto" - Format in which the trace is already displayed.  If other than Log Mag, Linear Magnitude, or Real/Imag, then the format will be in Real/Imag.

Return Type

String

Default

"Auto"

Examples

pref.SnPFormat = "MA" 'Write

format = pref.SnPFormat 'Read

C++ Syntax

HRESULT get_SnPFormat(BSTR *Format)
HRESULT put_SnPFormat(BSTR Format)

Interface

IPreferences


Last Modified:

13-Jun-2011

Updated list to get method