|
Description
In a move toward open, modular architecture control (OMAC) General Motors Powertrain (GMPT) began to investigate real-time extensions for Windows operating systems. The OMAC tests use the National Instruments PC-DIO-96 digital IO board to test and measure certain performance characteristics of real-time extensions.
Source Files
Gmpt1.cpp
toggles the output port to produce a 1 ms or 10 sec square wave. Every 500
uSec or 5 seconds, output is alternately raised or lowered. Gmpt2.cpp
samples the input port and reproduces the input on the output port. Watches
the input value on port B; while all inputs high, outputs all high on port A; when any input is low,
outputs all low on port A.Gmpt3.cpp
sets up an interrupt handler which sends out a 1 millisecond pulse (raises the
output on Port A) in response to each interrupt. Allow interrupts to be generated by strobing pin 9,
aka. PPI A, Port C, bit 3. aka APC3. Notes
APIs Referenced
RTAPI |
Win32 APIs |
RTAPI |
Win32 APIs |
RTAPI |
Win32 APIs |
See Also:
PDF document at http://www.omac.org/.