Тёмный

7. DQMH Cloneable Modules 

Tom's LabVIEW Adventure
Подписаться 5 тыс.
Просмотров 4,4 тыс.
50% 1

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@hlc8762
@hlc8762 4 года назад
Thank you so much. I’m a Chinese labview developer .wish you upload more video tutorials
@RoboCNCnl
@RoboCNCnl 4 года назад
Great series !! Wonder if the DQMH would be a good way to go for a data-aqcuisition system.. (reading sensors, sending commands to actuators etc..) Will dive in more ! Thanks!
@luisbaute1108
@luisbaute1108 4 года назад
Great video! I was wondering how to work with clone instances with DQMH and this helped a lot!
@rssmps
@rssmps 11 месяцев назад
Great videos. I do have a question at 4:17. For the event registration in the EHL, why does position matter when you linked up the START MOD? why does it have to match the broadcast?
@TomsLabVIEWAdventure
@TomsLabVIEWAdventure 11 месяцев назад
Are you referring to the order we wire the event references in the "Register for Events" function? If so, the order must match what we initially declared when the event registration wire was first created (before the EHL started). When we declared the event type at the start, we were telling the event structure what sort of events to expect, then when we launched the nested DQMH module, we updated the same definition with active event references. If however, your question was about why we launch the module, register for events, then sync the module: we do it in that order so we can guarantee no events are missed. In other words, we register for events before the first event is generated. I hope this helps
@gokufujison
@gokufujison 3 года назад
Absolutely superb videos!
@dmytrotoptunov8219
@dmytrotoptunov8219 4 года назад
Thank you very much! Just in time :)
@chun1650
@chun1650 4 года назад
Thanks for your video good good Technology
@gokufujison
@gokufujison 3 года назад
Thanks again for the tutorials! Ich have one question: I would like to call the Public API of each module "from a text file". i mean I would like to develop a module that is simply reading the text-file and iteratively calls every "row" in the file. f.ex. row 1: ModuleChatClient1.GetUserName() row 2: ModuleChatClient1.ChangeUserName(newName) row 3: ModuleChatServer.BanUser(username, durationInHours) How would one do this? dynamically call every VI? And typecast each input-value into the correct datatype?
@TomsLabVIEWAdventure
@TomsLabVIEWAdventure 3 года назад
Hi gokufjison, That defiantly doable, and there are two ways that come to mind straightaway: 1) In your launcher VI, load the module and read the file. Then in an autoindexing for-loop send the messages (case structure, one case for every value) 2) If you want it to be more dynamic (so you never have to update the launcher), you could use the Call By Reference VI (load the VI ref from the file path). However, you would need each message-send VI to have the same connector pane (perhaps use a variant as the data in). Let me know how you get on. Cheers, Tom
@chun1650
@chun1650 4 года назад
Thank you for Very much What your This version?
@zaifenking8617
@zaifenking8617 3 года назад
Hello Tom, great videos! I have a question, can you give me an idea of how can I read the status of a variable located in 3 clones and send them at the *same time* to another module? is that possible? Thanks in advance
@TomsLabVIEWAdventure
@TomsLabVIEWAdventure 3 года назад
I would recommend having your clones broadcast an update whenever the status changes, that way you always know what the clones are doing. Alternatively, you could use a Send and Wait for Reply message. But always use reply messages with caution, there are usually better solutions
@zaifenking8617
@zaifenking8617 3 года назад
@@TomsLabVIEWAdventure Thank you very much!
@chun1650
@chun1650 4 года назад
I am Korea LabVIEW developer
@dmytrotoptunov8219
@dmytrotoptunov8219 4 года назад
Quick question: could you please save project for this episode in the earlier format of LabVIEW? I have only 2018f2 and can't open an example. If it is not possible by some reason, I can re-create everything from the video, but looking into the code is more interesting. :)
@TomsLabVIEWAdventure
@TomsLabVIEWAdventure 4 года назад
Yep will do, I meant to do that when I uploaded it
@dmytrotoptunov8219
@dmytrotoptunov8219 4 года назад
@@TomsLabVIEWAdventure Thanks a lot!
@TomsLabVIEWAdventure
@TomsLabVIEWAdventure 4 года назад
@@dmytrotoptunov8219 Done - not tested. Let me know if you have issues with it
@dmytrotoptunov8219
@dmytrotoptunov8219 4 года назад
@@TomsLabVIEWAdventure Works! Thanks you very much!