Showing posts with label labview. Show all posts
Showing posts with label labview. Show all posts

Dec 21, 2010

LabVIEW Style Checklist -Part 3: VI

Organizing your VIs in directories and LLBs allows you to easily transfer VIs to another computer and other platforms.

Dec 14, 2010

LabVIEW Style Checklist -Part 2: Block Diagram

The block diagram is the primary way for others to understand how a VI works, so it is often worth effort to make block diagrams more organized and easier to read.

以下為個人筆記,非全文翻譯

Dec 11, 2010

LabVIEW Style Checklist - Part 1: Front Panel

LabVIEW風格檢查清單

養成良好的編寫風格,對於程式的維護與擴充性有極大的幫助
相較之後減少的負擔,一開始花些時間做乍看似乎不重要的事,如把控件排列整齊,這樣的代價其實是值得的

以下為我翻譯自NI網站的內容,並加入自己的補充,並非全文翻譯

Oct 31, 2010

LV: cluster operation

cluster最常用的就是bundle以及unbundle,建構與解構cluster
但盡可能用bundle/unbundle "by name"

Oct 17, 2010

Sort 1D Array - cluster

Labview有提拱一個Sort 1D array的subvi
這功能想必大家應該都蠻熟悉的
但不知道有沒有想過一種應用:
假如有一個1D array,這資料是由某種計算得到的,這種計算的輸入也正式數量相當的1D input array,或是有關係的另外1D related array
想要從這1D array回頭找出 排序相對應的輸入
Ex: 以熱應用為例: 在(x, y)點上有不同質量(m),量測到溫度(T)
       要對T排序,但也要找出最低溫度的(X,Y)以及此位置的質量m
這時候該怎麼辦呢??

Oct 4, 2010

LV: In Range and Corerce

判斷輸入x是否位於上限,下限的範圍中
若不在這區間,小於下限,則輸出下限;大於上限,則輸出上限

LV tips: Ctrl+B

在block diagram中
Ctrl+B可以快速移除失效的wire
不用在浪費時間一個一個點選delete

Sep 29, 2010

LV: MGI

MGI

Download file, then use JKI VI Package Management to install.



LV:cluster

cluster類似於C當中的struct
ex:
  struct point {
     float x;
     float y;
  }
cluster使用習慣是labview中是從初階昇級到中階的重要技巧

Sep 27, 2010

LV:JKI Library

JKI
VI Package Manager 一定要安裝的LabVIEW libray 有不少會用的的子程式,可以減少自己去寫程式的時間 像是一些cluster,variant的應用

    LV tips:Ctrl+Mouse wheel

    可以在不同case之間切換(此時滑鼠指標要在case structure內)