01-16-2025 11:20 AM
Hi,
I tried to save data (5 temperatures & 4 pressures) to excel file, but I couldn't. My vi file is attached here. Would you help me by modify the code including data saving part?
Thanks
01-16-2025 12:01 PM
You do not have any saving in your code at all. Have you tried looking in the LabVIEW examples? This is an easy thing to accomplish. Go to the top menu and find examples. This will help move you along for the next time you are having an issue.
01-16-2025 01:57 PM
Some general comments:
Here's how your code could look like:
01-17-2025 02:56 AM
Thanks Knight Of NI.
But the pressure should be multiply by 30 then divided by 10 : P= (measured data * 30)/10.
Thanks
01-17-2025 04:12 AM
Hi alhaheeb,
@alhabeeb wrote:
But the pressure should be multiply by 30 then divided by 10 : P= (measured data * 30)/10.
So you want to multiply by 3 and add an offset of 0!?
01-17-2025 10:27 AM
@alhabeeb wrote:
Thanks Knight Of NI.
But the pressure should be multiply by 30 then divided by 10 : P= (measured data * 30)/10.
Sorry, I did not look too closely and multiplying then dividing is somewhat silly and anti-intuitive, especially if we do the temperatures first. Debugging and validating is important and always needed and we would have found the problem in the next step, of course. Since I don't have your hardware, that's up to you. 😄
Just use Gerd's suggestion above. Trivial!