From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
使用IO属性节点,我可以获取动态采集卡的数据采样率(枚举格式)。但是这个枚举并非直接的数字格式(50K),而是一个整数2.
我想在程序中获取到采样率的数值,有什么方法可以实现?
使用StringsAndValues这个属性节点,枚举数字中的值可以被抽取出来。当获取到这个数据后,可以被转换为一个数值常量或者由一个数值常量反求枚举。具体程序代码如下:
|