From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



在LabVIEW下可否動態設定由矩陣轉換成叢集(Array to Cluster)這個功能轉換出的叢集大小?



主要軟體:
主要軟體版本: 7.0
主要軟體修正版本:
次要軟體: N/A

問題: 我利用Array to Cluster這個函式,但是我的矩陣大小會隨著應用程式的執行而有所不同。我知道我可以在此函式上按滑鼠右鍵選擇Cluster Size...來根據矩陣的大小調整轉換出的叢集大小,但不知是否有辦法在程式中動態的來更改這個設定?

解答: 叢集在記憶體中有固定大小,而且這個大小必須在LabVIEW程式開始執行前就要被決定。所以並沒有任何方法可以在程式中動態的來更改Array to Cluster所產生的叢集大小。若要得到更多關於Array to Cluster的資訊,請參考下列連結。

相關連結: KnowledgeBase 11GCQ9HL: Why does the Array to Cluster Function in LabVIEW Always Return 9 Elements?
KnowledgeBase 21KC8CUZ: How Can I Convert an Array with More Than 256 Elements to a Cluster in LabVIEW?

附加檔案:





報告日期: 06/06/2003
最後更新: 07/03/2005
文件偏號: 2Y59HV00