10-25-2024 01:20 AM
Hi everyone...
I get error when I try to connect more than one terminal to niUSRP Write TX block, the error message is in the attachments below. may you help me with this issue
10-25-2024 01:27 AM
Hi Husam,
@HUSAM2324 wrote:
I get error when I try to connect more than one terminal to niUSRP Write TX block,
You don't connect "more than one terminal", you try to connect the wrong datatype!
You need to provide the exact datatype expected by the USRP function…
10-25-2024 02:20 AM
Hi GerdW
Thank you for your assistance
I converted the type of data to the requested type as mentioned in the info of niUSRP Write Tx, but unfortunately it does not work. I attached the related pictures below.
Do you have any suggestions about that ?
10-25-2024 02:41 AM - edited 10-25-2024 02:44 AM
Hi HUSAM,
@HUSAM2324 wrote:
I converted the type of data to the requested type as mentioned in the info of niUSRP Write Tx
No, you did not…
The help mentions a cluster of (DBL, DBL, [CDB]) - and you created a very different cluster!
Please read the LabVIEW help MORE CAREFULLY:
Basic LabVIEW knowledge:
10-25-2024 07:46 AM
Hi GerdW
I think it is not possible to send more than on array using USRPWrite block. in the cluster of this block there are just 2 constant and one array. is there any way to send more than array ?
10-25-2024 08:02 AM
Hi Husam,
@HUSAM2324 wrote:
I think it is not possible to send more than on array using USRPWrite block.
is there any way to send more than array ?
Yes, the function expects a single waveform (kind of).
When you want to send several "waveforms" then you can build an array of those "waveforms" and call the USRP function in a loop - as usual…
10-25-2024 11:29 AM
@GerdW wrote:
Hi Husam,
@HUSAM2324 wrote:
I think it is not possible to send more than on array using USRPWrite block.
is there any way to send more than array ?
Yes, the function expects a single waveform (kind of).
When you want to send several "waveforms" then you can build an array of those "waveforms" and call the USRP function in a loop - as usual…
Are you sure you want to be using the complex double instance of the USRP Write data? Just looking at all the BLUE wires I suspect that you actually have IQ interleaved data. You can change the polymorphic instance by clicking on the bluish bordered banner under the vi. That will change the datatype expected into the Write.vi to match the type of data you are generating in your code.