Jump to content

Programatic control of case structures


Recommended Posts

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.