Lee Robertson Posted October 12, 2006 Report Share Posted October 12, 2006 All, I have seen this discussed before but now I can't find it -- sorry for the new topic. I need a way to programmatically determine the number of cases in a case structure. I don't need to know the names or anything, just the number. The reason I need this is to fix an ugly code maintenance problem we have been experiencing. --Lee Quote Link to comment
jaegen Posted October 12, 2006 Report Share Posted October 12, 2006 All,I have seen this discussed before but now I can't find it -- sorry for the new topic. I need a way to programmatically determine the number of cases in a case structure. I don't need to know the names or anything, just the number. The reason I need this is to fix an ugly code maintenance problem we have been experiencing. --Lee Lee, 1. If you haven't already, check out this forum, and especially Michael's post that's pinned at the top. 2. There are a few "CaseSelector" class properties which return an array with one element per case. See the attached VI for one example. Jaegen Download File:post-932-1160670604.vi Quote Link to comment
Mike Ashe Posted October 12, 2006 Report Share Posted October 12, 2006 Specifically, you want this topic: Case Structure - Is it possible ... The second post should have the "Select-A-Case" zip file which will do and show all sorts of things with cases. Nice toy to have around, even if you don't need all of it right now. 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.