02-05-2013 05:06 AM
Hello.
Im a bit new at looking at limit testing signals. Im using the Mask and Limit Testing Express VI to mask a signal I acquired previously. See attached VI.
My problem is that we would like to load the limit mask at run time using a file of some sort.
At the moment I am un-able to get any sort of mask loaded using the limit inputs to the Mask and Limit Testing Express VI. Does anybody know how I might do this?
Thanks in advance
Chuck
02-05-2013 09:21 AM
You don't have anything connected to the upper or lower limit inputs so I don't see where you are even trying to load the mask from an external file.
I've never used the Express VI for a mask test but I have used the actual functions from the waveform monitoring palette a limit is just a cluster with an x and a y array.
02-05-2013 09:56 AM
Hi and thanks for getting back so soon
True the upper and lower inputs are not connected because I wanted to show a working (all be it without an external mask) VI
the problem is I can't get the upper and lower inputs working in any form If I connect the inputs. So I guess my question should be,
How do I wire the upper and lower inputs to produce a working mask with the data supplied?
Then how do I use a file to provide the mask data.
Sorry for my lack of clarity and I hope this helps.
Chuck
02-05-2013 10:13 AM
As I said, I've never used the Express VI version. So, if you are having problems, use the lower level VIs or post what you have done with the Express VI and limits. I suspect it just requires an x array and a y array and that is something you should be able to test with just block diagram constants.
Note: This express VI is brain dead. Set it for upper and lower limit masks and then tried to change it to a regular VI and the limits revert to constants. Still, I think what I said about separate x and y arrays should work.