03-21-2019 06:38 AM
hi,
I am trying to read a photodetector signal using FPGA. I am attaching the program I made. In that, I am not able to run the program. In I16 representation I am able to see the chart representation of the data but in fixed point, I am not able to see it. How can I fix it?
Regards,
03-21-2019 07:14 AM
Hi basimss,
there is no monitor attached to your FPGA, so it cannot show a frontpanel with charts…
Get rid of the charts and transfer the data to your host VI!
(Using charts in the FPGA is only for debugging. When debugging part of the code runs in the host and LabVIEW manages the data transfer on its own.)
03-22-2019 02:40 AM
hi,
I want to see the analog input voltage as same as that of a real oscilloscope. I can see that in the host vi when analog input is in I16 representation but the Y-axis values are I16 range. So I converted the I16 to FXP with y-axis representing 16 as 10 volt and -16 as -10v. But this time I am not able to see it. How can I fix it? Attaching the target vi and host vi.
03-22-2019 03:03 AM - edited 03-22-2019 03:03 AM
Hi basimss,
I want to see the analog input voltage as same as that of a real oscilloscope.
So you want to measure some voltage signals and wnat to plot them in a graph…
I can see that in the host vi when analog input is in I16 representation but the Y-axis values are I16 range.
Your host VI is quite empty, there is no "analog input" and no graph…
So I converted the I16 to FXP with y-axis representing 16 as 10 volt and -16 as -10v.
Where did you do that?
How can I fix it?
Use FXP values in the FPGA. It's senseless to write FXP values from your AI module to some I16 indicators!
How do you transfers your samples to your host? You read them with a samplerate of 1kHz in the FPGA…
Attaching the target vi and host vi.
Host VI is (nearly) empty and the lvproj file is missing…
(Just ZIP your project folder!)
03-22-2019 04:00 AM
hi,
I am sending the project file. Open analog input in target vi and hostvi in host.
regards
03-22-2019 04:06 AM
Hi basimss,
this project file is empty.
There is no FPGA definition and no RT host definition. Also your VIs aren't included in the project tree…
I really recommend to take the LabVIEW basics as offered in the Training section in the header of this LabVIEW board!