04-28-2006 03:58 AM
![]() |
Hello,
i have a problem with the Mask & Limit Testing vi. I want to connect the upper and lower limits at the terminals outside the vi. The limits are signals like this:
0 10
200 30
30000 200
The first column is the time in ms the second for example the length in mm.
How must i connect this limit data?
greetings Schwede |
04-28-2006 09:29 AM - edited 04-28-2006 09:29 AM
The limits are defined by a waveform. A waveform consists of a t0, dt, and array of evenly spaced datapoints, each separated by dt (or dx if you don't like time). 🙂
When you define your data points on the Define Signal dialog, there is a timing section in the lower right as well. The data points you specify, combined with the dX value under the timing section, are used to interpolate waveform data.
If you need to change your upper / lower limits programmatically, you can use the Create Continuous Mask.vi
C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\measure\mamon.llb\Create Continuous Mask.vi
To generate this mask yourself. This VI is not in the palettes and doesn't have the typical help detail, but given the information I've written here, and its inputs and outputs, its functionality should make sense. You may need to take the elements of the "Limit" output cluster and use the Build Waveform function to create a waveform to send to the Dynamic Data input for the limit on the Express VI.
Message Edited by Support on 05-02-2006 09:22 AM
04-28-2006 10:16 AM
I have a version of the limit and mask vi's based on using arrays and clusters as the inputs instead of waveforms. If you go deep down inside the mask and limit vi's, they use arrays and clusters. See this thread for the sample llb file.
http://forums.ni.com/ni/board/message?board.id=170&message.id=145767&query.id=105856#M145767
05-02-2006 03:21 AM
Hello,
thankyou for your answers, but have someone an example for me that use teh Mask & Limit Testing EXPRESS VI and change the upper and lower limit from the frontpanel?
schwede
05-02-2006 07:56 AM
05-02-2006 09:58 AM