Filtered Results

On the diagram, an enum appears as a pull-down list of names represented as numeric data. You can use the named values to drive the logic of your program. For example, you can wire an enum constant or ...

A red coercion dot appears on the node input where the coercion takes place. In the following diagram, a red coercion dot appears on the Add node because the node expects two inputs of matching numeric ...

You can program using a variety of numeric data types, each with different qualities and ranges. The differences among the numeric data types are the number of bits they use to store data and the data ...

Strings represent text. A string is a sequence of zero or more letters, numbers, and special characters. On the diagram, strings are represented by pink objects and wires. The string data type cannot represent ...

A two-dimensional (2D) array stores elements in a grid. It requires a column index and a row index to locate an element. 2D array controls and indicators have two index displays to navigate to specific ...

One common example of a cluster is the waveform. You might be familiar with the waveform data type if you have used it to collect data from a signal. On the diagram, waveform objects and wires appear brown. ...

Like elements of arrays, elements of a cluster are ordered. Unlike elements of arrays, the elements of a cluster are not ordered by their positions in the cluster but by the order in which the elements ...

You can save and analyze the data that a device or code generates in a variety of ways. Viewing data in different formats can provide insight into trends or outliers in the data. What to Use An application ...

When looking for a problem in your code, you may have an idea of the general area where the problem exists. To help focus on this area, you can use a breakpoint to pause the VI at a specified point in ...

When the results of your application are not what you expect, you can use a set of tools to determine where errors occur within your code. Although errors are often detected automatically, sometimes your ...

Execution highlighting reduces the speed of execution and displays data bubbles that move along the wires, revealing the data that each node receives when it executes. When you begin debugging a program, ...

As you create code, a broken Run button communicates that the code contains errors that prevent it from running. You can use the provided error and warning messages to help fix these problems. Errors break ...

With execution highlighting, you can see data values at a slower execution speed. However, you may want to monitor specific data values without needing to slow execution. You can use probes on specific ...

While execution highlighting slows the execution of your code, single-stepping allows you to have more control of viewing individual actions of the program. With execution highlighting, execution slows ...

After a loop completes a single iteration, sometimes you want to use the value of one of its calculations in the next loop iteration. You can use a shift register to pass data from the most recent iteration ...

By default, each loop iteration executes as quickly as possible based on the code inside the loop. However, you might want to control the rate at which a loop executes in order to specify a fixed time ...

On the Document tab, in the Behavior section, click Properties to access VI Reentrancy options for your subVI. In the resulting dialog box, select the Execution tab. Choose one of the following options: ...

To turn an existing VI into a subVI, use the icon editor to assign input and output terminals and to customize the appearance of the subVI node. What to Do Select EditIcon and connector pane to display ...

Loop timing refers to how long a loop takes to execute a single iteration. The amount and type of code a loop contains affects its execution speed. By default, each loop iteration executes as quickly as ...

Right-click the diagram of an existing VI and select Create New SubVI to add an empty subVI node to the diagram. This creates a new .gvi file and adds it to the project. This file corresponds to the subVI ...

G Dataflow (G) is a graphical programming language in which nodes on a diagram execute when data is available for all required inputs. A node in G Dataflow executes only when it receives data for all wired ...

A state machine has four components on the diagram: a While Loop, a Case Structure, an Enum constant, and a shift register. While Loop—Sets the outer boundary for the state machine code and facilitates ...

Use a Case Structure to incorporate decision logic into your program. A Case Structure contains one or more subdiagrams, or cases, exactly one of which executes when the structure executes. Case Structures ...

What to Use Open/Create/Replace File A read or write node from the Storage palette category Close File What to Do Create the following diagram to programmatically open, write to, and close a text file. ...

Instead of creating the same code on a diagram multiple times, you can write code in a single location and use a For Loop to programmatically repeat it. For example, you might want to read a specific number ...

While working with an array of data, you might want to access individual elements within the array. Although you can use a combination of Array nodes to accomplish this task, the For Loop includes an auto-indexing ...

In some situations, you might know that you want to repeat an operation, but you do not know exactly how many times you want to repeat that operation. Instead, you know only that the operation should repeat ...

A loop is a programming element that executes the same code multiple times, or iterations. Types of Loops Loop Behavior Example Diagram For Loop Repeats the code inside the loop for a set number of iterations. ...

Parsing a string into smaller pieces allows you to perform operations on individual words or groups of characters in the string. These words or groups of characters are often referred to as tokens. A token ...

A shift register passes values from one loop iteration to the next, but sometimes you need to access values from more than just the previous iteration. You can use stacked shift registers to store values ...

Showing 91-120 of 552 results
4 of 19 pages