labview 在同一波形图表上如何画出2条起点不同的曲线,求助

2019-07-17 19:37发布

如题。labview 在同一波形图表上如何画出2条起点不同的曲线,求助。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
11条回答
xiaowei123se
1楼-- · 2019-07-17 23:44
不是给一个二维数组波形图就会显示两条曲线吗
fantek
2楼-- · 2019-07-18 00:19
我也很想知道答案,希望有大神能解决这个问题。
luge123
3楼-- · 2019-07-18 01:33
看看                           
sushu
4楼-- · 2019-07-18 03:20
 精彩回答 2  元偷偷看……
fantek
5楼-- · 2019-07-18 03:55
sushu 发表于 2013-9-24 12:40
另外一条曲线的开始几个点用null代替,graph不绘制null的点,试一试

试了多种方法还是不能创建带null结点的数组,能否贴个小程序呢
sushu
6楼-- · 2019-07-18 07:14
fantek 发表于 2013-9-24 14:30
试了多种方法还是不能创建带null结点的数组,能否贴个小程序呢

Sorry,我记错了,是NaN;
搜狗截图_2013-09-25_09-16-00.png

NaN_2013-09-25_09-27-47.png


NaN_LV2012.vi (12.69 KB, 下载次数: 54)
NaN_LV8.5.vi (15.33 KB, 下载次数: 38)

关于NaN的官方解释:
http://labviewwiki.org/NaN

NaNNaN is the notation in LabVIEW for the floating-point value Not-a-Number. LabVIEW implements the IEEE-754 standard for floating-point calculations, which specifies unique values for the outputs of mathematical operations which have no meaningful numerical result. A few examples of calculations which produce NaN are:
  • division of zero by zero
  • square root of a negative number
  • division of an infinity by an infinity
  • logarithm (any base) of a non-positive number
  • any calculation which includes NaN as one of its operands
The last example above implies that any calculation sequence which generates NaN as an intermediate step will propagate NaN through all subsequent calculations. While this is generally true, there are exceptions (the LabVIEW Power of X primitive returns one for zero raised to NaN).
One salient feature of the NaN value is that all comparison operations involving NaN return FALSE, including the equality operator (in other words, NaN != NaN). LabVIEW provides the Not A Number/Path/Refnum? primitive, which is the proper way to test for NaN.
Not A Number/Path/Refnum?
primitivefile:///C:/Users/John/AppData/Local/youdao/ynote/images/9C5EAACA2A2E412DADD00BDF3B58A807/Nanfunc.pngFloating-point controls, indicators, and block diagram constants support the direct entry of NaN (case-insensitive). Similarly, string-to-numeric and numeric-to-string primitives convert or format NaN without regard to format specifiers.
Use Cases
  • indicating "missing" data in data-tables in files.
  • used for lifting the "plotting pen" in graph, for instance if a value would be out of its allowed range.
External links



一周热门 更多>