Hardware in The Loop (HIL) SysML Simulation Solution Overview (Part1)
Vložit
- čas přidán 28. 06. 2024
- Please check new use case and sample for Hardware in the Loop (HIL) simulation using SysML and CATIA Magic. It is highly configurable powerful approach allowing to connect to any hardware and leverage Internet of Things (IoT) devices. Approach covers: test case execution in SysML, MQTT communication simulation, Node-Red hardware wiring, IoT Claud, Arduino controller.
In part 2 we will do detailed overview of the SysML HIL integration solution.
Please join our Hardware in the Loop workshop at MBSE Symposium in Dallas May 13-16 to dive deeper in this easily reproducible and flexible approach, and receive complete sample and libraries - mbsecyberexperience.3ds.com/m....
.. - Věda a technologie
Keep it worm!😅 Nice work as always Dr. Saul!
Thank you!
Awesome!! I like how you incorporated Blynk. I didn’t know about that capability. Does this have a plugin assisting with the Mosquito broker or is it necessary to set up the broker in a more manual way? Thanks for sharing!
Thank you for the feedback. You need to run broker in advance. Ones installed it can start automatically. Blynk is very good IoT claud option. Can by any other too! Great flexibility here on software and hardware.
I am more curious about the opaque behaviors for MQTT, and that set up. Have not used this approach before. Assuming something like:
MQTTopen(host, port) {
var clientSocket = new MQTTClient(host, port); // Instantiate MQTT client
ALH.setGlobalVariable("MQTT_Connection", clientSocket); // Store the connection globally
clientSocket.connect(); // Connect to MQTT broker
}
MQTTpublish(topic, message) {
var clientSocket = ALH.getGlobalVariable("MQTT_Connection"); // Retrieve MQTT client connection
if (clientSocket) {
clientSocket.publish(topic, message); // Publish message to MQTT broker
} else {
// Handle error: Connection not found
}
}
Saw your subscribe method in video.
Assume your Cameo was running on same environment as MQTT client?
You are absolutely right. We will share this library during MBSE Symposium.