23 #ifndef NSCOPEAPI_PULSEGNERATORS_H__ 24 #define NSCOPEAPI_PULSEGNERATORS_H__ NSCOPE_API ErrorType nScope_set_PX_period_in_ms(ScopeHandle nScope, int pChannel, double period)
Set a pulse channel period in milliseconds.
NSCOPE_API ErrorType nScope_get_PX_duty_percentage(ScopeHandle nScope, int pChannel, double *duty)
Get a pulse channel duty percentage.
#define NSCOPE_API
Definition: nScopeAPI_defs.h:29
NSCOPE_API ErrorType nScope_set_P1_P2_frequencies_in_hz(ScopeHandle nScope, double frequency1, double frequency2)
Set the pulse channel frequencies in hz.
NSCOPE_API ErrorType nScope_set_P1_P2_periods_in_us(ScopeHandle nScope, double period1, double period2)
Set a pulse channel periods in microseconds.
NSCOPE_API ErrorType nScope_get_P1_P2_periods_in_us(ScopeHandle nScope, double *pulsePeriods)
Get a pulse channel periods in microseconds.
NSCOPE_API ErrorType nScope_get_PX_pulse_width_in_ms(ScopeHandle nScope, int pChannel, double *pulseWidth)
Get a pulse width in milliseconds on a pulse channel.
NSCOPE_API ErrorType nScope_send_PX_oneshot_pulse(ScopeHandle nScope, int pChannel, double pulseWidth)
Send a single pulse out on a pulse channel.
NSCOPE_API ErrorType nScope_get_PX_period_in_ms(ScopeHandle nScope, int pChannel, double *period)
Get a pulse channel period in milliseconds.
ErrorType
Definition: nScopeAPI_defs.h:42
NSCOPE_API ErrorType nScope_set_PX_pulse_width_in_ms(ScopeHandle nScope, int pChannel, double pulseWidth)
Set a pulse width in milliseconds on a pulse channel.
NSCOPE_API ErrorType nScope_get_P1_P2_frequencies_in_hz(ScopeHandle nScope, double *pulseFrequencies)
Get the pulse channel frequencies in hz.
NSCOPE_API ErrorType nScope_send_P1_P2_oneshot_pulses(ScopeHandle nScope, double pulseWidth1, double pulseWidth2)
Send a single pulse out on both pulse channels.
NSCOPE_API ErrorType nScope_set_PX_frequency_in_hz(ScopeHandle nScope, int pChannel, double frequency)
Set a pulse channel frequency in hz.
NSCOPE_API ErrorType nScope_set_PX_pulse_width_in_us(ScopeHandle nScope, int pChannel, double pulseWidth)
Set a pulse width in microseconds on a pulse channel.
NSCOPE_API ErrorType nScope_set_PX_duty_percentage(ScopeHandle nScope, int pChannel, double duty)
Set a pulse channel duty percentage.
NSCOPE_API ErrorType nScope_get_P1_P2_periods_in_ms(ScopeHandle nScope, double *pulsePeriods)
Get a pulse channel periods in milliseconds.
NSCOPE_API ErrorType nScope_get_P1_P2_pulse_widths_in_ms(ScopeHandle nScope, double *pulseWidths)
Get the pulse widths in milliseconds on the pulse channels.
NSCOPE_API ErrorType nScope_get_PX_pulse_width_in_us(ScopeHandle nScope, int pChannel, double *pulseWidth)
Get a pulse width in microseconds on a pulse channel.
NSCOPE_API ErrorType nScope_get_PX_frequency_in_hz(ScopeHandle nScope, int pChannel, double *frequency)
Get a pulse channel frequency in hz.
NSCOPE_API ErrorType nScope_set_P1_P2_periods_in_ms(ScopeHandle nScope, double period1, double period2)
Set a pulse channel periods in milliseconds.
NSCOPE_API ErrorType nScope_get_PX_period_in_us(ScopeHandle nScope, int pChannel, double *period)
Get a pulse channel period in microseconds.
NSCOPE_API ErrorType nScope_get_P1_P2_pulse_widths_in_us(ScopeHandle nScope, double *pulseWidths)
Get the pulse widths in microseconds on the pulse channels.
NSCOPE_API ErrorType nScope_set_PX_period_in_us(ScopeHandle nScope, int pChannel, double period)
Set a pulse channel period in microseconds.
struct scopeDev_ * ScopeHandle
Definition: nScopeAPI_defs.h:32
NSCOPE_API ErrorType nScope_set_P1_P2_on(ScopeHandle nScope, bool P1on, bool P2on)
Set the pulse channels (on/off)
NSCOPE_API ErrorType nScope_set_P1_P2_pulse_widths_in_us(ScopeHandle nScope, double pulseWidth1, double pulseWidth2)
Set the pulse widths in microseconds on the pulse channels.
NSCOPE_API ErrorType nScope_get_P1_P2_on(ScopeHandle nScope, bool *pulseGensOn)
Get the pulse channels (on/off)
NSCOPE_API ErrorType nScope_set_P1_P2_duty_percentages(ScopeHandle nScope, double duty1, double duty2)
Set the pulse channel duty percentages.
NSCOPE_API ErrorType nScope_get_PX_on(ScopeHandle nScope, int pChannel, bool *PXon)
Get a pulse channel (on/off)
NSCOPE_API ErrorType nScope_set_PX_on(ScopeHandle nScope, int pChannel, bool PXon)
Set a pulse channel (on/off)
NSCOPE_API ErrorType nScope_set_P1_P2_pulse_widths_in_ms(ScopeHandle nScope, double pulseWidth1, double pulseWidth2)
Set the pulse widths in milliseconds on the pulse channels.
NSCOPE_API ErrorType nScope_get_P1_P2_duty_percentages(ScopeHandle nScope, double *dutyPercentages)
Get the pulse channel duty percentages.