David Boyd Posted March 11, 2005 Report Share Posted March 11, 2005 The editor doesn't seem to check units consistency on a few of the array primitives. For example, an array of doubles with units of 'Hz' can be wired to an 'Insert Into Array', then a scalar double with units of 'psi' can be wired to the element terminal of the same primitive. No complaint from the editor; when the VI is run, it appears that the base unit values are used to perform the insert. (Incompatible units also includes the case where one input carries no units.) The primitive 'Replace Array Subset' seems to behave similarly. Shouldn't the editor flag the VI as broken? Dave Quote Link to comment
BChandler Posted October 15, 2005 Report Share Posted October 15, 2005 The editor doesn't seem to check units consistency on a few of the array primitives.For example, an array of doubles with units of 'Hz' can be wired to an 'Insert Into Array', then a scalar double with units of 'psi' can be wired to the element terminal of the same primitive. No complaint from the editor; when the VI is run, it appears that the base unit values are used to perform the insert. (Incompatible units also includes the case where one input carries no units.) The primitive 'Replace Array Subset' seems to behave similarly. Shouldn't the editor flag the VI as broken? Dave LV6.1 flaged this as an error. This bug is new to LV7. Anyone know what LV8 does? WDC Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.