08-17-2013 02:56 PM
Hey folks so I got my sbRIO9636 from the sbRIO evaluation kit.
I was wondering if it's possible to pass a smulated signal through the analog output of my FPGA.
I basically have 2 signals I want to simulate which go to the analog output of the FPGA into a multiplier amplifier(this is a physical IC).
However whenever I try to pass the simulated signal into my analog output I get an error because the signal is 2D while the analog output is just a fixed point. IS there any way around this?
Solved! Go to Solution.
08-19-2013 08:58 AM
butterwaffle,
Can you describe the nature of the "simulated" signals you are trying to output. What VI are you using to generate the signals? An FPGA I/O node only accepts a single point of data, you cannot pass an array of data into an I/O node. You must generate the signals point by point or step through a list of values to output (controlling the frequency by the loop rate). If you could post a screenshot of your code thus far, it would be easier to point you in the right direction.
08-27-2013 12:17 AM
Sorry for the late reply Nick-C! I'm currently on vacation right now and just got access to the internet.
I was using the simulate signal VI here: http://www.ni.com/white-paper/4087/en/
I have tried another signal generator(I forgot the VI off the top of my head), but both of them failed due to them having a 2-D output.
08-27-2013 12:54 PM
Do you think you could post the FPGA code that you are working with? Because I am pretty sure that the Simulate Signal VI that you are using is not supported on FPGA.
08-27-2013 01:50 PM
Hi Butterwaffle,
As Nick indicated, FPGA output is point-by-point - you can only write a single sample to the AO at a time.
This is probably a good place to get started:
Tutorial: Waveform Generation with CompactRIO
http://www.ni.com/white-paper/4783/en
Hope that helps!
08-28-2013 08:22 PM
Thanks 0utlaw! I'll do what I can!