Do-it-Yourself Programming Sample Programs for LabPro®
For LabPro, we now have sample programs in Visual Basic (for Windows), REALbasic (for Macintosh) and in LabVIEW (for Mac, Windows, or Linux).
These sample programs (or VIs in the case of LabVIEW) are meant to help you get started in writing your own programs for collecting and analyzing data collected and controlling outputs with LabPro. For each programming language, the samples include data collected in the following ways:
- slow analog data collection (real time)
- fast analog data collection (non-real time)
- motion detector
- photogate
- other digital inputs
We also include samples for controlling digital and analog output lines.
Anyone doing programming with the LabPro should also download and study the LabPro Technical Reference Manual from our web site.
LabVIEW is a graphical programming language sold by National Instruments. It is used extensively in research and industry. Check our LabVIEW page for more information, and for some samples you can download and try out yourself.
Visual BASIC is the most popular programming language for Windows. These samples can be used with a LabPro connected to the serial port of a Windows computer.
LabPro Visual BASIC samples and documentation for Windows: (size: 485 KB)
REALbasic is a programming language for Macintosh, which is similar to Visual BASIC. These samples can be used with a LabPro connected to the serial port or USB port of a Mac computer.
LabPro REALbasic samples and documentation for Macintosh: (size: 65 KB)