Table Of Contents

ni579x Send User Command (G Dataflow)

Version:
    Last Modified: April 3, 2018

    Sends user commands using the register bus.

    connector_pane_image
    datatype_icon

    Register Bus

    Register Bus object created by ni579x Open and used as the session handle for the NI-579x Configuration nodes.

    datatype_icon

    User Command

    Refer to the following table for valid commands, arguments, and return values.

    User Setting User Command Value (U8) User Data 0 Value (U16) User Data 1 Value (U8)
    Set Clock Select – Sets the Sample Clock to the specified setting. 0

    0 = Internal Sample Clock.

    1 = Internal Sample Clock locked to an external Reference Clock through the CLK IN connector.

    2 = External Sample Clock through the CLK IN connector.

    3 = Internal Sample Clock locked to an external Reference Clock through the IoModSyncClock.

    N/A
    Set CLK OUT Source – Determines the CLK OUT output. 1

    0 = disabled

    1 = Reference Clock

    2 = Sample Clock

    N/A
    DAC Sync User Start – Sets up the DAC to receive a user supplied SYNC pulse. After this command returns, send a rising edge on the Synchronize DAC CLIP signal to send a SYNC pulse to the DAC, then send CmdDacSyncUserEnd. Refer to the DAC datasheet for the use of the SYNC signal. 2 N/A N/A
    DAC Sync User End – Finalizes DAC synchronization and checks for errors. 3 N/A N/A
    Set Tx Attenuation – Sets the Tx Programmable Attenuator to the attenuation specified in UserData0. 9 Attenuation (.25 dB per LSB, max 31.75 dB or 0x7F) N/A
    Set LO Filter – Configures the Tx LO filter path. 32 Non-zero = Tx LO

    Byte setting. Refer to the following list for cut-off frequencies for each byte.

    0xF1 : 316 MHz

    0xEC : 474 MHz

    0xE9 : 711 MHz

    0xD6 : 1,066 MHz

    0xD3 : 1,600 MHz

    0xCE : 2,400 MHz

    0xCB : 3,600 MHz

    0xF : >3,600 MHz

    Set Front End Filter – Configures the Tx front end filters. 33 Non-zero = Tx

    Byte setting. Refer to the following list for cut-off frequencies for each byte.

    0x00 : <3,600 MHz

    0x01 : <2,400 MHz

    0x02 : <1,600 MHz

    0x03 : <1,066 MHz

    0x04 : <711 MHz

    0x05 : <474 MHz

    0x06 : <316 MHz

    0x07 : >3,600 MHz

    Set LO Power – Turns the LO and the LO power supply on and off. 34 0 = LO

    0 = off

    Non-zero = on

    Set Routing Mux – Configures all the multiplexers that control LO paths and signal paths (not including filters). Each mux is either 2:1 or 1:2, so there are only two options for UserData1 per mux. 37 Refer to the Mux Select Enumeration table.

    0 = off/default

    Non-zero = on

    Refer to the Mux Select Enumeration table for details.

    Read Revision Lower – Reads the lower two bytes of the CLIP Revision. 240 N/A N/A
    Read Revision Upper - Reads the upper two bytes of the CLIP Revision 241 N/A N/A
    Read Oldest Compatible Revision Lower - Reads the lower two bytes of the oldest compatible revision of the CLIP. 242 N/A N/A
    Read Oldest Compatible Version Upper - Reads the upper two bytes of the oldest compatible revision of the CLIP. 243 N/A N/A
    Reinitialize - Reinitializes the module and CLIP. The CLIP pulls the Initialization Done signal low before acquiring the Reinitialize command. Wait for the Initialization Done signal to go high before proceeding. 255 Refer to the Mux Select Enumeration table.

    0 = off/default

    Non-zero = on

    Refer to the Mux Select Enumeration table for details.

    Table 1. Mux Select Enumeration
    Value Name Setting
    0 LoSource

    0 = Internal LO

    Non-zero = External LO

    2 LoOut

    0 = LO Out off

    Non-zero = LO Out on

    3 TxModBypass

    0 = Tx modulator bypass disable

    Non-zero = Tx modulator bypass enable

    datatype_icon

    timeout

    Specifies the amount of time that the node waits, in ms, for the operation to complete.

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    scope

    Ignored.

    datatype_icon

    wait for completion?

    Specifies whether to wait for the node to complete.

    datatype_icon

    read return values?

    Specifies whether to read return values from the user return value parameter.

    datatype_icon

    Register Bus (out)

    The Register Bus object created by ni579x Open and used as the session handle for the NI-579x Configuration nodes.

    datatype_icon

    user command status

    Indicates whether the previous command completed successfully.

    0 = successful

    Nonzero = unsuccessful

    datatype_icon

    user return value

    Returns data configured by the User Command signal.

    datatype_icon

    user command error

    Indicates that an error occurred and that you must reinitialize the device .

    0 = no error

    Nonzero = error

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported

    Web Server: Not supported in VIs that run in a web application


    Recently Viewed Topics