calvinc wrote:it will be input from an external sensor (anything really) via a serial port.
thinking of doing it like this:
- external inputs defined in registry (configurable through ecuExplorer)
- dll initialized on startup (sensorInitialize)
- dll loaded on startup (function call to sensorStart)
- dll closed on shutdown (function call to sensorStop)
- dll polled when in realtime data view (function call to sensorGetData)
maybe have initialization return poll time, etc. still thinking about it. any recommendations?
calvin.
Quick note, that many modern laptops now do not come with serial ports. Will a simple serial->usb cable (plus driver) still work? In theory it still should as the application should still 'see' it as a serial port.
Just a thought.
-Steve.