FUTEK .NET API Documentation
FUTEK.Devices Assembly / FUTEK.Devices Namespace / DeviceQIA128 Class / GetChannelXReading Method


In This Topic
    GetChannelXReading Method (DeviceQIA128)
    In This Topic
    Retrieves the reading for the specified channel.
    Syntax
    'Declaration
     
    
    Public Function GetChannelXReading( _
       ByVal channelNumber As Integer _
    ) As Double
    'Usage
     
    
    Dim instance As DeviceQIA128
    Dim channelNumber As Integer
    Dim value As Double
     
    value = instance.GetChannelXReading(channelNumber)
    public double GetChannelXReading( 
       int channelNumber
    )

    Parameters

    channelNumber

    Return Value

    If the number of loading points is zero returns NaN. Otherwise, converts the ADC value to a reading using the ADC conversion service.
    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also