mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.8K
active users

#labview

0 posts0 participants0 posts today

To this day I'm convinced that by far the best way to do concurrent programming with #threads (beyond graphical programming languages like #Labview, where concurrency is natural) is that used by #Tcl

In other words each thread is created with its own sub-interpreter. Each has its own context, not shared. Information is passed by messaging (which the receiver receives in their own event loop). Channels moved (not shared) explicitly.

This massively reduces race conditions and other nasties.

Continued thread

So the background: we have a optical spectroscopy lab, with several instruments doing similar stuff and producing similar data. Each instrument has components and the whole setup is controlled by PC. Normally, one would use #labview for this kind of work.

But I do not. Why we would use gargantuan multi-gigabyte proprietary commercial program, when we could have the same functionality with few hundreds lines of open-source code, right? 😀

There are some reasons why I "don't like" LabView:

tbc

Виртуальная лаборатория робототехники или Как мы выбирали подходящее ПО

Вступление Так получилось что мы группа студентов и преподавателей заинтересованных в создании имитационных виртуальных лабораторий, в которых студенты могут без особых углубленных знаний попробовать поуправлять квадрокоптером, конвейером или другими интересными моделями. Ведь не всегда есть возможность потренироваться на реальных физических лабораториях. Нужны: место (деньги), оборудование (деньги) и время (тоже деньги). Следовательно придется смотреть в сторону виртуальных моделей. Мы искали удобную среду для создания таких моделей и вот до чего дошли (обозреваем ниже). Немного истории : факультет электромеханики (ныне переименован в Мехатроники и Автоматизации) НГТУ создавался в 50-х, чтобы готовить специалистов по разработке и производству электродвигателей, электрогенераторов e.t.c. Позднее факультет оброс кафедрами смежных направлений а в конце 2020-х открыл направление Робототехники. Профиль ФГОС и 70% предметов оставили прежними. Как и педсостав. В результате получили выпускников которые: умеют подобрать двигатели для круглого квадрокоптера в вакууме (и не только подобрать, но и спроектировать с нуля или пересчитать/перемотать); умеют настроить регуляторы для этого пепелаца; знают как рассчитать мощность и КПД. А вот о том, как программировать автопилот — только «имеют представление». В принципе такая заточка имеет право на жизнь если разрабатывать не роботов-доставщиков, а промышленные роботизированные ячейки.

habr.com/ru/articles/832812/

ХабрВиртуальная лаборатория робототехники или Как мы выбирали подходящее ПОДисклеймер. Статья носит образовательный характер. Нам не платили за эту работу, и не заплатят, когда прочтут. Будем безмерно рады как советам так и критике в комментариях. Вступление: Так получилось,...

As part of NI’s push for “#LabVIEW everywhere” in the mid 90s, the development environment was ported to a wide variety of platforms, including several video game consoles.

These console versions were never officially released, though internal beta copies are rumored to exist.

Wow, NI(National Instruments) *really* raised their prices this year-- our quote for 7 licenses (5 full and 2 pro) of #LabVIEW went up by 60%?!?!

Well, guess what? This will just cause us to ACCELERATE our conversion from LabVIEW to #Python even quicker. I guess the new owners (Emerson?) don't really care-- if anything, they probably have very little interest in LabVIEW in a smaller R&D setting...

The reroute nodes work pretty well in #Blender3D. My first experience with node based systems was in #LabVIEW. Heh, knob-and-tube nodes!

Made a module that takes in several values and uses them to drive a phase angle output. Want to use this to animate three phase equipment, such as motors, generators, transformers, #rectifiers and #inverters. Hope to have a two-pole motor stator animation soon.