From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DQMH Consortium Toolkits Feature Requests

cancel
Showing results for 
Search instead for 
Did you mean: 
CyGa

Script R&R MHL base code to avoid systematic refactoring

Status: Released

Congrats Cyril, one of your ideas has finally been accepted 🤣 😉

When you create a Request and Reply event, the scripter creates such code in the MHL :
 
CyGa_1-1659106158802.png
And I always end up refactoring it this way :
CyGa_2-1659106201028.png

('Status update' related code can be ignored if it is a bit too much).
Is it possible, using scripting, to directly script that so we don't have to do this each time ?

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
2 Comments
Cloedu72
Member

We us e a VIM to handle this topic:

=> We have a similar implementation to forward the message to the helper loop.

Cloedu72_2-1667823829789.png

 


Cloedu72_0-1667823677094.png

Cloedu72_1-1667823724870.png

 

 

CLA / CTD
mbaudot
Active Participant
Status changed to: Released

Congrats Cyril, one of your ideas has finally been accepted 🤣 😉



Matthias Baudot | Software Architect | Founder at STUDIO BODs


STUDIO BODs     BLT for LabVIEW     LabVIEW Champion     Certified Professional Instructor     DQMH Trusted Advisor     GCentral Sponsor


 Check out my LabVIEW presentations and videos!