Line Plot on a Waveform Graph with a Color Change Displaying a Crossed Threshold
Downloads
Filename: one_line_two_colours.vi
Requirements: View
This example copies data into two array. In one array all values above the threshold are set as "NaN" and in the other array all values below the threshold are set as "NaN." Both arrays are plotted on the same graph indicator and each array's properties, such as color, can be set independently, even though they appear to be the same line. This example is valid for both waveform graphs and waveform charts.
Requirements
Filename: one_line_two_colours.vi
Software Requirements
Application Software: LabVIEW Professional Development System 7.1
Language(s): LabVIEW
Reader Comments | Submit a comment »
why not use auto-indexing
This example even gets better when auto
indexing is used instead of connecting the
number of elements to the N of the for loop
and index from the shiftregister.
If memory reuse is here more important
(because it now has one memory copy less
please state this in a discussion !
Every bit of an example should be used.
- Albert Geven, Philips Research. albert.geven@gmail.com - Mar 6, 2007
Works in Base Package
Contrary to the requirements listed
above, this example works fine in the
LabVIEW 7.1 Base Package. It doesn't
need the Professional Development
System.
- Tom Hawkins, Innospec Ltd. tom.hawkins@innospecinc.com - Mar 6, 2007
Can we figure a way to do this in CVI?
This would be a neat feature to have in CVI.
Can the NI Engineers come up with a parallel
example?
- Steve Macha, Mikrokraft, Inc.. smacha@alltel.net - Feb 26, 2007
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
