LabVIEW & PDA module_FIN

advertisement
LabVIEW &
PDA Module
Introduction & Application
Chien-Sheng Liu, NTUEE, 11/01/2007
Medical Micro sensor & System Lab.
Outline
} PDA
Introduction
} PDA Module Introduction
} Tutorial Demonstration & Application
} Summary
PDA (Personal Digital Assistant)
}
}
}
}
}
PDAs are handheld computers;
PDAs are also known as pocket computers or
palmtop computers;
Newer PDAs also have both color screens and audio
capabilities, enabling them to be used as mobile
phones , web browsers, or portable media players;
PDAs employ touch screen technology ;
The term "personal data assistant" was first used on
January 7, 1992 by Apple Computer CEO John
Sculley at the Consumer Electronics Show in Las
Vegas, Nevada.
http://en.wikipedia.org/wiki/Personal_digital_assistant,
http://s206301103.websitehome.co.uk/museum/picts/newton.jpg
Typical Features
}
}
}
Touch Screen;
Memory Card Slot;
Communication Interface: IrDA, Bluetooth, WiFi,
USB
http://en.wikipedia.org/wiki/Personal_digital_assistant
Operating System
}
}
}
}
}
Palm OS
Windows Mobile
Black Berry
Linux
Symbian
http://en.wikipedia.org/wiki/Personal_digital_assistant
Windows Mobile
}
Windows Mobile is a compact operating system
combined with a suite of basic applications for
mobile devices based on the Microsoft Win32 API.
}
Hardware Platform:
}
}
}
}
Pocket PC
Smartphone
Portable Media Center
Automobiles
http://en.wikipedia.org/wiki/Personal_digital_assistant
Windows Mobile Versions
Name
Date
Kernal
Pocket PC 2000
April 2000
WinCE 3.0
Pocket PC 2002
Oct. 2001
WinCE 3.0
Windows Mobile 2003
(Pocket PC 2003 ?)
June 2003
WinCE 4.2
Windows Mobile 2003 SE
March 2004
WinCE 4.2
Windows Mobile 5.0
May 2005
WinCE 5.0
Windows Mobile 6.0
Feb. 2007
WinCE 5.0(5.2)
http://en.wikipedia.org/wiki/Personal_digital_assistant
Outline
} PDA
Introduction
} PDA Module Introduction
} Tutorial Demonstration & Application
} Summary
What Is the LabVIEW PDA Module?
}
}
}
}
}
Create custom, user-defined PDA
applications
Develop in LabVIEW, then deploy
your application to a handheld
device
Use with Palm, Windows Mobile
for Pocket PC, and many
Windows CE OS devices
Target standard and industrial
PDAs, PDAs with phone
capabilities, and touch-panel
displays
Combine the power of LabVIEW
with the mobility of a handheld
device
LabVIEW 8.2 PDA Module Enhancements &
New Features (General)
}
}
}
}
}
Shared variables
PNG files
Bundling and unbundling elements in nested clusters
Microsoft Bluetooth driver support
Microsoft eMbedded Visual Tools
LabVIEW 8.2 PDA Module Enhancements &
New Features (Front Panel)
}
}
}
}
}
}
}
}
}
}
Tree controls
Gauge control
Password display support for string controls
Transparency in Boolean controls
Ring controls
Scroll bars in tables
Current VI’s Path function
Invoke Node
Semaphore VIs
VISA support
Deprecated VIs
}
}
}
}
}
Configure PDA XY Scales—Use a Property Node
with the Range instead;
PDA Set Listbox Strings—Use a Property Node
with the Item Names property instead;
PDA Set Ring Strings—Use a Property Node with
the Strings [] property instead;
Read PDA XY Scales—Use a Property Node with
the Mapping Mode;
Show or Hide Control—Use a Property Node with
the Visible property instead.
System Required
}
}
}
}
}
A desktop computer with Windows XP or Windows
2000 with Service Pack 4.0 or later.
LabVIEW 8.2 Base, Full, or Professional Edition.
2.5 GB available disk space.
A PDA device running Pocket PC 2003 or Windows
Mobile 5.0.
Plam OS no longer supported.
LabVIEW PDA Module Software Requirements
and Supported Devices
Installing PDA module
On Windows XP/2000, log in as an administrator or
as a user with administrator privileges.
} Install LabVIEW 8.2 .
} Install the PDA Module.
} The PDA Module includes Microsoft ActiveSync and
ARM Windows Mobile emulators.
} Activate the PDA Module.
}
}
Restart the computer when the installer
completes.
Getting Start with LabVIEW
PDA module (Front Panel)
PDA module (Block Diagram)
Installing Additional tools
}
Shared Variable Support
}
}
PNG Image Support
}
}
To run PDA with shared variables applications.
The PDA VI contains PNG images on the user interface.
WIDCOMM Bluetooth DLLs
}
To run PDA applications that use Bluetooth communication if
you do not have the Microsoft Bluetooth driver.
}
LabVIEW SMS Client
}
}
On the host computer to receive Short Message Service
(SMS) messages or to use the Request Make Call VI.
PDA Emulators
}
Emulators are tools you can use during development to quickly run
and test PDA VIs without having to download the PDA application
to the PDA device.
Download - Virtual PC 2007
http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-319948a3-afa2-2dc0b40a73b6&DisplayLang=en
Using Data Acquisition with LabVIEW PDA
• CompactFlash and PCMCIA
DAQCards
–
–
–
–
Acquisition rates up to 200 kS/s
4 and 16 channels of analog input
CompactFlash (NI CF-6004)
PCMCIA (NI DAQCard 6062E, 6024E,
6036E)
– NI-DAQmx Base 1.0.1 for Pocket PC
• Engine Test Bed
– Measure engine bed vibration
– Analyze data locally and log to file
– Broadcast data wirelessly
Using DMMs(Digital MultiMeters) with LabVIEW PDA
}
NI PCMCIA-4050
}
}
}
5 ½-digit digital
multimeter
Measures AC/DC voltage
and current, and
resistance
Emergency Power
Supply Tester
}
}
Record battery ID,
voltage, and status
Log power supply output
Critical Equipment Testing
Using Wireless Communication with LabVIEW PDA
}
Communicate with any
computer on the network
using:
}
}
}
}
Bluetooth
Wi-Fi (802.11)
NI ENET-GPIB converter for
controlling networked
instruments
Remote Monitoring and
Control
}
Wirelessly monitor and control
GPIB, FieldPoint, PXI instruments
Using CAN(Controller Area Network) with
LabVIEW PDA
}
NI PCMCIA-CAN
}
}
}
}
1 and 2 ports
High speed
Low-speed fault tolerant
In-Vehicle Datalogger
}
}
}
Monitor ABS, power steering, and emissions
Control lighting, and mirror and seat position
Log data to file
Outline
} PDA
Introduction
} PDA Module Introduction
} Tutorial Demonstration & Application
} Summary
Design Process
Select Target
Creating a PDA Application
1. Use the PDA Project Wizard to
― Create a LabVIEW project
― Select your PDA target
― Create a build specification
2. Develop your PDA application using specialized
palettes
Creating a PDA Application
3. Compile and download the application with one click
Tutorial Demonstration
•
•
•
•
•
Target PDA
Create VI in LabVIEW PDA
Build Application for PDA
Download and Run Application
Debug Application
Create LabVIEW project
1. Launch LabVIEW.
2. Define the project information.
Creating the PDA Build Specification
Building the PDA VI into a PDA
Application , Deploying & Running
}
After you develop the PDA
VI on the host computer, you
build the PDA VI into an
executable PDA application
that you can run on a PDA
target. Pick one of the
options in the Using the
Shortcut Menu section or the
Using the Run Button section
to build, run, and deploy a
PDA application.
Using the Shortcut Menu
}
Deploy – Builds the PDA VI into a PDA
application, if necessary, and deploys the
application to the PDA target. This option
does not automatically run the PDA
application.
}
Run – Builds the PDA VI into a PDA
application, if necessary; deploys the
application to the PDA target, if
necessary; and automatically runs the
PDA application.
}
Build – Builds the PDA VI into a PDA
application. This option does not deploy
or automatically run the PDA application.
Using the Run Button
}
If you want to build,
run, and deploy —
Click the Run button
in a PDA VI.
}
If you want to build
without deploying
or running—Press
the <Ctrl> key while
you click the Run
button in a PDA VI.
Debugging PDA application
Application-1
}
Biosignal Analysis Platform (CPSD algorithm)
}
}
}
ECG
Heart Sound
Respiration
Application-2
J.Y. Jung, J.W. Lee, ZigBee Device Design and Implementation for Context-Aware U-Healthcare System, Second
International Conference on Systems and Networks Communications (ICSNC 2007)
Outline
} PDA
Introduction
} PDA Module Introduction
} Tutorial Demonstration & Critical
Application
} Summary
Summary
}
}
}
The LabVIEW PDA Module extends the LabVIEW
graphical development environment to PDA devices
so you can create PDA applications that run on
Pocket PC and Windows Mobile devices.
You can create portable solutions for a wide
spectrum of applications, such as field test systems,
remote control and monitoring systems, and portable
data acquisition systems.
Disadvantage of PDA Module:
}
}
File size;
Building & Deploying time.
Thanks for your attenuation!!
Download