SlideShare a Scribd company logo
1 of 23
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
UEISIM Desktop
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Overview
The UEISIM is a Linux based system that
runs Simulink models.
UEISIM Desktop allows remote monitoring
and parameter tuning while a model is
running.
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Remote monitoring/Parameter tuning
• External mode:
• Use Simulink itself as client to connect to the
UEISIM target.
• UEISIM Desktop:
• A client written in C#, C/C++ or LabVIEW can
display the model’s signals and parameters
without Simulink being installed.
• Signals and parameters are also accessible
via a web page.
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Extra features (UEISIM desktop only)
• Remotely start/stop simulation
• Host PC client can start or stop simulations
remotely
• Timing statistics:
• Average simulation step execution time
• Minimum step execution time
• Maximum step execution time
• Model execution time
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
UEISIM
Simulation executable
LibSharedData
Client application
PC #2
Client Application
UeiSimTarget.dll
PC #1
Web browser
LibSharedData
Shared Data protocol
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Shared data protocol
• Implements a simple message based
protocol (set/get variable) using JSON or
binary data representation
• Local processes communicate over UNIX
sockets
• Remote processes communicate over
TCP/IP sockets
• Web browser communicate over Web
Sockets
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Signal Monitoring
• A model automatically publishes all “exported” signals
under the name:
• /model_name/block_name/signal_name
• To export a signal, right-click and set “Storage Class”
to “Exported Global”
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Parameter tuning
• A model also publishes all tunable parameters under
the name:
• /model_name/block_name/param_name
• For example the constant block “value” parameter is
tunable:
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Data hierarchy
• This naming convention allows a hierarchical
view of the model signals and parameters
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Shared Data Client
Shared Data client is an application that provides a
quick and easy way to monitor a model.
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
Client API
UEISIM Desktop API supports C/C++, .NET (C#,
VB), LabVIEW and Javascript
The API provides the following services:
• Start/Stop Simulation
• Enumerate and read signals
• Enumerate, read and write parameters
• Reboot or shutdown UEISIM
• Read timing statistics and CPU load
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
C# client API 1/4
Create a client object
UeiSimTargetClient client = new UeiSimTargetClient();
Open communication with UEISIM
client.Open("192.168.100.2");
Load and Start Model
client.LoadApp("/tmp/test_ai_rt2“, 2345);
if(client.IsAppRunning())
{
client.StopApp(); // Stop model if already running
}
client.StartApp();
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
C# client API 2/4
Enumerate signals
for(int sigIdx=0; sigIdx< client.GetNumSignals(); sigIdx++)
{
string sigName = client.GetSignalName(sigIdx);
double[] sigVals = client.GetSignalValue(sigIdx,
client.GetSignalWidth(sigIdx));
Console.Write("{0} = {1}", sigName, sigVals);
}
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
C# client API 3/4
Enumerate and tune parameters
for(int prmIdx=0; prmIdx=0<client.GetNumParams(); prmIdx=0 ++)
{
string prmName = client.GetParamName(prmIdx);
double[] prmVals = client.GetParamValue(prmIdx,
client.GetParamWidth(prmIdx));
Console.Write("{0} = {1}", prmName, prmVals);
// Tune parameter
prmVals[0] = 102.90;
client.SetParamValue(prmIdx, prmVals);
}
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
C# client API 4/4
Display timing stats
Console.WriteLine("Model ran for {0} secs", client.GetExecTime());
Console.WriteLine("Min TET = {0}", client.GetMinTET());
Console.WriteLine("Max TET = {0}", client.GetMaxTET());
Console.WriteLine("Avg TET = {0}", client.GetAvgTET());
Close communication channel
client.Close();
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
LabVIEW API 1/4
Open communication and start application
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
LabVIEW API 2/4
Enumerate and monitor signals values
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
LabVIEW API 3/4
Enumerate and tune parameters
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
LabVIEW API 4/4
Display timing stats
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
LabVIEW client example
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
HTML5 client
• UEISIM Desktop web interface is built on top
of web sockets
• Web sockets are part of HTML5. Supported in
the following browsers:
Google Chrome
Firefox
Safari for MacOS and iOS
Android web browser
Internet Explorer 10
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
HTML5 client – default page
© 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com
HTML5 client – custom page

More Related Content

Viewers also liked

Cat recicladora asfalto_rm-500
Cat recicladora asfalto_rm-500Cat recicladora asfalto_rm-500
Cat recicladora asfalto_rm-500Jaime Santos
 
Cat rolo compactador_cs533_e
Cat rolo compactador_cs533_eCat rolo compactador_cs533_e
Cat rolo compactador_cs533_eJaime Santos
 
Usability evaluation of a discrete event based visual hospital management sim...
Usability evaluation of a discrete event based visual hospital management sim...Usability evaluation of a discrete event based visual hospital management sim...
Usability evaluation of a discrete event based visual hospital management sim...hiij
 
Como generar un proyecto
Como generar un proyectoComo generar un proyecto
Como generar un proyectosealfoca
 
What's coming up for Domi
What's coming up for DomiWhat's coming up for Domi
What's coming up for DomiMike Adeleke
 
Progress and challenges in the
Progress and challenges in theProgress and challenges in the
Progress and challenges in thehiij
 
Computer Miss-use and Criminal Law
Computer Miss-use and Criminal Law Computer Miss-use and Criminal Law
Computer Miss-use and Criminal Law sohaildanish
 
Apofras drastiriotita
Apofras drastiriotitaApofras drastiriotita
Apofras drastiriotitaanthikavvada
 
CORSO PER MANAGER INNOVATIVI
CORSO PER MANAGER INNOVATIVICORSO PER MANAGER INNOVATIVI
CORSO PER MANAGER INNOVATIVIFrancesca Torelli
 

Viewers also liked (10)

Cat recicladora asfalto_rm-500
Cat recicladora asfalto_rm-500Cat recicladora asfalto_rm-500
Cat recicladora asfalto_rm-500
 
Cat rolo compactador_cs533_e
Cat rolo compactador_cs533_eCat rolo compactador_cs533_e
Cat rolo compactador_cs533_e
 
Usability evaluation of a discrete event based visual hospital management sim...
Usability evaluation of a discrete event based visual hospital management sim...Usability evaluation of a discrete event based visual hospital management sim...
Usability evaluation of a discrete event based visual hospital management sim...
 
Como generar un proyecto
Como generar un proyectoComo generar un proyecto
Como generar un proyecto
 
What's coming up for Domi
What's coming up for DomiWhat's coming up for Domi
What's coming up for Domi
 
Nkuzem tanitim
Nkuzem  tanitimNkuzem  tanitim
Nkuzem tanitim
 
Progress and challenges in the
Progress and challenges in theProgress and challenges in the
Progress and challenges in the
 
Computer Miss-use and Criminal Law
Computer Miss-use and Criminal Law Computer Miss-use and Criminal Law
Computer Miss-use and Criminal Law
 
Apofras drastiriotita
Apofras drastiriotitaApofras drastiriotita
Apofras drastiriotita
 
CORSO PER MANAGER INNOVATIVI
CORSO PER MANAGER INNOVATIVICORSO PER MANAGER INNOVATIVI
CORSO PER MANAGER INNOVATIVI
 

Similar to UEISIM Desktop

SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزEssosElectronic
 
Maximizing Efficiency Using Simulation
Maximizing Efficiency Using SimulationMaximizing Efficiency Using Simulation
Maximizing Efficiency Using Simulationjason_cov
 
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...Altair
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI TestingShai Raiten
 
Rit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slidesRit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slidesDarrel Rader
 
CONFidence 2015: SCADA and mobile: security assessment of the applications th...
CONFidence 2015: SCADA and mobile: security assessment of the applications th...CONFidence 2015: SCADA and mobile: security assessment of the applications th...
CONFidence 2015: SCADA and mobile: security assessment of the applications th...PROIDEA
 
Webinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through ScriptingWebinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through ScriptingForgeRock
 
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0Haytham Ghandour
 
Testing in the IoT Era
Testing in the IoT EraTesting in the IoT Era
Testing in the IoT EraTechWell
 
SAMI - Samsung Developer Conference - Nov 2014
SAMI - Samsung Developer Conference - Nov 2014SAMI - Samsung Developer Conference - Nov 2014
SAMI - Samsung Developer Conference - Nov 2014Jerome Dubreuil
 
Viavi_TeraVM Core Emulator.pptx
Viavi_TeraVM Core Emulator.pptxViavi_TeraVM Core Emulator.pptx
Viavi_TeraVM Core Emulator.pptxmani723
 
Theater Management Software - Features & technology
Theater Management Software - Features & technologyTheater Management Software - Features & technology
Theater Management Software - Features & technologyHemant Maheshwari
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Thingscumulocity
 
Command central 9.6 - Features Overview
Command central 9.6 - Features OverviewCommand central 9.6 - Features Overview
Command central 9.6 - Features OverviewSoftware AG
 
ANSYS SCADE Usage for Unmanned Aircraft Vehicles
ANSYS SCADE Usage for Unmanned Aircraft VehiclesANSYS SCADE Usage for Unmanned Aircraft Vehicles
ANSYS SCADE Usage for Unmanned Aircraft VehiclesAnsys
 
Webinar - Building Custom Extensions With AppDynamics
Webinar - Building Custom Extensions With AppDynamicsWebinar - Building Custom Extensions With AppDynamics
Webinar - Building Custom Extensions With AppDynamicsTodd Radel
 
SensorStudio deep dive (IDC 2016)
SensorStudio deep dive (IDC 2016)SensorStudio deep dive (IDC 2016)
SensorStudio deep dive (IDC 2016)Herve Blanc
 
IBM SmartCloud Orchestration
IBM SmartCloud OrchestrationIBM SmartCloud Orchestration
IBM SmartCloud OrchestrationIBM Danmark
 
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...eG Innovations
 

Similar to UEISIM Desktop (20)

SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنز
 
Maximizing Efficiency Using Simulation
Maximizing Efficiency Using SimulationMaximizing Efficiency Using Simulation
Maximizing Efficiency Using Simulation
 
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI Testing
 
Rit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slidesRit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slides
 
CONFidence 2015: SCADA and mobile: security assessment of the applications th...
CONFidence 2015: SCADA and mobile: security assessment of the applications th...CONFidence 2015: SCADA and mobile: security assessment of the applications th...
CONFidence 2015: SCADA and mobile: security assessment of the applications th...
 
Webinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through ScriptingWebinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
Webinar: Extend The Power of The ForgeRock Identity Platform Through Scripting
 
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
 
Testing in the IoT Era
Testing in the IoT EraTesting in the IoT Era
Testing in the IoT Era
 
SAMI - Samsung Developer Conference - Nov 2014
SAMI - Samsung Developer Conference - Nov 2014SAMI - Samsung Developer Conference - Nov 2014
SAMI - Samsung Developer Conference - Nov 2014
 
Viavi_TeraVM Core Emulator.pptx
Viavi_TeraVM Core Emulator.pptxViavi_TeraVM Core Emulator.pptx
Viavi_TeraVM Core Emulator.pptx
 
Theater Management Software - Features & technology
Theater Management Software - Features & technologyTheater Management Software - Features & technology
Theater Management Software - Features & technology
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Command central 9.6 - Features Overview
Command central 9.6 - Features OverviewCommand central 9.6 - Features Overview
Command central 9.6 - Features Overview
 
CATIZ Project
CATIZ ProjectCATIZ Project
CATIZ Project
 
ANSYS SCADE Usage for Unmanned Aircraft Vehicles
ANSYS SCADE Usage for Unmanned Aircraft VehiclesANSYS SCADE Usage for Unmanned Aircraft Vehicles
ANSYS SCADE Usage for Unmanned Aircraft Vehicles
 
Webinar - Building Custom Extensions With AppDynamics
Webinar - Building Custom Extensions With AppDynamicsWebinar - Building Custom Extensions With AppDynamics
Webinar - Building Custom Extensions With AppDynamics
 
SensorStudio deep dive (IDC 2016)
SensorStudio deep dive (IDC 2016)SensorStudio deep dive (IDC 2016)
SensorStudio deep dive (IDC 2016)
 
IBM SmartCloud Orchestration
IBM SmartCloud OrchestrationIBM SmartCloud Orchestration
IBM SmartCloud Orchestration
 
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
 

Recently uploaded

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 

Recently uploaded (20)

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 

UEISIM Desktop

  • 1. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com UEISIM Desktop
  • 2. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Overview The UEISIM is a Linux based system that runs Simulink models. UEISIM Desktop allows remote monitoring and parameter tuning while a model is running.
  • 3. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Remote monitoring/Parameter tuning • External mode: • Use Simulink itself as client to connect to the UEISIM target. • UEISIM Desktop: • A client written in C#, C/C++ or LabVIEW can display the model’s signals and parameters without Simulink being installed. • Signals and parameters are also accessible via a web page.
  • 4. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Extra features (UEISIM desktop only) • Remotely start/stop simulation • Host PC client can start or stop simulations remotely • Timing statistics: • Average simulation step execution time • Minimum step execution time • Maximum step execution time • Model execution time
  • 5. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com UEISIM Simulation executable LibSharedData Client application PC #2 Client Application UeiSimTarget.dll PC #1 Web browser LibSharedData Shared Data protocol
  • 6. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Shared data protocol • Implements a simple message based protocol (set/get variable) using JSON or binary data representation • Local processes communicate over UNIX sockets • Remote processes communicate over TCP/IP sockets • Web browser communicate over Web Sockets
  • 7. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Signal Monitoring • A model automatically publishes all “exported” signals under the name: • /model_name/block_name/signal_name • To export a signal, right-click and set “Storage Class” to “Exported Global”
  • 8. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Parameter tuning • A model also publishes all tunable parameters under the name: • /model_name/block_name/param_name • For example the constant block “value” parameter is tunable:
  • 9. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Data hierarchy • This naming convention allows a hierarchical view of the model signals and parameters
  • 10. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Shared Data Client Shared Data client is an application that provides a quick and easy way to monitor a model.
  • 11. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com Client API UEISIM Desktop API supports C/C++, .NET (C#, VB), LabVIEW and Javascript The API provides the following services: • Start/Stop Simulation • Enumerate and read signals • Enumerate, read and write parameters • Reboot or shutdown UEISIM • Read timing statistics and CPU load
  • 12. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com C# client API 1/4 Create a client object UeiSimTargetClient client = new UeiSimTargetClient(); Open communication with UEISIM client.Open("192.168.100.2"); Load and Start Model client.LoadApp("/tmp/test_ai_rt2“, 2345); if(client.IsAppRunning()) { client.StopApp(); // Stop model if already running } client.StartApp();
  • 13. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com C# client API 2/4 Enumerate signals for(int sigIdx=0; sigIdx< client.GetNumSignals(); sigIdx++) { string sigName = client.GetSignalName(sigIdx); double[] sigVals = client.GetSignalValue(sigIdx, client.GetSignalWidth(sigIdx)); Console.Write("{0} = {1}", sigName, sigVals); }
  • 14. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com C# client API 3/4 Enumerate and tune parameters for(int prmIdx=0; prmIdx=0<client.GetNumParams(); prmIdx=0 ++) { string prmName = client.GetParamName(prmIdx); double[] prmVals = client.GetParamValue(prmIdx, client.GetParamWidth(prmIdx)); Console.Write("{0} = {1}", prmName, prmVals); // Tune parameter prmVals[0] = 102.90; client.SetParamValue(prmIdx, prmVals); }
  • 15. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com C# client API 4/4 Display timing stats Console.WriteLine("Model ran for {0} secs", client.GetExecTime()); Console.WriteLine("Min TET = {0}", client.GetMinTET()); Console.WriteLine("Max TET = {0}", client.GetMaxTET()); Console.WriteLine("Avg TET = {0}", client.GetAvgTET()); Close communication channel client.Close();
  • 16. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com LabVIEW API 1/4 Open communication and start application
  • 17. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com LabVIEW API 2/4 Enumerate and monitor signals values
  • 18. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com LabVIEW API 3/4 Enumerate and tune parameters
  • 19. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com LabVIEW API 4/4 Display timing stats
  • 20. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com LabVIEW client example
  • 21. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com HTML5 client • UEISIM Desktop web interface is built on top of web sockets • Web sockets are part of HTML5. Supported in the following browsers: Google Chrome Firefox Safari for MacOS and iOS Android web browser Internet Explorer 10
  • 22. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com HTML5 client – default page
  • 23. © 2013 UEI, Inc. All Rights Reservedwww.UEIDAQ.com HTML5 client – custom page