08-31-2005 12:11 PM
08-31-2005 01:48 PM
Why do you need to modify the number of dimensions? If you explain your problem, we can probably help you solve it.
If you really do need more than one option, you will have to create a case structure or different subVIs, where each frame or VI handle one type of array, because the number of dimensions is embedded in the wire - a wire can be ONLY 2D or ONLY 1D and so on.
08-31-2005 02:14 PM
You must carry the array at the highest dimension you possibly need (e.g. 3D). Nothing prevents you from using it as a pseudo 1D or pseudo 2D array by setting certain dimensions to lenght=1.
For example: To use it as a 1D array of lenght 50, initialize it as a 3D arrray of 50x1x1. 😉
08-31-2005 02:16 PM