IPowerSignalsDaqSession Interface
- Updated2025-01-08
- 1 minute(s) read
Represents the interface for the session used to interact with Power Signals DAQ.
Derives from
- IDisposable
Syntax
Namespace: NationalInstruments.PowerSignalsDaq
public interface IPowerSignalsDaqSession : IDisposable
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Close() | Disposes the session object. |
| ConfigureAcquisitionTime(TimeSpan, TimeSpan, string, DigitalEdgeTriggerEdge) | Configures the acquisition time and trigger parameters for data acquisition using a digital edge trigger. |
| ConfigureAcquisitionTime(TimeSpan) | Configures the acquisition time with immediate acquisition start upon calling Start. |
| ConfigureAcquisitionTime(TimeSpan, TimeSpan, string, AnalogEdgeTriggerSlope, double) | Configures the acquisition time and trigger parameters for data acquisition using an analog 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. |
| IsAcquisitionDone() | Checks if the acquisition is complete. |
| ReadMultiChannelMultiSampleDouble(int) | Reads floating-point samples from the session that contains one or more input channels. |
| ReadMultiChannelMultiSampleDouble(TimeSpan) | 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. |