Concept code which launches two threads, one of which implements a Modbus Tunnel protocol to talk with an ISEM, the other which launches a Modbus RTU protocol to talk to a CPUM (most of the Modbus code has been removed prior to publishing.) A canned AC and DC spectra is provided to display wave forms on start-up however the project normally polls for spectra from the ISEM and then plots is (that functionality has been removed prior to publishing.)

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI mbed-os BSP_DISCO_F429ZI

/media/uploads/Damotclese/img_20190530_100915.jpg

Plot of the initial start-up canned AC and DC spectra.

Revision:
0:387684ec9d92
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NextGen-Exerciser-Defines.h	Thu May 30 05:16:27 2019 +0000
@@ -0,0 +1,29 @@
+
+// ----------------------------------------------------------------------
+// NextGen-Exerciser-Defines.h
+//
+// Fredric L. Rice, May 2019
+//
+// ----------------------------------------------------------------------
+
+// Normally for mbed projects we would use "true" and "false" 
+// lower case however we define TUE and FALSE as well
+#ifndef TRUE
+#define TRUE        true
+#endif
+#ifndef FALSE
+#define FALSE       false
+#endif
+
+// ----------------------------------------------------------------------
+// Messages passed to threads via their mailbox objects look like this.
+//
+// ----------------------------------------------------------------------
+
+    typedef struct
+    {
+        unsigned char  ach_message[512];
+        unsigned short u16_size;
+    } st_pendingMessage;
+
+// End of file