Sei sulla pagina 1di 5

LabVIEW

Take-home Lab 1
Basics
Professor Mendez
ChE 330
InstrucAons
Can be submiBed individually or as team.
Submit via Beachboard dropbox! NO email!!
Due date to be determined
InstrucAons
1) Write LabVIEW program to perform this
arithmaAc:
Input x, & z numbers
Output z1/3 * tanh(x)/cos(pi*y) where is in
radians
Demonstrate with x=2, z=27 and 180o
2) Write LabVIEW program to
nd the roots of x^3 - 4*x^2 + x + 6
Plot from -2 to +4
InstrucAons
3) Write LabVIEW program similar to example in guide:
Use while loop to ll a tank
Tank lls to 500 units in 25 msec Ame intervals
Use a horizontal switch and select funcAon to set
alarm level to either 100 or 400 (see image on next slide)
Use green square light to indicate that tank level is
below alarm limit, and red square LED to alert when
level exceeds limit
Put the Ame stamp inside the while loop and have it
display Ame with hours:minutes:seconds
Have the while loop stop automaAcally once the limit has
been reached
Include sucient labels and comments on the program.
InstrucAons

Potrebbero piacerti anche