10-30-2019 02:40 AM
But if the only event that can occur among consecutives steps (each with its own event/message) is a stop and abort, would it be OK to self messaging?
Or if the system is OK with other messages that can be handled among steps, I guess it's ok to self-message the MHL
10-30-2019 03:29 AM - edited 10-30-2019 03:54 AM
@joerg.hampel ha scritto:
@FabiolaDelaCueva wrote:
Check out tip 4 from this blog post http://delacor.com/tips-and-tricks-for-a-successful-dqmh-based-project/
It talks about how to create state machines inside a Message Handling Loop case.
I would prefer a helper loop to a state machine inside the MHL.
I dont understand from your blog post how to do that. Fork the event refnum? how do you place the node "DQMH_REG_HELPER" ? where does it come from?
EDIT : ok solved
10-30-2019 11:38 AM
Why the disk structure of DQMH is flat?
would it be better to create some subfolders in the script?
So that I will put my events inside my folder, to distinguish from "built in" events/VIs?
10-30-2019 12:40 PM
@Konan__ wrote:
Why the disk structure of DQMH is flat?
would it be better to create some subfolders in the script?
So that I will put my events inside my folder, to distinguish from "built in" events/VIs?
Use the Project Explorer for project organization. It's much easier to make project organization changes in the Project Explorer than on disk.
10-30-2019 03:22 PM
@joerg.hampel wrote:
@FabiolaDelaCueva wrote:
Check out tip 4 from this blog post http://delacor.com/tips-and-tricks-for-a-successful-dqmh-based-project/
It talks about how to create state machines inside a Message Handling Loop case.
I would prefer a helper loop to a state machine inside the MHL.
They each have their use.
10-30-2019 09:51 PM
@Konan__ wrote:
I dont understand from your blog post how to do that. Fork the event refnum?
For a detailed explanation of why we should not fork the Event Registration wire, check out this post:
The general rule should be a Register for Events Node for each Event structure (with dynamic event terminals visible) handling events.
10-31-2019 04:05 AM
@Konan__ wrote:
So that I will put my events inside my folder, to distinguish from "built in" events/VIs?
We do exactly that and store all manually created VIs in subfolders. The default is "SubVIs", but that varies depending on the module.
Those folders are also reflected in the virtual folder structure inside the .lvlib.
DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )
10-31-2019 04:06 AM
@ryan_sheppard wrote:
Use the Project Explorer for project organization. It's much easier to make project organization changes in the Project Explorer than on disk.
It's also quite easy to move files around on disk in the Files view of the project explorer windows (actually something I learned from Fab!)
DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )
10-31-2019 05:58 AM
@joerg.hampel wrote:
It's also quite easy to move files around on disk in the Files view of the project explorer windows (actually something I learned from Fab!)
You've made my day, I didn't know we could do that!
I never even suspected NI could add such a neat feature 😮
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
11-04-2019 05:13 AM - edited 11-04-2019 05:18 AM
@joerg.hampel ha scritto:
@ryan_sheppard wrote:
Use the Project Explorer for project organization. It's much easier to make project organization changes in the Project Explorer than on disk.It's also quite easy to move files around on disk in the Files view of the project explorer windows (actually something I learned from Fab!)
wtf really LOL
But you can't delete from that view... you can only explore... or move (also with drag/drop into the file system tree)