Stg_PulseTTL, Stg_TTLOutputDoAction, Stg_TTLOutputDoActionAsync, Stg_TTLOutputGetControlMode, Stg_TTLOutputGetControlModePulses, Stg_TTLOutputGetPulseActiveState, Stg_TTLOutputGetPulseTime, Stg_TTLOutputPulse, Stg_TTLOutputPulseAsync, Stg_TTLOutputPulsesTrain, Stg_TTLOutputPulsesTrainAbort, Stg_TTLOutputPulsesTrainAsync, Stg_TTLOutputPulsesTrainFinished, Stg_TTLOutputSetControlMode, Stg_TTLOutputSetPulseActiveState, Stg_TTLOutputSetPulseTime, Stg_TTLOutputWrite, Stg_WriteTTL
Description
Stg_PulseTTL( char *LpLineName
, intLineStatus
, doubleTime
);
Generates a TTL pulse signal which is sent to the selected line.
Description
Stg_TTLOutputDoAction(
char *TTLOutputName
);
This function performs an action on the specified TTL output line. The action parameters is defined by other functions (see below).
See Also
Stg_TTLOutputSetPulseTime, Stg_TTLOutputSetControlMode, Stg_TTLOutputSetPulseActiveState
Description
Stg_TTLOutputDoActionAsync(
char *TTLOutputName
);
This function performs an action on the specified TTL output line. The action parameters is defined by other functions (see below). The action is asynchronous (the macro does not wait for the pulse to finish).
See Also
Stg_TTLOutputSetPulseTime, Stg_TTLOutputSetControlMode, Stg_TTLOutputSetPulseActiveState
Description
int Stg_TTLOutputGetControlMode(
char *TTLOutputName
);
This function returns the type of the action to be taken when the Stg_TTLOutputDoAction function is called (pulse or toggle).
Description
Stg_TTLOutputGetControlModePulses(
char *TTLOutputName
);
This function retrieves control mode pulses.
Description
int Stg_TTLOutputGetPulseActiveState(
char *TTLOutputName
);
This function retrieves the information about which value of the TTL signal is considered as active.
Description
double Stg_TTLOutputGetPulseTime(
char *TTLOutputName
);
This function retrieves the current setting of the pulse duration.
Description
Stg_TTLOutputPulse( char *TTLOutputName
, intLineStatus
, doublePulseTime
);
This function sends a “custom” pulse to the specified TTL output line.
Description
Stg_TTLOutputPulseAsync( char *TTLOutputName
, intLineStatus
, doublePulseTime
);
This function sends a “custom” pulse to the specified TTL output line. The action is asynchronous (the macro does not wait for the pulse to finish).
Description
Stg_TTLOutputPulsesTrain( char *TTLOutputName
, intLineStatus
, doublePulseTime
, doublePulseTime2
, intNumPeriods
, intInfiniti
);
This function generates pulses with defined parameters for set time periods.
Parameters
See Also
Stg_TTLOutputPulsesTrainAsync, Stg_TTLOutputPulsesTrainAbort, Stg_TTLOutputPulsesTrainFinished
Description
Stg_TTLOutputPulsesTrainAbort(
char *TTLOutputName
);
This function aborts generation of TTL output pulses.
See Also
Stg_TTLOutputPulsesTrain, Stg_TTLOutputPulsesTrainAsync, Stg_TTLOutputPulsesTrainFinished
Description
Stg_TTLOutputPulsesTrainAsync( char *TTLOutputName
, intLineStatus
, doublePulseTime
, doublePulseTime2
, intNumPeriods
, intInfiniti
);
This function generates pulses with defined parameters for set time periods. The action is asynchronous (the macro does not wait for the pulse to finish).
Parameters
See Also
Stg_TTLOutputPulsesTrainAbort, Stg_TTLOutputPulsesTrainFinished
Description
Stg_TTLOutputPulsesTrainFinished(
char *TTLOutputName
);
This function stops generating of TTL output pulses.
See Also
Stg_TTLOutputPulsesTrain, Stg_TTLOutputPulsesTrainAsync, Stg_TTLOutputPulsesTrainAbort
Description
Stg_TTLOutputSetControlMode( char *TTLOutputName
, intControlMode
);
This function sets the type of the action to be taken when the Stg_TTLOutputDoAction function is called (pulse or toggle).
Parameters
See Also
Stg_TTLOutputDoAction
Description
Stg_TTLOutputSetPulseActiveState( char *TTLOutputName
, intLineStatus
);
This function enables you to select which value of the TTL signal will be considered as active.
Parameters
See Also
Stg_TTLOutputDoAction
Description
Stg_TTLOutputSetPulseTime( char *TTLOutputName
, doublePulseTime
);
This function sets duration of the pulse to the specified TTL output line.
Parameters
Note
This value applies only when in the pulse control mode.
See Also
Stg_TTLOutputSetControlMode