最近用LabVIEW作了兩個圖,
Recently I use LabVIEW to implement two kinds of graphs.
一個是相量圖, 另一個是長方圖,
One is Phasor and another is Bar Chart.
這兩個不是在LabVIEW中內建的圖示,
Both are not built in LabVIEW.
需要花一些心思來寫,
And need to pay some effort to realize those graphs.
有興趣的人可以自己試看看。
You can try buy yourself and enjoy it.
- 相量 (Phasor)

- 長方圖(Bar Chart)

文章作者: Jack
版權聲明: 本部落格所有文章除特別聲明外,均採用CC BY-NC-SA 4.0 授權協議。轉載請註明來源 X Workshop|量測自動化 × 嵌入式 × AI 開發實戰!
相關推薦
2007-12-23
LabVIEW基礎教學 : Formula Node
LabVIEW中其實也提供的一些文字撰寫方式的語法,如Mathscript Node, Formula Node,其中Formula Node的語法很像C,只要在Formula Node的框邊上定義輸出(output)與輸入(output)在框內寫下類似C的語法即可, 我寫了一個程式, 內容如下 : 相信這樣應該比較明瞭了ㄅ **Formula Node想關的語法資料: Performing Conditional Statements Using Formula Nodes** 123456789101112131415if (y==x && a[2][3]<a[0][1]) {int32 temp;temp = a[2][3];a[2][3] = y;y=temp;}elsex=y; Performing Do Loops Using Formula Nodes 1234567891011do {int32 temp;temp = --a[2]+y;y=y-1;}while (y...
2007-12-16
LabVIEW基礎教學 : 同步傳輸資料 Notifier
如果想在兩個迴圈間同步化地傳遞資料, 使用全域變數會有些問題, 兩個迴圈的全域變數傳輸會有互相等待的問題,而且如果兩個迴圈的運算時間沒有控制好的話,亦會發生互相競賽的狀況. 這裡介紹一種方法, Notifier (通知器)只有在主迴圈送出資料通知時,從回圈才會執行,如此可以達到兩個迴圈間的同步化, 首先建立obtain notifier, 用來建立一個notifier reference讓後面的相關function可以使用,在主迴圈內使用Send Notification, 通知Notifier要傳送資料了,在從回圈內使用Wait on Notification, 等待Notifier的通知資料到了沒,如果到了就接收資料,Release Notifier在程式結束後釋放notifier reference. 看一下這個例子ㄅ, 這是在Front Panel上顯示資料同步的情形 src=”https://pagead2.googlesyndication.com/pagead/show\_ads.js">
2019-12-21
[LabVIEW] [Voice] Get items in Timestamp 獲取Timestamp的細項資料
This movie shows how to get the integer of floating data format of year, month, date, hour, minute and second from timestamp.本篇影片說明如何將Timestamp中的年、月、日、時、分、秒的資料用整數說是浮點數的資料型態取出。 We will share more tutorial videos with people who want to learn LabVIEW. welcome to subscribe this channel. 未來會陸續更新影片,讓想學習LabVIEW的朋友可以看影片學習,歡迎訂閱此頻道。 其他網址/related websites: https://labview-tech.blogspot.com/ https://fishark.pixnet.net/blog email: jacklee3633 @gmail.com Line ID: lvnet
2019-11-03
[LabVIEW] Generate Report: print to HTML 用HTML的格式產生報告
Output data and graph content to HTML report將資料與圖表內容輸出產生HTML報告 使用LabVIEW中的Report Generation VI來將資料與圖表輸出成HTML報告 未來會陸續更新影片,讓想學習LabVIEW的朋友可以看影片學習,歡迎訂閱此頻道。 其他網址: https://labview-tech.blogspot.com/https://fishark.pixnet.net/blog
2019-12-29
[LabVIEW] Hex array to string by using Type Cast使用Type Cast將16進位整數轉換成字串
This example shows how to use Type Cast to transfer Hex integer array to string 本範例說明如何使用Type Cast將16進位整數轉換成字串 We will share more tutorial videos with people who want to learn LabVIEW. welcome to subscribe this channel. 未來會陸續更新影片,讓想學習LabVIEW的朋友可以看影片學習,歡迎訂閱此頻道。 其他網址/related websites: https://labview-tech.blogspot.com/ https://fishark.pixnet.net/blog email: jacklee3633 @gmail.com Line: lvnet
2007-12-15
LabVIEW基礎教學 : Case結構
LabVIEW中的Case結構,類似C語言中的 If…then…else 敘述,Case結構有兩個要注意的項目: 條件選擇元標籤 (selector label ), 2. 選擇元接頭(case selector),兩者會根據case selector所接的資料型別而有所不同, 這裡舉兩個控制Case結構的資料型別, 布林(Boolean)與列舉(Enum) 布林(Boolean):當 Boolean控制項傳出True時, caes結構傳出一True值給Boolean顯示器 當 Boolean控制項傳出False時, caes結構傳出一False值給Boolean顯示器 列舉(Enum) :當 Enum控制項選擇cos時, caes結構會執行selector label “cos”的程式內容,將結果傳到Waveform Chart顯示器
公告
本站文章自痞客邦(2006–2024)搬家而來,舊文章的程式碼與圖片如有缺漏,歡迎留言告知。