简体   繁体   English

如何在C#中使用LabVIEW属性节点?

[英]How to use LabVIEW Property Node in C#?

如何在C#(与Measurement Studio)中使用LabVIEW属性节点?

Google will answer your generic questions, this forum is useful for more specific detail oriented question. Google会回答您的一般性问题,该论坛对于更具体的面向细节的问题很有用。

http://labviewwiki.org/Control_References http://labviewwiki.org/Control_References

This will also answer your other forum post: http://forums.ni.com/t5/Measurement-Studio-for-NET/How-to-use-Property-node-in-Measurement-Studio/mp/1317239 这也会回答您的其他论坛帖子: http : //forums.ni.com/t5/Measurement-Studio-for-NET/How-to-use-Property-node-in-Measurement-Studio/mp/1317239

I'm not sure I understand the question. 我不确定我是否理解这个问题。 You should be able to use the standard C# dot notation for properties and methods, in the same way you would use LV's property and method nodes. 您应该能够对属性和方法使用标准的C#点表示法,就像使用LV的属性和方法节点一样。 For instance (from here ): 例如(从此处开始 ):

using NationalInstruments.UI.WindowsForms;
private NationalInstruments.UI.WindowsForms.Slide noiseSlide;
private void InitializeComponent()
{
...
this.noiseSlide.FillBaseValue = -20;
this.noiseSlide.Location = new System.Drawing.Point(8, 136);
this.noiseSlide.Name = "noiseSlide";
this.noiseSlide.Range = new NationalInstruments.UI.Range(-100, 0);
this.noiseSlide.ScalePosition = NationalInstruments.UI.NumericScalePosition.Bottom;
...
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM