05-08-2020 02:38 PM - edited 05-08-2020 02:40 PM
Hello, I have a project of a mechanical ventilator (only software on labview) that should show the pressure and flow rate levels. Though I have the required sensor output data (how they should be if I was measuring with a real sensor), I can't seem to know how to generate a signal/ graph that would represent the sensor. How can this be done ?
05-08-2020 09:31 PM
You've been a member of the Forum for a year, so I assume you have a year to become acquainted with LabVIEW. Have you ever used a Waveform Chart in LabVIEW? Have you ever acquired data with a DAQ device and plotted it as it came in?
I'm not entirely sure I understand where your difficulties lie. Are you trying to generate a signal that "looks like a sine wave that might come from a signal generator"? Look at the Waveform Palette, particularly the Generation sub-Palette of the Analog Waveform sub-Palette.
Bob Schor
05-09-2020 07:24 AM
Actually my difficulty lies in generating a signal similar to the one I would get if I was measuring with a real sensor. i.e: I want the software to generate it but I can't seem to find how
05-09-2020 10:04 PM
Write down what you think the nature of the signal is. Do you mean the signal as it comes from the device (which is probably a continuous function of time, valid for all values of t, even at the picosecond or less level), or as it would come out of, say, an A/D converter operating at 1 kHz, taking 1000 samples at a time?
Does that suggest anything to you? Are there LabVIEW routines that will generate simulated data in the format you want?
Write down the specifications of how the function you simulating works. Now code it in LabVIEW.
Bob Schor