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.
05-04-2007 01:11 PM
05-04-2007 02:26 PM
Robst - CLD |
Using LabVIEW since version 7.0 |
05-04-2007 02:36 PM
I ended up playing with this a little more and used two loops with some local variables... Hopefully I didn't go too far 'round the lake for water here, but I have a hard time getting loops to work unless I use local variables 😞 I've got no formal Labview training and have been beating myself senseless on this stuff since day one.
My updated VI which does what I need it to; any suggestions?
05-04-2007 02:44 PM
Robst - CLD |
Using LabVIEW since version 7.0 |
05-04-2007 02:59 PM
I'm not sure why but that never worked for me before. Kept cycling and clicking the switches.
Maybe I didn't have the stop wired right.
Thanks though, that's working perfectly!
05-04-2007 03:06 PM - edited 05-04-2007 03:06 PM
Here's another solution. It just gets the current hours in 24 hour format and sees if it's greater than 20.
Message Edited by Dennis Knutson on 05-04-2007 02:06 PM
05-04-2007 03:10 PM
05-04-2007 03:16 PM - edited 05-04-2007 03:16 PM
Message Edited by Matt W on 05-04-2007 03:17 PM
05-04-2007 03:19 PM
That's another cool idea... I'll have to try that one out!
08-28-2015 06:53 AM
Hi Dennis,
I know this is a very old post, but the info applies to my current task...
I tried to use your example in a little test vi, but for the life of me, I cannot find this icon anyplace on any of the pallettes?
It is the one circled in RED. What is it called and where is it located???
I have 2010-2012 and cannot find it at all. Is it some old function block that doesn't exist anymore?
Thanks!
The Dude
**************************************************************************