Keysight Pathwave 89600 VSA .NET API
DataSign Property
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > DigitalChannel Class : DataSign Property


Glossary Item Box

Gets or sets how signed numbers are represented.

Syntax

Visual Basic (Declaration) 
Public MustOverride Property DataSign As DigitalInputSignConvention
C# 
public abstract DigitalInputSignConvention DataSign {get; set;}
C++/CLI 
public:
abstract property DigitalInputSignConvention DataSign {
   DigitalInputSignConvention get();
   void set (    DigitalInputSignConvention value);
}

Remarks

Supported sign conventions are two's complement and offset binary. The DataSign property applies to all channels.

Data from the Logic Analyzer starts as several digital channels grouped into named buses. Each bus represents an n-bit signed number that is either a real number or part of a complex number. The numbers are initially normalized (as shown in the tables below) so that the maximum absolute value is 1. This scaling is then modified by the DataPart and the digital channel DataScalePart1 and DataScalePart2 settings.

The following tables illustrate the two sign conventions:

Offset binary n-digit number: Represents (when normalized):
111...11 1 - 1/2^(n-1)
100...01 +1/2^(n-1)
100...00 0.0
011...11 -1/2^(n-1)
000...00 -1 + 1/2^(n-1)

Two's complement n-digit number: Represents (when normalized):
011...11 1 - 1/2^(n-1)
000...01 +1/2^(n-1)
000...00 0.0
111...11 -1/2^(n-1)
100...00 -1 + 1/2^(n-1)

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also