02-26-2009 12:42 PM
Hi,
I am using LabVIEW 8.5 and cRIO 9074 with 9263 (AO) module.
I have an array being generated in my RTCode as a result of an integration. I have to send this signal as output through FPGA, however, I realize that we can only send single elements out of the FPGA, and that too of fixed point data type.
Then how do I send this array out through my 9263 module?
Thanks,
Mandar
02-27-2009 04:28 PM
One by one.
You need to know the required sample rate for the AO signal.
The FPGA has multiple ways of retrieving data.
1. You could perhaps use FIFO's to send data to the FPGA queued, I don't know if that is support already in 8.5. And start the FPGA outputting them one by one.
2. You could use "VI scoped memory" (I think that what its called). Declare a buffer in memory and start the FPGA outputting them one by one.
3. If your amount of data is not very large (<50) you maybe could use a fixed size array control. And start the FPGA outputting them one by one.
Regarding the fixed point. All IO is discrete even the AO, so might want to use integer to be sent to the FPGA instead of FPGA consuming fixed point numbers. Just scale the integration output to the AO raw output range.
02-28-2009 05:48 AM
Hi Andre,
1. I searched for FPGA queued, but there was no such vi.
2. I could not understand VI scoped memory properly. Also, how do we output the stage by stage after we read the memory in the FPGA vi?
3. I made an array control in FPGA vi of size 10 and tried that you had said... but am getting no output from it 😞
I am attaching the screenshots of FPGA come and RTcode. Can you tell where I am gonig wrong?
Thanks a lot,
Mandar