10-25-2021 01:10 PM
I'm novice with labview so I figured I would come here to ask for help. Use LabVIEW to simulate 5 temperature measurements that are between 72 and 73°F (do this byadding a constant to a random number).Averagethese 5 numbersin LabVIEW to estimate themeasured temperature in the room.If the true value in the room is supposedly 72.5°F determine the%error of your measurementby doing a calculation in LabVIEW. Include a LabVIEW screenshotshowingthe front panel and the blockdiagram.
10-25-2021 01:14 PM
From the wording, it looks like a school/college lab assignment or exercise.
Now, what exactly do you need the forum member help with?
10-25-2021 01:57 PM
Let's see here...I think you need a FOR loop, an Add inside of the loop, a Mean.vi call (look in the Mathematics palette), a Subtract, should probably have an Absolute Value, and a Multiply. I'll leave the rest of your homework to figure out.
10-26-2021 09:44 AM
@crossrulz wrote:
Let's see here...I think you need a FOR loop, an Add inside of the loop, a Mean.vi call (look in the Mathematics palette), a Subtract, should probably have an Absolute Value, and a Multiply. I'll leave the rest of your homework to figure out.
The directions are way too complicated. And Tim should drink more coffee. Why put the add in a loop? You can add a constant to an array faster but, you don't need that either! Grab the mean of 5 dice throws then add 72 for measured temperature. 100 * abs (1- Tact/Tmeas) should be somewhere in your Grey matter.
LabVIEW judu secret says MENU File >> Print VI select Icon, Documentation, FP and BD.
10-26-2021 10:20 AM
@JÞB wrote:
@crossrulz wrote:
Let's see here...I think you need a FOR loop, an Add inside of the loop, a Mean.vi call (look in the Mathematics palette), a Subtract, should probably have an Absolute Value, and a Multiply. I'll leave the rest of your homework to figure out.
The directions are way too complicated. And Tim should drink more coffee. Why put the add in a loop? You can add a constant to an array faster but, you don't need that either! Grab the mean of 5 dice throws then add 72 for measured temperature. 100 * abs (1- Tact/Tmeas) should be somewhere in your Grey matter.
LabVIEW judu secret says MENU File >> Print VI select Icon, Documentation, FP and BD.
1. I don't drink coffee. I'm hyperactive enough.
2. I did think about moving the Add out of the loop and did start simplifying in my head, but I thought it would be too much for a noob student.
10-26-2021 10:42 AM
@king89, it is usually a good idea to put a brief summary in your subject line. Using "Labview" is rather vague in a forum where all of the posts are related to LabVIEW.
Oh, and when you're wanting help with homework it's usually better to make an attempt and then come to the forum with specific questions - you get a lot more helpful and less sarcastic answers.
10-27-2021 08:44 AM
@johntrich1971 wrote:
@king89, it is usually a good idea to put a brief summary in your subject line. Using "Labview" is rather vague in a forum where all of the posts are related to LabVIEW.
Oh, and when you're wanting help with homework it's usually better to make an attempt and then come to the forum with specific questions - you get a lot more helpful and less sarcastic answers.
But, helpful AND sarcastic replies are so much fun to read.
10-27-2021 08:46 AM
@JÞB wrote:
@johntrich1971 wrote:
@king89, it is usually a good idea to put a brief summary in your subject line. Using "Labview" is rather vague in a forum where all of the posts are related to LabVIEW.
Oh, and when you're wanting help with homework it's usually better to make an attempt and then come to the forum with specific questions - you get a lot more helpful and less sarcastic answers.
But, helpful AND sarcastic replies are so much fun to read.
😂