Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(10)
需要一些培训和一些时间来学习开发可维护代码所需的风格。
来自 Java/C#/C++,您可能对良好的软件架构有很好的了解。 现在您只需要了解 LabView 的特性和常见陷阱即可。
对于基础知识,NI 提供培训课程。 看看你的新雇主是否可以送你去参加基础 I/II 课程来入门。 他们还提供一些在线课程。 课程结束后,您可以报名参加认证测试。
从 National Instruments 获取 Labview 的评估副本; 他们有一个维护良好的帮助文件,您可以直接深入研究,其中包含示例代码。 查看“入门”和“LabVIEW环境”。 您应该能够立即投入并很快熟悉开发环境。
LabVIEW 的图形化固然很好,但不要从应用程序设计的角度抛弃您的最佳实践。 最终代码看起来像彩虹意大利面条,或者延伸几个屏幕宽的代码是很常见的。 使用 subvi 并让每个 vi 具有特定的目的和功能。
NI 官方支持论坛和知识库可能是目前最好的资源。
像 Tutorials in G 这样的非官方网站有在官方网站和文档,但如果您遇到困难,仍然可能对交叉参考有用。
编辑: 基础知识 I/ II 旨在供没有软件开发经验的用户使用。 根据您使用评估版后的感受,您也许可以直接进入 中级 I/II。 NI 在其网站上也提供了课程大纲,因此您知道每个课程大纲将涵盖哪些内容。
It will take some training and some time to learn the style needed to develop maintainable code.
Coming from Java/C#/C++, you probably have a good idea of good software architecture. Now you just need to learn the peculiarities of LabView and the common pitfalls.
For the basics, National Instruments offers training courses. See if your new employer can send you to a Basics I/II class to get your feet wet. They offer some online classes as well. Following classes, you can sign up to take tests for certification.
Get an evaluation copy of Labview from National Instruments; they have a well maintained help file that you can dive right into, with example code included. Look at "Getting Started" and "LabVIEW Environment". You should be able to jump right in and become familiar with the dev environment pretty quickly.
LabVIEW, being graphical is nice, but don't throw out your best practices from an application design point of view. It is common to end up with code looking like rainbow sphaghetti, or code that stretches several screens wide. Use subvi's and keep each vi with a specific purpose and function.
The official NI support forums and knowledgebase are probably the best resources out there at the moment.
Unofficial sites like Tutorials in G have a subset of the information found on the official site and documentation, but still may be useful for cross reference if you get stuck.
Edit: Basics I/II are designed to be accessible to users without prior software development experience. Depending on how you feel after using the evaluation version, you may be able to move directly into Intermediate I/II. NI has the course outlines available on their website as well, so you know what you're going to cover in each.
面向所有人的 LabVIEW 最近经过修订,非常全面。 除了网络上提供的免费内容之外,这可能是开始学习该语言的最佳场所。
《LabVIEW 风格指南》 是一本关于如何组织和安排代码的好书并归档以获得最大利益。
面向对象编程是 LabVIEW 的最新补充。 LVOOP 白皮书详细解释了它的工作原理和原因事情就是这样。
虽然有点过时了,但 Bitter、Mohiuddin 和 Nawrocki 的《LabVIEW 高级编程技术》仍然充满了有用的内容。
National Instruments 论坛是获取基本帮助的好地方。 LabVIEW 高级虚拟架构师 (LAVA) 是高级主题的社区论坛。
LabVIEW for Everyone is recently revised and quite comprehensive. Other than the free stuff available on the Web, this is probably the best place to start learning the language.
The LabVIEW Style Guide is a great book on how to organize and arrange your code and files for maximum benefit.
Object oriented programming is a recent addition to LabVIEW. The LVOOP white paper explains much about how it works and why the way it is the way it is.
It's a bit out of date, but LabVIEW Advanced Programming Techniques by Bitter, Mohiuddin and Nawrocki is still full of useful stuff.
The National Instruments forums are a great place to go for basic help. The LabVIEW Advanced Virtual Architects (LAVA) is the community forum for advanced topics.
G 教程,另请查看 webring。
-亚当
Tutorials in G, also check out the webring.
-Adam
官方 NI 支持页面 和 支持论坛 很难被击败。
拥有 LabVIEW 专家确实很有帮助。
The official NI support page and support forums are hard to beat.
It really helps having a guru around for LabVIEW.
“Arc the daft”几乎准确地指出了学习 LabVIEW 时应该尝试做的事情。 不过,我不会跳过Basic 的I 和II。 这些课程确实教授基本的编程概念,并且面向非程序员,但它们确实广泛涵盖了 IDE。 LabVIEW IDE 是一种基于文本的语言,它很奇怪,花时间在课堂上与讲师一起学习可以真正加快您的学习速度。
如果您是经验丰富的开发人员,我会跳过中级 1。 中级 1 尝试在三天的课程中教授软件工程实践。 如果您正在学习以获得 CLD,您需要了解课程和考试术语,否则我不会在课程上花费时间或资金。
'Arc the daft' pretty much nailed exactly what one should try to do to learn LabVIEW. However, I would not skip Basic's I and II. The classes do teach basic programming concepts and are geared to non-programmers, however they do cover the IDE extensively. The LabVIEW IDE is strange coming from a text based language and spending the time in the class learning it with an instructor can really accelerate your learning.
I would skip Intermediate 1 if you are a seasoned developer. Intermediate 1 tries to teach software engineering practices in the span of a three day course. If you are studying to get your CLD you need to know the course and the terminology for the exam, otherwise I wouldn't spend my time or capital in the course.
订阅Info-LabVIEW 邮件列表。 最近,随着 NI 和 LAVA 论坛越来越受欢迎,它变得安静了很多,但仍然有一些非常有经验和乐于助人的人阅读它,包括 NI 的人,如果你在其他地方找不到你需要的东西,那么一个很好的选择问题通常会得到很好的答案。
如前所述,NI 风格指南是一个很好的指南参考 - 当您了解它所涵盖的更多内容时,请重新阅读它,其中包含一些密密麻麻的好建议。
个人重要提示:查看提供的示例代码(尽管它不一定完美); 尽快学会使用队列和通知器; 在弄清楚没有它们可以做什么和不能做什么之前,不要深入使用事件结构和控制引用; 从小而简单的开始 - 随着您的野心范围的扩大,您应该会发现稍后通过将其重新打包到子 VI 中可以轻松地重用此代码。 玩得开心!
Subscribe to the Info-LabVIEW mailing list. It's got a lot quieter in recent times as the NI and LAVA forums have grown in popularity, but it's still read by some very experienced and helpful people, including people at NI, and if you can't find what you need elsewhere then a good question will usually get a good answer.
The NI style guide, as already mentioned, is a good reference - re-read it as you learn about more of the things it covers, it contains some densely packed good advice.
Personal top tips: look at the supplied example code (although it's not necessarily perfect); learn to use queues and notifiers as soon as possible; don't dive in to using event structures and control references until you've figured out what you can and can't do without them; and start small and simple - you should find it easy to reuse this code later on by repackaging it into subVI's as the scope of your ambitions increases. And have fun!
对我来说,学习 LabVIEW 的最佳方法是分析内置示例。 最好的论坛是 NI 开发者专区社区和 LAVA 论坛
LabVIEW 确实很容易使用,但棘手的一点是要知道如何设计您的应用程序,以免它变成意大利面条。 一旦您掌握了基础知识(例如 LabVIEW 入门课程),即可学习如何使用设计模式、事件、队列、类型定义和引用。 使用模块化架构,避免大型结构,尝试在小窗口中“编写”代码。
了解 LabVIEW 版本(完整版/专业版和版本 7.1.1、8.2、8.5、8.6、2009)之间的差异、如何将版本控制系统与 vi(二进制文件)一起使用以及如何保存您的项目中的文件,以便您可以轻松地重用任何代码并“DRY”(不要重复自己),如何构建可执行文件以及它需要什么LabVIEW运行引擎(对于客户),什么是DAQmx以及如何使用它,什么是 VISA 驱动程序,哪个版本适合您的设置,如何使用测量和驱动程序 自动化程序..
For me the best way to learn LabVIEW was by analyzing the in-build examples. The best forums are NI Developer Zone Community and LAVA Forums
LabVIEW is really easy to work with but the tricky bit is to know how to design your application so that it will not becaome a spaghetti. Once you get the basics (e.g. LabVIEW Introduction Course) learn how to use design patterns, events, queues, typedefs and references. Use modular architecture, avoid big structures, try 'writing' your code in small window.
It is also important to know the differences between LabVIEW versions (full/pro, and ver 7.1.1, 8.2, 8.5, 8.6, 2009), how to use version control system with the vi's (binary files), and how to keep your files in project so that you can easily reuse any code and be "DRY" (don't repeat yourself), how to build executable and what LabVIEW RunTime Engine it needs (for customers), what is DAQmx and how to use it, what are VISA drivers and which version is correct for you settings, how to use Measurements & Automation program..
几年前,当我开始使用 LabVIEW 时,我获得了LabVIEW 图形编程课程<的链接/a>. 它涵盖了基础知识,并且对其他编程语言有深入的了解,我认为这帮助我快速掌握了知识。
When I started with LabVIEW a few years ago I was given a link to the LabVIEW Graphical Programming Course. It covers the basics and having a sound knowledge of other programming languages I think helped me pick things up quickly.
我将从 LabVIEW wiki 开始。
具体来说,LabVIEW 教程。 有很多在线参考资料和 LabVIEW 参考书的链接。 欢迎来到 LabVIEW 的世界!
I would start with the LabVIEW wiki.
Specifically, LabVIEW Tutorial. There are lots of online references and links to LabVIEW reference books. Welcome to the world of LabVIEW!
我建议您从适合所有人的LabVIEW开始。 这是一本很好的书,很好地涵盖了 LabVIEW 的基础知识。
I would suggest you start with LabVIEW for Everyone. Its a good book which covers the basics of LabVIEW well.