From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-08-2013 11:34 AM
Good evening to you all. I'm trying to sample a signal at 100kHZ using a FPGA personality in NI Veristand. I would like to use this samples as an input for a simulink model running at 500Hz. I was wondering if there's the possibility to do so.
Thanks in advance,
best regards
Solved! Go to Solution.
10-08-2013 09:35 PM
FPGA data is read back to VeriStand point-by-point. Hence, your model will receive the latest data from FPGA, but not all the points.
10-09-2013 02:14 AM
Ok, thanks a lot for your answer. It means that we have not to use Veristand....
Regards
10-09-2013 02:57 AM - edited 10-09-2013 02:57 AM
This is solvable. In multiple ways:
1) You could use multiple channels to get data from FPGA and in fact serialize them.
2) You can create custom device and use LV Advanced FPGA tools (https://decibel.ni.com/content/docs/DOC-17185) to transfer data from FPGA f.e. by additional DMA channel and them serialize the data on RT part
The drawback is, that you would need 200 channels to do so.
Jiri Keprt
NIE Systems Engineer (RTT&HIL)
CLA, CTA, CLED
10-09-2013 03:31 AM
Yep, we tried that, and we realized as well the fact of the 200 channels... We hoped there was a better/faster way to do so 🙂
10-09-2013 03:41 AM
There is no elegant way to do so
You could use System Definition API to generate channels, and also API to do mapping...
Jiri Keprt
NIE Systems Engineer (RTT&HIL)
CLA, CTA, CLED
10-13-2013 04:57 PM
This is possible with NI VeriStand 2012 and later. Transfer the data from the FPGA using DMA FIFOs up to RT and then use a custom device running RT code to read the DMA and publish a "waveform" of the data using the custom device API.