11-03-2017 09:18 AM
No need more words,just look at the picture and try the code.
Why there is no prompt for the difference?
11-03-2017 09:25 AM - edited 11-03-2017 09:27 AM
Hi avater,
which "properties" are you talking about in the title of your message?
You have two array constants, which show different dimension sizes despite both are empty: LabVIEW can handle (2D) arrays having some rows, but no columns. Such arrays are still empty…
(You probably created those constants in different ways, did you?)
11-03-2017 09:38 AM
Easy enough to recreate.
Edit the first element in one of the array constants (row 0, col 0). Now right click on the element and delete the row. Run the VI, and you'll see the size for that array is {0,1}. Delete the first column, and re-run - the size for the array is now {0,0}.
The most important thing, as you say, is that it's still empty!
11-03-2017 10:15 AM
This has also come up from FOR loops with the inner loop iterating 0 times, but the outer loop iterating N times. The dimension lengths is not exactly a property as it is part of the data structure.
11-03-2017 01:13 PM - edited 11-03-2017 01:14 PM
Yes, diagram constants have properties, such as display format, text and bg color, font, value, etc.
This is completely independent of what you seem to be trying to discuss.
Any dimension of an array can be zero or nonzero and there is nothing wrong with that. An array is empty if at least one of the dimensions is zero. There are plenty of discussions here with more details.
11-03-2017 10:04 PM
The problem is that this can be very confusing,while they have the same outlook.
11-03-2017 10:08 PM
@avater wrote:
The problem is that this can be very confusing,while they have the same outlook.
They may have the same outlook, but they excel in their differences, that's the latest word!
Bob Schor
11-04-2017 12:55 AM
@avater wrote:
The problem is that this can be very confusing,while they have the same outlook.
It does not need to confuse you. Unless you crafted it yourself for a very specific purpose, it does not really matter. Focus on programming instead 😄
11-06-2017 11:41 AM
@Bob_Schor wrote:
@avater wrote:
The problem is that this can be very confusing,while they have the same outlook.
They may have the same outlook, but they excel in their differences, that's the latest word!
I don't really like the amount of Access, that this Project has. I think with some more help we could (power) Point to the issue.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-06-2017 12:01 PM
I'll just leave this here.