NI產品與技術 討論區

取消
顯示結果 
搜尋替代 
您的意思是: 

關於digital data的轉換

Dear ALL:

想請教如何將一個含有大量資料的1D-Numeric array有效率的轉換至digital table中?
目前是使用for loop將Numeric array利用auto-indexing逐筆撈出並使用Number to Boolean array作轉換,再append到另一個array中(array of boolean array),
最後再使用Boolean array to digital這個功能轉換成digital table,
但此方式在Numeric array資料量大時(一次約五萬筆或更多)須等待for loop轉換,時效上延遲太多,
不知道是否有更加的解法?digital table是否可用十進位數值直接填入?懇請賜教,感謝!
0 積分
1 條訊息(共 4 條)
4,697 檢視

Hello, 沒看到您部份程式碼

請參考附件。

 

0 積分
2 條訊息(共 4 條)
4,690 檢視
感謝您的回應!
因使用版本是7.0故無此功能可用,不過還是感謝您!
0 積分
3 條訊息(共 4 條)
4,670 檢視

Hi, would you upload your existing conversion code here?

Give a simple example of input array (Num) and its expected result (digital plot)...

What kind of delay you were experiencing?

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
4 條訊息(共 4 條)
4,664 檢視