Represents the NI-PowerSignalsDAQ driver session to interact with Power Signals DAQ.

Derives from

Syntax

Namespace: NationalInstruments.PowerSignalsDaq

public class PowerSignalsDaqSession : IPowerSignalsDaqSession

Properties

NameDescription
AvailableSamplesPerChannel

Gets the number of samples available to read per channel. This value is the same for all channels in the session.

PretriggerSamplesPerChannel

Gets the number of pretrigger samples to acquire from each channel before recognizing the reference trigger.

SampleClockRate

Gets the sampling rate in samples per channel per second.

TotalSamplesPerChannel

Gets the total number samples to acquire for each channel.

Methods

NameDescription
CreatePowerSignalsDaqSession(string, string)

Creates a new PowerSignalsDaqSession object, the session which can be used to interact with the Power Signals DAQ.

Close()

Disposes the session object.

ConfigureAcquisitionTime(TimeSpan, TimeSpan, string, AnalogEdgeTriggerSlope, double)

Configures the acquisition time and trigger parameters for data acquisition using an analog edge trigger.

ConfigureAcquisitionTime(TimeSpan)

Configures the acquisition time with immediate acquisition start upon calling Start.

ConfigureAcquisitionTime(TimeSpan, TimeSpan, string, DigitalEdgeTriggerEdge)

Configures the acquisition time and trigger parameters for data acquisition using a digital edge trigger.

CreateCurrentInputChannel(string, double, double)

Creates a current input channel or a set of current input channels with the specified parameters for measuring current.

CreateVoltageInputChannel(string, double, double)

Creates a voltage input channel or a set of voltage input channels with the specified parameters for measuring voltage.

Dispose()

Releases all resources used by the current instance of the PowerSignalsDaqSession class.

IsAcquisitionDone()

Checks if the acquisition is complete.

ReadMultiChannelMultiSampleDouble(TimeSpan)

Reads floating-point samples from the session that contains one or more input channels.

ReadMultiChannelMultiSampleDouble(int)

Reads floating-point samples from the session that contains one or more input channels.

Start()

Transitions the session to the running state to begin the measurement.

Stop()

Stops the session and returns it to the state the session was in before the Start ran.

Dispose(bool)
Finalize()