LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copies of Sub VI's created in a case structure returns a zero array.

The original sub VI returns a finite value in the case structure.. However when a copy of the subVI is created for different values of input in the same case structure, the output array is indeterminate. Please send in your solutions to abhardwa@engin.umass.edu.
0 Kudos
Message 1 of 4
(2,684 Views)

Maybe you can attach a example program that demonstrates the problem. We cannot thell from your decription what is significant or even what the problem is.

  • Why do we need to crete a copy of the VI (I assume under a different name)?
  • What if you feed "different values" to the original VI, do you get the same undesired output?
  • What is "indeterminate"? (empty array, array of zeroes, array of NaNs, etc.)
  • What is in the different cases of the case structure?
  • Are some output tunnels set to "use default if unwired"?
  • What is your LabVIEW version?
In general, answers should be posted here in the forum so everybody can profit from the solution. Providing solutions via private e-mail should be strongly discouraged. 😉

Message Edited by altenbach on 10-23-2005 10:44 AM

0 Kudos
Message 2 of 4
(2,682 Views)
hi..
*  the LabView version i'm using is 7.1
*  the indeterminate array is an null array (array of zeroes)
*  when a different input is wired to the original SubVI, the expected waveform is predicted.
*  the case structure represents different inputs which are wired to the same SubVI in the 2 instances.
hope this should be of help.
 
 
 
 
0 Kudos
Message 3 of 4
(2,670 Views)
Sorry, It is not clear what you are saying:
  • Do you simply have a second instance of the same subVI or do you create a copy with a different name?
  • What is the size of the "array of zeroes", ... or is it an array of zero lenght?

You should attach an example of your code to make things clear?

0 Kudos
Message 4 of 4
(2,667 Views)