Limitations with Structures (WSN)
- Updated2023-02-21
- 1 minute(s) read
The following structures are unsupported:
- Event structure
- All shared variables except NI-PSP I/O variables
- Timed Structures and VIs
I/O Variables
The Wireless Sensor Network Module only supports the NI-PSP I/O variable type of shared variable. You use I/O variables in WSN VIs to read data from and write data to the host.
Formula Nodes
Formula Nodes have the following restrictions:
- You must use strict C code or LabVIEW cannot build the VI into an application. LabVIEW does not check for strict C code at edit time.
- Clusters are unsupported in the Formula Node.
- Only 1D and 2D arrays are supported in the Formula Node.
- You cannot define variables inside of a Formula Node. For example, int x; and double y; result in an error when you build the VI into an application. The only way to create variables in a Formula Node is to create the variables as inputs and outputs.
- The ** power function is unsupported. To perform a power operation in a Formula Node, you must use the pow() function. For example, replace Y=X**4; with Y=pow(X,4);.
- You cannot declare data types for the inputs or outputs. If you declare outputs inside of a Formula Node, the Formula Node causes syntax errors in the generated code. Create an input with the same name and type as the output to avoid declaring the output inside of a Formula Node.
- All Formula Node outputs are floating-point values.
Conditional Disable Structure
Use the Conditional Disable structure to execute a subdiagram based on the target operating system.