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.
10-31-2014 09:01 AM
@parthabe wrote:
Today's delight! 🙂
Stern Warning! When there is no error from the H/W, you should be extra careful with the way you code. 😉
The case structure only looks at the boolean part of the error cluster. If the wire has a warning (false + error code), this code will reset it.
I don't know if that's the actual intended case, though.
10-31-2014 09:02 AM - edited 10-31-2014 09:02 AM
@parthabe wrote:
Today's delight! 🙂
Stern Warning! When there is no error from the H/W, you should be extra careful with the way you code. 😉
Maybe if things work properly then warnings will be generated, and you want to clear it?
EDIT: Beat again.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-31-2014 10:25 AM - edited 10-31-2014 10:26 AM
Edited: Ignore Post, didn't read the next page... 🙂
10-31-2014 11:38 AM - edited 10-31-2014 11:41 AM
@Hooovahh wrote:
Maybe if things work properly then warnings will be generated, and you want to clear it?
But that's why we have the "clear errors" primitive.
No need for case structures, tunnels, selectors, diagram constants, etc. (Well, they are still all there, just inside a system VI :D)
10-31-2014 11:50 AM - edited 10-31-2014 11:51 AM
I think the clear specific error primitive is very recent... I don't have it, and I'm running LV 2012.
(I acutally do have a clear specific error vi in my user library, and have always wondered why NI didn't have it included themselves... )
Without the new primitive, the shown way does seem to be a fast and clean method to remove the warnings.
10-31-2014 11:57 AM
@Anthony_de_Vries wrote:
I think the clear specific error primitive is very recent... I don't have it, and I'm running LV 2012.
But you have the clear all errors (same, but without the upper input), which is similar to what is discussed here.
@Anthony_de_Vries wrote:
Without the new primitive, the shown way does seem to be a fast and clean method to remove the warnings.
Personally I would probably have left out the diagram constant and used a "use default if unwired" output tunnel. 😉
10-31-2014 12:33 PM - edited 10-31-2014 12:34 PM
@Anthony_de_Vries wrote:
I think the clear specific error primitive is very recent... I don't have it, and I'm running LV 2012.
AFAIK, there is no Clear Specific Errors VI. There is only a Clear Errors VI, and it is available in LV 2011 also.
10-31-2014 01:18 PM
Yup Clear Errors has existed since at least 2011. Clear errors selectivly exists in 2014 nativly. Of course OpenG and MGI have had their own versions of filtering errors for a while.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-31-2014 02:17 PM
@Hooovahh wrote:
Yup Clear Errors has existed since at least 2011.
It is there in 8.5 also. If I remember correctly, it was there in 7.x as well.
10-31-2014 02:35 PM
@parthabe wrote:
It is there in 8.5 also. If I remember correctly, it was there in 7.x as well.
Looks like it was introduced in 7.0. 🙂
http://labviewwiki.org/Error_handling