|
static int32_t | GetChannelCount (uint32_t modid) |
|
static nai_status_t | naibrd_IRIG_VerifyChannel (uint32_t modId, int32_t channel) |
|
static nai_status_t | naibrd_IRIG_VerifyIRIGFormat (naibrd_irig_format_t format) |
|
static nai_status_t | naibrd_IRIG_VerifyIRIGModulation (naibrd_irig_modulation_t modulation) |
|
static nai_status_t | naibrd_IRIG_VerifyEventMappedStatusType (naibrd_irig_event_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_IRIG_VerifyEventMappedStatusLatchType (naibrd_irig_event_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_IRIG_VerifyBoolean (bool_t boolValue) |
|
static nai_status_t | naibrd_IRIG_VerifyInterruptTriggerType (naibrd_int_trigger_type_t triggerType) |
|
static nai_status_t | naibrd_IRIG_VerifyEventMappedStatusCategoryType (naibrd_irig_event_mapped_category_type_t type) |
|
static nai_status_t | naibrd_IRIG_VerifyStatusAccessType (nai_status_access_type_t type) |
|
static nai_status_t | naibrd_IRIG_VerifyInterruptSteeringType (naibrd_int_steering_t steering) |
|
static nai_status_t | naibrd_IRIG_VerifyCaptureEventEdgeType (naibrd_irig_capture_event_edge_type_t edgeType) |
|
static nai_status_t | naibrd_IRIG_VerifySignalType (naibrd_irig_signal_type_t signalType) |
|
static nai_status_t | naibrd_IRIG_VerifySignalLevel (naibrd_irig_signal_level_t signalLevel) |
|
static nai_status_t | naibrd_IRIG_VerifyPropOffset (int32_t propOffset) |
|
static nai_status_t | naibrd_IRIG_VerifyTimeZoneOffset (int32_t timeZoneOffset) |
|
static nai_status_t | naibrd_IRIG_VerifyReferenceSource (uint32_t refSrc) |
|
static nai_status_t | naibrd_IRIG_VerifyYear (int32_t year) |
|
static uint32_t | extractBCD (uint32_t in, int32_t pos, int32_t count) |
|
static uint32_t | intToBCD (uint32_t in) |
|
static bool_t | isValidIRIGProtocol (naibrd_irig_format_t irigFormat, naibrd_irig_modulation_t irigModulation, naibrd_irig_carrier_freq_t carrierFreq, naibrd_irig_code_exp_t codeExp, uint16_t *rawValue) |
|
NAIBRDFUNC int32_t NAIAPI | naibrd_IRIG_GetChannelCount (uint32_t modId) |
| Returns the number of channels for the specified IRIG Module ID.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetMasterTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_master_timer_info_t *p_outIrigInfoStruct) |
| Gets the date and time from the master timer. The master time is derived from either IRIG, onboard real-time clock (RTC) reference source or free running timer when IRIG signal is not locked/presented.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetActualIRIGDateAndTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_master_timer_info_t *p_outIrigInfoStruct, uint32_t *p_outErroredFrameCount) |
| Gets the actual IRIG message date and time from the IRIG input. The readings are valid only if IRIG messages are being received. Also gets the number of IRIG frame errors detected by the module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_ClearErroredFrameCount (int32_t cardIndex, int32_t module, int32_t channel) |
| Clear the errored frame count. The errored frame count will be incremented when the received IRIG signal does not match the expected format. This function clears the secondary output p_outErroredFrameCount of naibrd_IRIG_GetActualIRIGDateAndTime.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetProtocolByValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_protocol_value_t irigProtoValue) |
| Set the IRIG Protocol with a value given by the naibrd_irig_protocol_value_t enum type. This enum contains all valid IRIG protocols and the enum value itself reflects the configuration settings of the IRIG Format, IRIG Modulation, Carrier Frequency and Coded Expression. Specifically, the format of the 16-bit value is shown below:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetProtocolByValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_protocol_value_t *p_outIrigProtoValue) |
| Get the IRIG Protocol that the device is currently set to. This function returns a 16-bit value of an enum type that reflects the reference configuration settings of the IRIG Format, IRIG Modulation, Carrier Frequency and Coded Expression. Specifically, the format of the 16-bit value is shown below:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetProtocol (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_protocol_t irigProtocol) |
| Set the IRIG Protocol, which comprises of four reference parameters: IRIG Format, IRIG Modulation, Carrier Frequency and Coded Expression. Only certain combinations of these four parameters are currently supported and these combinations are shown in the table below. For simplicity, you can use naibrd_IRIG_SetProtocolByValue() instead.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetProtocol (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_protocol_t *p_outIrigProtocol) |
| Get the IRIG Protocol that the device is currently set to. The IRIG protocol comprises of four reference parameters: IRIG Format, IRIG Modulation, Carrier Frequency and Coded Expression.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetFormat (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_format_t irigFormat) |
| Sets the IRIG format only and it doesn't touch IRIG Modulation, Carrier Frequency, or Coded Expression. For simplicity, you can use naibrd_IRIG_SetProtocolByValue() instead.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetFormat (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_format_t *p_outIrigFormat) |
| Get the currently set IRIG format.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetModulation (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_modulation_t irigModulation) |
| Sets the IRIG Modulation only and it doesn't touch IRIG Format, Carrier Frequency, or Coded Expression. For simplicity, you can use naibrd_IRIG_SetProtocolByValue() instead.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetModulation (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_modulation_t *p_outIrigModulation) |
| Get the currently set IRIG Modulation.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetYear (int32_t cardIndex, int32_t module, int32_t channel, int32_t year) |
| Set the two-digit year for IRIG sources/format e.g (B122) that do not provide year information.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetYear (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outYear) |
| Get the currently set two-digit year for IRIG sources that do not provide year information which is set by calling naibrd_IRIG_SetYear().
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetReferenceSource (int32_t cardIndex, int32_t module, int32_t channel, uint32_t refSource) |
| Sets the desired reference source to be used by the master timer. If the actual reference source is not available to the module, the master timer data will have unexpected results. The options are: 0: IRIG requested 5: RTC requested (can only be requested, never preferred) 7: Free-Running or No reference.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetReferenceSource (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outRefSource) |
| Gets the desired Reference Source that was set by calling naibrd_IRIG_SetReferenceSource(). If this function returns 7 (Free-Running or No Reference), read the master timer to determine the actual reference source. The options are: 0: IRIG requested 5: RTC requested (can only be requested, never preferred) 7: Free-Running or No reference.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetActualReferenceSource (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outRefSource) |
| Gets the current actual Reference Source used by RG1, this is the source of the master time. The output will be one of: 0 = IRIG 3 = RTC (RG1 only) 5 = Has never been set 6 = Losing sync (coasting, possibly still okay). Coasting means that the IRIG time is deviating from the external time source. 7 = Master timer can use the Free-Running time if Free-Running Launch is set. Also means No Reference if the IRIG is not incrementing (coasting, too long).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetFreeRunningTimeAndDate (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_master_timer_info_t IRIGTimerInfoStruct) |
| Load time and date to master timer only if free-running (nominally for test when IRIG is not available). After the time and date for the free running time, this function also loads it content to the master time. The reference source should be set to (Free-Running or No reference).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetFreeRunningTimeAndDate (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_master_timer_info_t *p_outIRIGTimerInfoStruct) |
| Get free-running time and date from master timer (nominally for test).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_status_type_t *p_outstatus) |
| Retrieves the DST (Daylight Savings Time) status from the master time.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDSTOffset (int32_t cardIndex, int32_t module, int32_t channel, uint32_t dstOffset) |
| Sets the DST (Daylight Savings Time) Offset. This is the DST adjustment to be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTOffset (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outdstOffset) |
| Gets the DST (Daylight Savings Time) Offset. This is the DST adjustment to be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDSTStart (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t irigDSTInfoStruct) |
| Sets the DST (Daylight Savings Time) Start Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTStart (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t *p_outirigDSTInfoStruct) |
| Gets the DST (Daylight Savings Time) Start Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDSTEnd (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t irigDSTInfoStruct) |
| Sets the DST (Daylight Savings Time) End Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTEnd (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t *p_outirigDSTInfoStruct) |
| Gets the DST (Daylight Savings Time) End Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDclsPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
| Set the Number of ticks to be added to or subtracted from received IRIG DCLS reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDclsPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
| Get the number of ticks added to or subtracted from received IRIG DCLS reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetModeAPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
| Set the Number of ticks to be added to or subtracted from received IRIG AM Mode A reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetModeAPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
| Get the number of ticks added to or subtracted from received IRIG AM Mode A reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetModeBPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
| Set the Number of ticks to be added to or subtracted from received IRIG AM Mode B reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetModeBPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
| Get the number of ticks added to or subtracted from received IRIG AM Mode B reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetModeGPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
| Set the Number of ticks to be added to or subtracted from received IRIG AM Mode G reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetModeGPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
| Get the number of ticks added to or subtracted from received IRIG AM Mode G reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetTimeZoneOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t timeZoneOffset) |
| Set the Number of minutes to be added to or subtracted from received IRIG reference time to accommodate time zone differences. Range : +/-1439 To be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetTimeZoneOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outTimeZoneOffset) |
| Get the number of minutes added to or subtracted from received IRIG reference time to accommodate time zone differences. Range : +/-1439.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetInputAnalogTermEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
| Enable or disable IRIG input analog termination.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetInputAnalogTermEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outEnable) |
| Gets the enable or disable state of the IRIG input analog termination setting.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetInputDigitalTermEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
| Enable or disable the IRIG input digital termination.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetInputDigitalTermEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outEnable) |
| Gets the enable or disable state of the IRIG input digital termination setting.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDigitalInput (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_level_t signalLevel) |
| Set the IRIG digital input to either RS485 or RS232 when not using the analog IRIG signal.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDigitalInput (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_level_t *p_outsignalLevel) |
| Gets the IRIG digital input signal level (RS485 or RS232).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDigitalLevel (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_type_t signalType, naibrd_irig_signal_level_t signalLevel) |
| Set the IRIG digital output signal level for either RS485 or RS232. b0: IRIG Digital out: 1=RS485, 0=RS232 b1: 1PPS out, event in: 1=RS485, 0=RS232.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDigitalLevel (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_type_t signalType, naibrd_irig_signal_level_t *p_outsignalLevel) |
| Gets the IRIG digital output signal level (RS485 or RS232).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetAMOutputGain (int32_t cardIndex, int32_t module, int32_t channel, uint8_t level) |
| Set the IRIG AM output gain level (0 to 255).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetAMOutputGain (int32_t cardIndex, int32_t module, int32_t channel, uint8_t *p_outlevel) |
| Get the currently set IRIG AM output gain level (0 to 255).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDriftThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t driftThreshold) |
| Set the IRIG drift threshold, which is the number of seconds before ‘excessive drift’ interrupt (16 bits) by comparing the master time with the actual IRIG source. The count down starts when master time is not locked on to a reference. When the count reaches to zero and the master time remain not locked on to a reference, the actual Reference source register (0x10E4) will be set to 7(coasting for too long) and the status Change in refernce source(b15) in General Status will be set.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDriftThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outDriftThreshold) |
| Get the IRIG drift threshold, which is the number of seconds before ‘excessive drift’ interrupt (16 bits)
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetCtrlBitsToSend (int32_t cardIndex, int32_t module, int32_t channel, uint32_t ctrlbits) |
| Set the IRIG user bits(CF) to send, which are loaded at the beginning of an IRIG Tx frame. This applies to both analog and digital IRIG. Not all IRIG protocol supports user bits(CF) field.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCtrlBitsToSend (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outctrlbits) |
| Get the IRIG user bits to send, which are loaded at the beginning of an IRIG Tx frame.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCtrlBitsReceived (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outctrlbits) |
| Get the IRIG user bits received, which are loaded when received. This applies to both analog and digital IRIG. Not all IRIG protocol supports user bits(CF) field.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_Set1PPSPulseWidth (int32_t cardIndex, int32_t module, int32_t channel, uint32_t pulseWidthUSec) |
| Sets the 1PPS Pulse Width for the specified IRIG channel in units of microseconds. The 1PPS pulse is generated by the master timer. Output only.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_Get1PPSPulseWidth (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outpulseWidthUSec) |
| Retrieves the 1PPS Pulse Width for the specified IRIG channel in units of microseconds.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetPeriodicInterruptPeriod (int32_t cardIndex, int32_t module, int32_t channel, uint32_t periodUSec) |
| Sets the Periodic Interrupt Period in units of microseconds. The 1PPS pulse is generated by the master timer. Output only.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetPeriodicInterruptPeriod (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outperiodUSec) |
| Retrieves the Periodic Interrupt Period for the specified IRIG channel in units of microseconds.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetCaptureEventTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_time_t captureEventTimeStruct) |
| Sets the Capture Event Time for the specified IRIG channel based on the values in the structure passed in. Write any value to reset the capture register. The format of each value in the structure is as follows: Hour: 0-255, Minute: 0-59, Second: 0-59, Tenth of Second: 0-9, Hundredth of Second: 0-9.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_time_t *p_outcaptureEventTimeStruct) |
| Retrieves the Capture Event Time for the specified IRIG channel. The format of each value in the structure is as follows: Hour: 0-255, Minute: 0-59, Second: 0-59, Tenth of Second: 0-9, Hundredth of Second: 0-9.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventTimeMSec (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outcaptureEventTimeMSec) |
| Retrieves the Capture Event Time in milliseconds for the specified IRIG channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventTimeFraction (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outcaptureEventTimeFraction) |
| Retrieves the Capture Event Time Fraction of mSec for the specified IRIG channel. The LSB of the register is 8.33333 nsec.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetCaptureEventEdge (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_edge_type_t captureEventEdge) |
| Sets the Capture Event Edge to Rising Edge or Falling Edge for the specified IRIG channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventEdge (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_edge_type_t *p_outcaptureEventEdge) |
| Retrieves the Capture Event Edge (Rising Edge or Falling Edge) for the specified IRIG channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventInputState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_input_state_type_t *p_outcaptureEventInputState) |
| Retrieves the current Capture Event Input State for the specified IRIG channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetRTCTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_rtc_time_t rtcTimeStruct) |
| Sets the RTC (Real Time Clock) Time for the specified IRIG channel based on the values in the structure passed in. Once the RTC is set, use the function naibrd_IRIG_SetRTC to load the content to the master time.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetRTCTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_rtc_time_t *p_outrtcTimeStruct) |
| Retrieves the RTC (Real Time Clock) Time for the specified IRIG channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetRTCDate (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_rtc_date_t rtcDateStruct) |
| Sets the RTC (Real Time Clock) Date for the specified IRIG channel based on the values in the structure passed in. Once the RTC is set, use the function naibrd_IRIG_SetRTC to load the content to the master time.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetRTCDate (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_rtc_date_t *p_outrtcDateStruct) |
| Retrieves the RTC (Real Time Clock) Date for the specified IRIG channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetRTC (int32_t cardIndex, int32_t module, int32_t channel) |
| Sets the RTC (Real Time Clock) for the specified IRIG channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetRTCPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
| Sets the Number of ticks to be added to or subtracted from the master timer when the reference source is RTC The range: +/-10.0 seconds (-1199999999 to 1199999999) wc todo, need to verify the range.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetRTCPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outpropOffset) |
| Gets the Number of ticks to be added to or subtracted from the master timer when the reference source is RTC The range: +/-10.0 seconds (-1199999999 to 1199999999) wc todo, need to verify the range.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetRTCTimeZoneOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t timeZoneOffset) |
| Sets the Number of minutes to be added to or subtracted from the master timer when the reference source is RTC. Range : +/-1439.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetRTCTimeZoneOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outtimeZoneOffset) |
| Gets the Number of minutes to be added to or subtracted from the master timer when the reference source is RTC. Range : +/-1439.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_status_type_t statusType, nai_status_bit_t *p_outstatus) |
| Retrieves the event mapped status of a channel for a specific event mapped status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_ClearEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_status_type_t statusType) |
| Clears the IRIG Event Mapped Latched Status for the specified channel and status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_category_type_t type, nai_status_access_type_t accessType, uint32_t *p_outStatus) |
| Retrieves the interrupt status raw register data of the channel, interrupt category type, and status access type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_ClearEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_category_type_t type, uint32_t mask) |
| Clears the latched interrupt status raw register data of the channel and interrupt category type specified. Only the bits set in the parameter mask will be cleared.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_status_type_t type, bool_t enable) |
| Sets the Event Mapped Interrupt Enable for the specified IRIG channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_status_type_t type, bool_t *p_outenable) |
| Retrieves the Event Mapped Interrupt Enable for the specified IRIG channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_status_type_t type, naibrd_int_trigger_type_t triggerType) |
| Sets the Event Mapped Interrupt Edge/Level property for the specified IRIG channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_status_type_t type, naibrd_int_trigger_type_t *p_outtriggerType) |
| Retrieves the Event Mapped Interrupt Edge/Level property for the specified IRIG channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_category_type_t type, uint32_t vector) |
| Sets the Event Mapped Interrupt Vector for the specified IRIG channel and event mapped interrupt status category type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_category_type_t type, uint32_t *p_outVector) |
| Retrieves the Event Mapped Interrupt Vector for the specified IRIG channel and event mapped interrupt status category type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_category_type_t type, naibrd_int_steering_t steering) |
| Sets the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified IRIG channel and event mapped interrupt status category type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_event_mapped_category_type_t type, naibrd_int_steering_t *p_outSteering) |
| Retrieves the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified IRIG channel and event mapped interrupt status category type.
|
|