LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to design front panel for multiple cases with different inputs?

I have a front panel where I have one main input with multiple cases, and each of these cases have multiple different inputs. How do I design the front panel to put each of the main inputs with their sub-inputs and should I give each of the sub-inputs their own terminals? Thanks.

0 Kudos
Message 1 of 5
(1,748 Views)

Show us your VI and see what you have so far.

0 Kudos
Message 2 of 5
(1,745 Views)

@mshaske wrote:

I have a front panel where I have one main input with multiple cases, and each of these cases have multiple different inputs. How do I design the front panel to put each of the main inputs with their sub-inputs and should I give each of the sub-inputs their own terminals? Thanks.


There are many ways to do this, and many possible answers to your last question. Ultimately only you can answer whether you need each of your own "sub-inputs" to have their own terminal. Perhaps if you shared more information about what you're trying to do we could give you some guidance. 

0 Kudos
Message 3 of 5
(1,735 Views)

Here is the VI.

"FILE TO WRITE" is my main input.

All others are sub-inputs.

0 Kudos
Message 4 of 5
(1,724 Views)

So this is a SubVI that gets called and returns quickly, right? (no toplevel while loop!).

 

I recommend to do a few basic LabVIEW tutorials first. Many things are very convoluted and show poor understanding of graphical programming.

 

  • Why does the front panel cover dozens of screens and is way offset from the origin?
  • Why are you trying to index out 50 elements of an array constant that only contains 9 elements and the serial number is only 4 bytes (8 hex characters, probably U32)?
  • Why are your controls not on the toplevel diagram?
  • Are you sure you want uninitialized shift registers? Some of your data structures will grow without bounds if this is called repeatedly.
  • Does this even need to show the panel when called? If not, the front panel arrangement is irrelevant. Can you explain what the user should see and how he is supposed to interact when this is called?
  • Have a look here for some code alternatives to set SN parsing. Most of your code can be improved similarly.
0 Kudos
Message 5 of 5
(1,693 Views)