我知道这个问题太抽象了.但.我需要多长时间学习LabVIEW才能成为普通的LabVIEW开发人员?例如,如果我购买关于LabVIEW的好书并且每天有8小时(在我的工作中)专门用于LabVIEW学习我将花费多少天学习LabVIEW?能否请您根据自己的经验提供示例.关于我的更多信息可能会有所帮助:我是一名开发人员并且知道c\c ++\python和一些java语言.
就像Swinders说的那样,它可能在很大程度上取决于你的敏感度.我见过那些很难迁移到数据流概念的人.这是与经典的基于文本的语言不同的范例,有些人不能轻易地思考这些概念.
如果你超越了这个障碍,你会发现IDE处理了许多你曾经为你照顾的烦人事情(例如语法和内存分配).这使您可以非常快速地提高工作效率.
It doesn't mean, however, that your level would be high. One potential pit you should try hard to avoid is casting your existing experience onto LV. The most common example is probably local variables. This may be shocking to people coming from a text-based world, but LV does not have variables, per-se. Unfortunately, it does have elements called variables and people migrating from C who find them jump on them and use them as they would use variables in C, leading to LV code which looks like C code and is bad code (at least in LV).
If you do manage to work around this, I would guess you would become better than the global average in less than a month and better than most professional developers after creating three projects you would later look at and say "what the hell was I thinking?".
I never took any of the NI courses (although I understand some of the advanced architecture ones are pretty good), but I would suggest you also spend some time in some of the online communities (such as LAVA or the NI forums) and look at some of the examples and discussions there. There's a lot of material about best practices, design patterns, etc., which would allow you to become a more professional developer.
Above all, do not abandon your current professional conduct. If you have a structured process for designing and developing software, you already have a leg up on the majority of LV programmers. Just make sure you adapt and keep using such a process.
我一开始没有任何商业编程经验(我编程总是为了好玩),然后按照在线教程学习了 LabVIEW 的基础知识。一周之内我就能够理解现有的代码并可以开发一个小型应用程序。
很难估计成为“平均”LabVIEW 开发人员需要多长时间,因为这取决于“平均”的含义。需要考虑的一件事是您是否能够轻松地从数据流而不是过程语言的角度进行思考。如果您可以快速学习新的编程语言,那么这将会有所帮助。
您是否是唯一使用 LabVIEW 的人,或者您的工作场所是否有其他人可以指导您?您可能还会发现我推荐您附近有一些用户组(查看NI 网站或联系您当地的 NI 办事处)。
然后,您需要获得一些经验才能编写出良好的 LabVIEW 代码。几年前,我很幸运能够参加 National Instruments 的培训课程,我认为这对我有帮助,但只有通过使用它,我才成为一名“普通”的 LabVIEW 开发人员。
小智 5
我想说几周或大部分时间,将大部分工作时间投入其中。当我开始使用 LabVIEW 进行开发时,我的背景与您类似。最困难的部分是适应缺乏变量的情况。有局部变量,但它根本不是你所习惯的。此外,它们的函数(称为虚拟仪器 (VI))可以有多个输入和输出,类似于 Python 处理 n 元组的方式。
我会警告你,他们的数组处理功能很糟糕。许多您可能习惯的一般概念很难实现。我在使用这门语言时的座右铭是让困难的事情变得简单,让简单的事情变得困难。语言集中也有很多“陷阱”,尤其是 DAQmx 功能。我不确定您打算开发什么,他们的实时模块也有自己的问题,与主要语言集不同的问题。
我肯定会花一些时间访问 NI网站并阅读尽可能多的白皮书,尤其是有关良好设计实践的白皮书,请参见此处和此处。很好地学习他们的状态机(此处或此处)和生产者/消费者模式,这是您将要编写的许多应用程序的支柱。
祝你好运,它会让你头晕一阵子。