Write/Read |
About Data Format |
Description |
Sets and returns the units for the specified data format. Measurements with display formats other than those specified are not affected. |
VB Syntax |
meas.FormatUnit (format) = value |
Variable |
(Type) - Description |
meas |
A Measurement (object) |
format |
(enum NADataFormat) - Choose from: 0 - naDataFormat_LinMag 1 - naDataFormat_LogMag |
value |
(enum naFormatUnit) For LogMag, choose from:
For LinMag, choose from:
|
Return Type |
Enum |
Default |
0 - naFormatUnit_dBm |
Examples |
meas.FormatUnit(1)= naFormatUnit_dBmV 'Write |
units = meas.FormatUnit(1) 'Read |
|
C++ Syntax |
HRESULT put_FormatUnit(tagDataFormat format, tagFormatUnit unit) HRESULT get_FormatUnit(tagDataFormat format, tagFormatUnit* unit) |
Interface |
IMeasurement9 |