The PXI-5660 RF Signal Analyzer is a PXI-based hardware product from National Instruments that can receive signals from 9 kHz to 2.7 GHz with a 1 W max input power. If you transmit at 2W and after reaching the antenna connected to the 5660 the power is > 1W (+30 dBm), you will need an attenuator in front of the 5660 to bring the signal level down to a point which the 5660 can handle.
As for the Tx side, you can Tx with the PXI-5670 RF Vector Signal Generator at a max output power of +13 dBm, which is ~20 mW. You would need an RF amplifier for sure between the PXI-5670 output and the ensuing antenna.
In both cases, the devices come with software to control them that are LabVIEW-based and quite easy to use. If you already have RF Tx and RX hardware, they
probably have LabVIEW drivers, or some other interface with which LabVIEW can interact with. I recommend contacting NI at 1-800-IEEE-488 and asking for an internal sales representative to discuss your app with. Or, you can post more details here and I can definitely answer your questions.