User Tools

Site Tools


eeros_architecture:hal:hardware_libraries_sim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eeros_architecture:hal:hardware_libraries_sim [2019/03/02 16:32] grafeeros_architecture:hal:hardware_libraries_sim [2019/03/02 16:39] (current) – [Configuration File] graf
Line 9: Line 9:
 | Digital Output      | Outputs                                                          0-10         | | Digital Output      | Outputs                                                          0-10         |
 | Digital Input       | Inputs reflected from outputs of subdevice 0  |                    0-10         | | Digital Input       | Inputs reflected from outputs of subdevice 0  |                    0-10         |
-| Analog Output       | Outputs                                                   |        0-10         | +| Analog Output       | Outputs                                                   |        0-10         | 
-| Analog Input        | Inputs reflected from outputs of subdevice      5                0-10         | +| Analog Input        | Inputs reflected from outputs of subdevice              |        0-10         |
-| Analog Input        | Inputs                                        |                    0-10         | +
-| Analog Output       | Outputs reflected from inputs of subdevice 6  |             |        0-10         |+
  
 ==== Configuration File ==== ==== Configuration File ====
Line 20: Line 18:
   "device0": {   "device0": {
     "library": "libsimeeros.so",     "library": "libsimeeros.so",
-      "devHandle": "reflect", +    "devHandle": "reflect", 
-      "subdevice0":+    "subdevice0":
-        "type": "DigOut", +      "type": "DigOut", 
-        "channel4": { +      "channel1": { 
-          "signalId": "dout1+        "signalId": "dout0
-        +      
-      }, +    }, 
-      "subdevice1":+    "subdevice1":
-        "type": "DigIn", +      "type": "DigIn", 
-        "channel4": { +      "channel1": { 
-          "signalId": "din1+        "signalId": "din0
-        +      
-      }, +    }, 
-      "subdevice4": { +    "subdevice2": { 
-        "type": "AnalogOut", +      "type": "AnalogOut", 
-        "channel7":+      "channel7":
-          "signalId": "aout1", +        "signalId": "aout1" 
-        }+      } 
 +    }, 
 +    "subdevice3":
 +      "type": "AnalogIn", 
 +      "channel7": { 
 +        "signalId": "ain1"
       }       }
-      "subdevice5": { 
-        "type": "AnalogIn", 
-        "channel7": { 
-          "signalId": "ain1", 
-        } 
-      }, 
     }     }
   }   }
 } }
 </code> </code>
-Digital output on ''dout1'' can be read at input ''din1'', analog output on ''aout1'' can be read at input ''ain1''. The configuration could include scaling and range limiting for the analog channels as described in [[eeros_architecture:hal:configuration_file|]].+Digital output on ''dout0'' can be read at input ''din0'', analog output on ''aout1'' can be read at input ''ain1''. The configuration could include scaling and range limiting for the analog channels as described in [[eeros_architecture:hal:configuration_file|]].
  
eeros_architecture/hal/hardware_libraries_sim.1551540778.txt.gz · Last modified: 2019/03/02 16:32 by graf