Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI 5441 hardware timed carrier frequency sweep

Hello, a further question I have:

I would like to modify the streaming example vi called "niFGEN Stream from Memory Maximum Transfer Rate.vi" which is downloaded from the Streaming section of the NI website. This vi does not generate the waveform, simply it streams data to the signal generator with the output disabled.

I would like to enable the output. How is this done?

I tried putting an "niFGEN Initiate Generation.vi" in the while loop which writes data to the card. The first time around this loop, after the first block of data is written to the card, I place the initiate vi. (Its inside a Case structure with, I==0 as the test). On all subsequent iterations the vi proceeds as normal. However, doing this results in a error:

Error -1074126839 occurred at niFgen Initiate Generation.vi

Possible reason(s): Driver Status: (Hex 0xBFFA2009) The function generator's sequence memory is full.

Anyone have any ideas?

Thanks,
Paul.
0 Kudos
Message 21 of 22
(3,816 Views)
Hi Paul,

That vi is really just meant to benchmark the rate at which you could potentially stream data from pc memory to the AWG memory.  My recommendation would be to make modifications to the niFGEN Stream from Disk Queues Win32 File IO.vi example.  Depending on your application, this example may already meet your needs if you want to stream the data from the hard disk.  If the waveform is small enough you can just generate it in memory, you should be able to modify the application to remove the file I/O queue and replace it with the code to generate the waveform your looking for.

I hope this helps,
Paul C.
0 Kudos
Message 22 of 22
(3,798 Views)