RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple arbitrary waveforms generation

Hi,

I would like to generate 1000 packets with 1000 different datas using RF 5670. can we do this using the script triggering. please let me know how can we dynamically update this trasmitted data.

Thanks and Regards
0 Kudos
Message 1 of 4
(7,952 Views)
Absolutely! This is quite a common use case of script triggering. If you're using LabVIEW then open up Script Trigger - Hardware Source.vi from the Example Finder in LabVIEW. This shows how you can trigger between multiple waveforms, all of them different. Examples in other languages can be accessed through the start menu at All Programs>>National Instruments>>NI-RFSG>>Examples.

I'm not exactly clear on what you mean by "how can we dynamically update this trasmitted data". Triggering is a dynamic process in itself which will allow you to switch between waveforms while generating. In order to load new waveforms into the script you must stop your generation, upload, and then start again.

Hope this helps!
Brian Spears
0 Kudos
Message 2 of 4
(7,941 Views)
Dear Brian Spears,

Thanks for your reply. Using NI RFSG 5670, If you write any arbitrary waveform into RFSG, you can generate the same data as many times as u required. So here the same data will be generated until you press the stop button or if you gave any condition for the while loop which is generating or if there is any error occured while generation.

If you want to generate multiple arbitrary waveforms, you have to write them into RFSG using different labels and you can generate them using the script trigger. (see the example "C:\Program Files\National Instruments\LabVIEW 7.1\examples\instr\niRFSG\niRFSGExamples.llb\Multiple Arbitrary Waveforms.vi").

But Here my problem is, First i will write one set of data (one arbitrary waveform) and I will have to generate this waveform once and after that I have to write one more different set of data and this time i need to generate this. If I have only two or three different sets of data, I can do this in similar way mentioned in niRFSGExamples.llb\Multiple Arbitrary Waveforms.vi and generate them one after the other by writing some script.
But here, I have to generate 1000 packets of 1000 different datas. So It is difficult to write 1000 packets in to RFSG with different labels.

So Is it possible to generate that kind of application. I hope I clearly explain the problem.

Thanks and Regards
0 Kudos
Message 3 of 4
(7,935 Views)
Take a look at this little example I wrote. It's kind of off the cuff but should give you an idea of what you can do. Notice that it is meant to go in the "update" case structure that you saw in Multiple Arbitrary Waveforms.vi. I'm assuming that you have some sort of algorithm that creates your 1000 waveforms. I've named them all by just the number 1, 2...etc. You'll place them in an array of strings and then use that to create the script with the Concatenate Strings.vi. I've only created a script (called 1000waves) using 2 of the dynamically created waveforms so you would want to use some sort of looping to create a script of 1000 waveforms.

Obviously you do have to stop generation and then start again while you're creating and updating the new script so the longer this takes the longer you won't be generating. Just be aware of that.

Hope this helps!
Brian Spears
0 Kudos
Message 4 of 4
(7,910 Views)