LabVIEW (Laboratory Digital Instrument Engineering Workbench) is a graphical programming language that makes use of icons as an alternative of strains of textual content to create functions. In distinction to text-based programming languages that use directions to find out the order of program execution, LabVIEW makes use of dataflow programming. In knowledge circulate programming, the circulate of information by means of the nodes on the block diagram determines the execution order of the VIs and capabilities. VIs, or digital devices, are LabVIEW packages that imitate bodily devices. In LabVIEW, you construct a consumer interface by utilizing a set of instruments and objects. The consumer interface is called the entrance panel. After you construct the entrance panel, you add code utilizing graphical representations of capabilities to manage the entrance panel objects. You add this graphical code, also referred to as G code or block diagram code, to the block diagram. The block diagram considerably resembles a flowchart. The block diagram, entrance panel, and graphical representations of code compose a VI.
LabVIEW 2018 Options and Adjustments:
– Customizing a Malleable VI for Totally different Information Varieties
The Comparability palette contains the brand new Assert Kind subpalette. Use the Assert Kind VIs and performance to drive a malleable VI (.vim) to simply accept solely knowledge varieties that meet sure necessities. Use the Kind Specialization construction to customise sections of code in a malleable VI for particular knowledge varieties.
– Operating Operations Utilizing the Command Line Interface for LabVIEW
LabVIEW 2018 means that you can run operations in LabVIEW by executing instructions utilizing the command line interface (CLI) for LabVIEW. For instance, use the CLI for LabVIEW to automate the construct means of LabVIEW functions. The CLI for LabVIEW helps the next operations:
. MassCompile—Mass compiles the recordsdata within the specified listing.
. ExecuteBuildSpec—Builds an utility, a library, or a bitfile utilizing the settings within the specified construct specification(s) and returns the trail of the output recordsdata.
. RunVI—Runs a VI with the predefined connector pane interface and returns the output or error info.
. CloseLabVIEW—Closes LabVIEW with none prompts.
. (VI Analyzer Toolkit) RunVIAnalyzer—Runs the required VI analyzer job within the LabVIEW VI Analyzer Toolkit and saves the check report back to the required location.
. (Unit Check Framework Toolkit) RunUnitTests—Runs assessments on the required recordsdata within the LabVIEW Unit Check Framework Toolkit and saves the JUnit file to the required location.
Be aware: To run this operation in LabVIEW, you could set up the UTF Junit Report library utilizing the JKI VI Bundle Supervisor (VIPM) software program.
– Calling Python Code from LabVIEW
The Connectivity palette contains the brand new Python subpalette, which you should use to name Python code from LabVIEW code. The Python palette contains the next capabilities:
. Open Python Session—Opens a Python session with a selected model of Python.
. Python Node—Calls a Python operate immediately.
. Shut Python Session—Closes a Python session.
Be aware: You could set up Python 2.7 or 3.6 to make use of the LabVIEW Python capabilities. Though unsupported variations may work with the LabVIEW Python capabilities, NI recommends utilizing supported variations of Python solely. Go to ni.com/information and enter the Data Code python to study extra about putting in Python.
Utility Builder Enhancements
LabVIEW 2018 contains the next enhancements to the LabVIEW Utility Builder and construct specs.
– Creating Packages on Home windows and Linux Actual-Time Targets
You may create packages in LabVIEW and deploy them to shoppers by means of NI Bundle Supervisor or SystemLink. You need to use packages with Bundle Supervisor and SystemLink to distribute all kinds of recordsdata, together with supply distributions, packed undertaking libraries, shared libraries, .NET assemblies, and executables.
. (Home windows 64-bit) Create NI packages (.nipkg) by right-clicking Construct Specs within the Challenge Explorer window and choosing New»Bundle. Your shoppers can use Bundle Supervisor or SystemLink to subscribe to a feed to seek out and set up your packages.
. (NI Linux Actual-Time) You may also create opkg packages (.ipk) on NI Linux Actual-Time targets in case you set up the LabVIEW Actual-Time Module. Your shoppers can set up packages by means of SystemLink or from the command line on the NI Linux Actual-Time goal. Bundle Supervisor doesn’t help .ipk recordsdata
– Backward Compatibility Assist for LabVIEW-Constructed .NET Assemblies
With help for backward compatibility, .NET interop assemblies can load both within the LabVIEW model that they’re constructed with or within the newest model of the LabVIEW Run-Time Engine put in on the machine. For instance, you possibly can load and run .NET interop assemblies, that are constructed with LabVIEW 2018, in variations of the LabVIEW Run-Time Engine later than 2018 with out recompiling. To allow backward compatibility help for .NET assemblies, place a checkmark within the Enable future variations of LabVIEW to load this .NET meeting checkbox on the Superior web page of the .NET Interop Meeting Properties dialog field. LabVIEW allows this selection by default for construct specs you create in LabVIEW 2018 and later. You may disable this selection to bind a construct specification to a selected model of LabVIEW. Disabling this selection prevents any modifications to the efficiency profiles and helps you keep away from surprising issues ensuing from compiler upgrades. For real-time functions, this selection doesn’t seem within the dialog field however the performance is enabled by default.
LabVIEW 2018 contains the next enhancements to the LabVIEW surroundings:
– Enhancements to Creating Kind Definitions
In LabVIEW 2018, you may have extra methods of making a sort definition, which hyperlinks all of the cases of a customized management or indicator to a saved customized management or indicator file. You may create a brand new kind definition in one of many following methods:
. Choose File»New and choose Kind Definition underneath Different Recordsdata.
. Proper-click My Laptop within the Challenge Explorer window and choose New»Kind Definition from the shortcut menu.
– Keyboard Shortcuts for Formatting Textual content
Use the next keyboard shortcuts to format the font model when enhancing textual content within the LabVIEW surroundings:
. —Bolds textual content.
. —Italicizes textual content.
. —Underlines textual content.
Block Diagram Enhancements
LabVIEW 2018 contains the next enhancements to the block diagram and associated performance:
– Enhancements to Error Dealing with on Parallel For Loops
LabVIEW 2018 introduces error registers to simplify error dealing with on a For Loop with parallel iterations enabled. Error registers take the place of shift registers for error clusters on a parallel For Loop. Error registers robotically merge errors from parallel iterations. LabVIEW preserves the most effective follow of flowing errors by means of a shift register by robotically changing shift registers to error registers once you configure parallel iterations on a For Loop. Error registers and shift registers differ of their run-time habits. The left aspect terminal of the error register behaves like a non-indexing enter tunnel and produces the identical worth on each iteration. The best aspect terminal of the error register merges the values of every iteration such that the error or warning worth from the earliest iteration, by index, is the output worth of the error register. If the For Loop iterates zero occasions, the worth you wire into the left aspect tunnel carries ahead to the output on the best aspect tunnel.
– Enhancements to Eradicating and Rewiring Objects
If you take away and rewire a choice of block diagram objects, LabVIEW additionally removes any decorations, together with free labels, which are within the choice rectangle. Take away and rewire objects by dragging a variety rectangle round block diagram objects, right-clicking the choice, and choosing Take away and Rewire. You may also use the Fast Drop keyboard shortcuts and keys after choosing objects to take away and rewire objects.
Entrance Panel Enhancements
– NXG Model Controls and Indicators
The Controls palette contains the brand new NXG Model of entrance panel controls and indicators. Use the NXG model controls and indicators to create entrance panels with the identical model as LabVIEW NXG. The looks of those controls and indicators modifications relying on the platform on which finish customers run the VI. Utilizing these controls and indicators minimizes distortion of your entrance panels in case you migrate the VIs to LabVIEW NXG.
LabVIEW 2018 contains the next new VIs and capabilities:
– The Comparability palette contains the brand new Assert Kind subpalette, which incorporates the next VIs and performance:
. Assert Array Dimension Depend
. Assert Array Dimension Sizes
. Assert Advanced Numeric Kind
. Assert Error Cluster Kind
. Assert Mounted-Level Numeric Kind
. Assert Floating-Level Numeric Kind
. Assert Fractional Numeric Kind
. Assert Integer Kind
. Assert Actual Floating-Level Numeric Kind
. Assert Actual Numeric or Waveform Kind
. Assert Actual Numeric Kind
. Assert Identical or Descendant Kind
. Assert Scalar Numeric or Waveform Kind
. Assert Scalar Numeric Kind
. Assert Signed Integer Kind
. Assert Structural Kind Match
. Assert Unsigned Integer Kind
. Kind Specialization Construction
– The Connectivity palette contains the brand new Python subpalette, which incorporates the next capabilities:
. Open Python Session
. Python Node
. Shut Python Session
– The Conversion palette contains the brand new Coerce To Kind operate. Use this operate to transform the enter knowledge to a suitable knowledge kind whereas preserving the information worth. Not like the Kind Forged operate, this operate doesn’t reinterpret the enter knowledge. Use this operate within the following circumstances:
. To eradicate a coercion dot
. To transform knowledge with no kind definition to a suitable kind definition or vice versa
. To rename knowledge on the wire, comparable to a consumer occasion refnum
– The Timing palette contains the brand new Excessive Decision Polling Wait VI.Use this VI to attend the required variety of seconds with greater decision than you possibly can acquire with the Wait (ms) operate.
New and Modified Properties and Strategies
LabVIEW 2018 contains the next new and altered properties and strategies:
– The LeftShiftRegister class contains the brand new Is An Error Register property. Use this property to learn whether or not a shift register is an error register. An error register is a particular type of shift register that exists on a For Loop with parallel iterations enabled and when the information kind of the shift register is an error cluster.
– The VI class contains the brand new Configure Panel As Prime-Degree Hidden technique. Use this technique to cover the entrance panel of a VI and optionally to cover the VI from the taskbar when the VI runs as a top-level VI. For instance, use this technique to cover the entrance panel of startup VIs of stand-alone functions that you simply construct in LabVIEW.
– The DisableStructure class contains the brand new Disable Model property. Use this property to learn whether or not the construction is a Diagram Disable construction, a Conditional Disable construction, or a Kind Specialization construction.
– The Disable Model parameter of the Change Disable Model (class: DisableStructure) technique contains the brand new Kind Specialization Model possibility. Use this selection to alter a Diagram Disable construction or a Conditional Disable construction to a Kind Specialization construction.
The next gadgets are the IDs and titles of a subset of points mounted in LabVIEW 2018. This isn’t an exhaustive listing of points mounted within the present model of LabVIEW.
457851 Bundling class knowledge is slower than bundling cluster knowledge.
536763 Pop-up menus can seem solely restricted variety of occasions earlier than LabVIEW crashes.
619819 Icon transparency of VIs will not be maintained when constructing a packed undertaking library.
629258 In some circumstances, studying from a corrupt TDMS file deletes the file out of your machine.
630227 LabVIEW incorrectly permits dropping a shared variable right into a cluster.
631802 Exporting typedef array of numerics to Excel might crash LabVIEW.
639000 LabVIEW crashes when updating the radix of a numeric management on an Actor Core VI that’s working.
643107 Altering the road types of a number of plots doesn’t work as anticipating in XY graphs.
645059 Uninitialized shift registers might trigger incorrect kind propagation.
648582 Can not create Categorical VIs in sure localized variations of LabVIEW.
658587 Rescripting a message for an actor on a Linux RT goal leads to error 7.
664649 Accessing a DVR and deleting its reference in parallel can, in sure circumstances, trigger LabVIEW to crash.
666823 VIs that use channel wires are damaged when constructed right into a packed undertaking library.
670440 When dynamically registering occasions, LabVIEW might behave unexpectedly if an occasion is fired and unregistered earlier than it’s processed.
671753 The LabVIEW Utility Builder has the potential to hold when constructing malleable VIs with subarray or substring inputs.
672120 Malleable VIs might not correctly break after you rename a category technique that the mallable VI calls when performing class substitution.
678973 Instruments»Synchronize with ni.com Icon Library fails within the LabVIEW Icon Editor.
684125 In some circumstances, resizing a combined sign graph causes LabVIEW to crash.
For the complete listing of latest and improved options please discuss with the discharge notes positioned right here: LV_Upgrade_Notes
Be aware: Use the LabVIEW Platform media to put in modules and toolkits supported by LabVIEW 2018 (32-bit) and LabVIEW 2018 (64-bit). When run on Home windows (64-bit), LabVIEW (64-bit) supplies entry to extra reminiscence than a 32-bit working system or a 32-bit utility can present. LabVIEW (64-bit) is accessible in English solely.
System Necessities: PC
Supported Working Methods: Home windows 7even SP1/ 8.1 Replace 1 / 10 (model 1709) / Server 2012 R2 or Server 2008 R2 SP1
New Toolkits and Modules Checklist:
NI LabVIEW 2018 Actual-Time Module English
NI LabVIEW Superior Sign Processing Toolkit 2018
NI LabVIEW Management Design and Simulation Module 2018 x64
NI LabVIEW Management Design and Simulation Module 2018 x86
NI LabVIEW FPGA Module 2018 x64
NI LabVIEW FPGA Module 2018 x86
NI LabVIEW Sound and Vibration Toolkit 2018
NI LabVIEW VI Analyzer Toolkit 2018
NI Imaginative and prescient Improvement Module 2018