03-13-2025 10:47 AM
Hi,
I am using a USB-7845R and LabView FPGA to create a ramp signal that upon receiving a threshold voltage value from AI 0 it steps via a user-defined voltage value until the end voltage is reached at which point resets to the starting voltage value. I am running into some knowledge limitation in terms of how to complete this correctly. Additionally, I am getting errors suggesting these lines are not compatible with my current FPGA target? Any suggestions would be greatly appreciated.
03-13-2025 12:12 PM
You need to learn basic LabVIEW.
Now look at (and fix) your code.
Bob Schor
03-13-2025 01:52 PM
Hi Bob,
Thank you very much for your reply. I will certainly work on learning LabView. In the meantime I have adjusted the diagram as shown below. I believe I am still not getting the correct/intended behavior. The goal is as analog input receives some voltage above the threshold, the function should step up by the "step size" and after reaching some final voltage value reset to its initial value. Could you advise on next steps? I assume I will need some aspect that when the threshold is reached, a reset will occur.
Thanks again for your help.
03-13-2025 01:52 PM
Hi Bob,
I forgot to attach the files.
03-14-2025 04:09 AM
Hi sfk,
@sfk009 wrote:
I believe I am still not getting the correct/intended behavior. The goal is as analog input receives some voltage above the threshold, the function should step up by the "step size" and after reaching some final voltage value reset to its initial value. Could you advise on next steps? I assume I will need some aspect that when the threshold is reached, a reset will occur.