ni579x Send User Command
- 更新时间2023-02-17
- 阅读时长5分钟
ni579x Send User Command
Sends user commands using the register bus.
Inputs/Outputs

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

User Command
| 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. |
| 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 |

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

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

scope
Ignored.

wait for completion?
Specifies whether to wait for the node to complete.

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

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

user command status
Indicates whether the previous command completed successfully.
0 = successful
Nonzero = unsuccessful

user return value
Returns data configured by the User Command signal.

user command error
Indicates that an error occurred and that you must reinitialize the device .
0 = no error
Nonzero = error

error out
Error information.
The node produces this output according to standard error behavior.