+ All Categories
Home > Documents > Intro LabVIEW 2 Data_type

Intro LabVIEW 2 Data_type

Date post: 03-Apr-2018
Category:
Upload: a-fahrul-aji
View: 217 times
Download: 0 times
Share this document with a friend

of 15

Transcript
  • 7/29/2019 Intro LabVIEW 2 Data_type

    1/15

  • 7/29/2019 Intro LabVIEW 2 Data_type

    2/15

    Integer: 8, 16, and 16 bits

    Un-signed Integer: 8, 16, and 16 bits

    Floating: Single (32 bits), double (64

    bits), and extended (80 bits)

  • 7/29/2019 Intro LabVIEW 2 Data_type

    3/15

  • 7/29/2019 Intro LabVIEW 2 Data_type

    4/15

  • 7/29/2019 Intro LabVIEW 2 Data_type

    5/15

  • 7/29/2019 Intro LabVIEW 2 Data_type

    6/15

    True ( 1 ) or False ( 0 )

  • 7/29/2019 Intro LabVIEW 2 Data_type

    7/15

    Collection of some elements with the samedata type, such as collection of:

    integer,

    Boolean, or

    string.

    Also can be a collection of LEDs, controls,or indicators.

  • 7/29/2019 Intro LabVIEW 2 Data_type

    8/15

  • 7/29/2019 Intro LabVIEW 2 Data_type

    9/15

    Build an array

    Initialize an array

    Return an element of

    the arrayReplace an element

    of the array

  • 7/29/2019 Intro LabVIEW 2 Data_type

    10/15

    Collection of some elements which havedifferent data type, such as collection of

    integer, Boolean, and string or even with

    array.

    A cluster

  • 7/29/2019 Intro LabVIEW 2 Data_type

    11/15

    Bundle some elements into

    a cluster.

    Un-bundle a cluster, to get

    each element of the cluster

  • 7/29/2019 Intro LabVIEW 2 Data_type

    12/15

    Each data type has different color of connector.

    blue line

    orange line

    purple thick line

    blue thick line

    brown thick line

  • 7/29/2019 Intro LabVIEW 2 Data_type

    13/15

  • 7/29/2019 Intro LabVIEW 2 Data_type

    14/15

    1. Place an array of 10 numeric controls at front

    pannel. Display the maximum, minimum, and

    average of those 10 data.

    2. Place a numeric control and an array of 8 LEDs

    at the front pannel. The LEDs must show the

    numeric in binary mode (value 1 ~ LED ON).

    For example.

  • 7/29/2019 Intro LabVIEW 2 Data_type

    15/15

    3. Modify your previous exercise (no. 3) about

    Celcius to Fahrenheit conversion, modify it to:

    Compare the value of C. If C is greater than 40

    then LED hot (red colour) will turned ON, if C

    is less than 30 then LED cold (blue colour) will

    turned ON and if C in between 30 ~ 40 then

    LED normal (yellow colour) is turned ON. (the

    VI has three LEDs, forhot, normal and cold).

    Hints: use boolean relation


Recommended