Routes signals (triggers, clocks, and events) to the specified output terminal.

Syntax

int32 __stdcall RFmxInstr_ExportSignal(niRFmxInstrHandle instrumentHandle, int32 exportSignalSource, char exportSignalOutputTerminal[])

Remarks

Note

This function is not supported on a MIMO session.

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

This parameter identifies the instrument session. This parameter is obtained from the RFmxInstr_Initialize function or the RFmxInstr_InitializeFromNIRFSASessionArray function.

exportSignalSource[in]int32

This parameter controls the source to export signals.

Name (Value)

Description

Start Trigger (0)

Start trigger is sourced.

Ref Trigger (1)

Reference trigger is sourced.

Advance Trigger (2)

Advance trigger is sourced.

Ready for Start Event (3)

Ready for Start event is sourced.

Ready for Advance Event (4)

Ready for Advance event is sourced.

Ready for Ref Event (5)

Ready for Reference event is sourced.

End of Record Event (6)

End of Record event is sourced.

Done Event (7)

Done event is sourced.

Reference Clock (8)

Reference clock is sourced.

exportSignalOutputTerminal[in]char[]

This parameter specifies the terminal where the signal is exported. You can also choose not to export any signal.

The default value is "" (empty string).

Name (Value)

Description

Do not export signal (())

The signal is not exported.

ClkOut (ClkOut)

Export the Reference Clock on the CLK OUT terminal on the digitizer. This value is not valid for the PXIe-5644/5645/5646 or PXIe-5820/5830/5831/5832/5840/5841/5842/5860.

RefOut (RefOut)

The signal is exported to the REF IN/OUT terminal on the PXIe-5652, the REF OUT terminals on the PXIe-5653, or the REF OUT terminal on the PXIe-5644/5645/5646, or PXIe-5820/5830/5831/5832/5840/5841/5842/5860.

RefOut2 (RefOut2)

The signal is exported to the REF OUT2 terminal on the LO. This connector exists only on some versions of the PXIe-5652.

PFI0 (PFI0)

The signal is exported to the PFI 0 connector on the PXIe-5142 and PXIe-5624.

PFI1 (PFI1)

The signal is exported to the PFI 1 connector on the PXIe-5142 and PXIe-5622.

PXI_Trig0 (PXI_Trig0)

The signal is exported to the PXI trigger line 0.

PXI_Trig1 (PXI_Trig1)

The signal is exported to the PXI trigger line 1.

PXI_Trig2 (PXI_Trig2)

The signal is exported to the PXI trigger line 2.

PXI_Trig3 (PXI_Trig3)

The signal is exported to the PXI trigger line 3.

PXI_Trig4 (PXI_Trig4)

The signal is exported to the PXI trigger line 4.

PXI_Trig5 (PXI_Trig5)

The signal is exported to the PXI trigger line 5.

PXI_Trig6 (PXI_Trig6)

The signal is exported to the PXI trigger line 6.

PXIe_DStarC (PXIe_DStarC)

The signal is exported to the PXI DStar C trigger line. This value is valid only on PXIe-5820/5830/5831/5832/5840/5841/5842/5860.

Returns

Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an RFmx function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the RFmxInstr_GetError function.

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors