From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-22-2014 07:48 AM
I have a simple temperature monitoring VI and am interested in creating a warning light if the temperature is to increase more than 5 degrees per second. All help would be greatly appreciated.
Thanks
Dave
09-22-2014 07:59 AM
Show us the code that you have developed (In 2013 or earlier version or a code snippet).
09-22-2014 08:38 AM
Yes please post some code. The simple solution is to only read temperature once a second, and keep the previous reading in a shift register in a while loop. If current value minus previous value is greater than 5 then use a case structure to change behavior.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-22-2014 08:51 PM
hi all...i m doing project about temperature with labview interface arduino...i would like to ask is it possible to send email only one time when the temperature is continuously more than 30 degree celsius for 5 times?..now the problem i faced is when the temperature more than 30 degree, many email will sent.
thx for help...
09-22-2014 10:31 PM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-22-2014 10:49 PM
this is what i try...vi 2012
09-22-2014 11:01 PM
@mesutozil wrote:
hi all...i m doing project about temperature with labview interface arduino...i would like to ask is it possible to send email only one time when the temperature is continuously more than 30 degree celsius for 5 times?..now the problem i faced is when the temperature more than 30 degree, many email will sent.
thx for help...
You and the OP are working together? If not why don't you start a seperate thread for your queries.
09-22-2014 11:17 PM
if i separete it, i need to stop the labview then email just can send...
can i send the email when the labview still running
09-23-2014 08:19 AM
Do you intend on sending an email every 2 seconds? Because that is what you code does. What I think you want to do is to only send an email if a condition is met. To do this you'll want to use the case structure (not a for loop that runs 1 time) and in the True case does one thing and in the false case does nothing.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-23-2014 08:27 AM
@mesutozil wrote:
if i separete it, i need to stop the labview then email just can send...
can i send the email when the labview still running
He meant that, unless you and the original poster are working together, you should create a new topic so there won't be any confusion.