01-22-2013 04:34 AM
Hello everybody
I am using a VI that gets data and shows it in array indicator. But when I use this VI as subvi and take that array data to next VI. It does not work and I get 0. Although data is present in array indicator.
Vi is attached and version is 8.5
01-22-2013 05:20 AM
I am not sure in which vi you have that issue. In general this may happen if you have a case structure and you are passing that array out of the case structure from one case and in other case you might have set that node as Default if Unwired. In other case you might have kept the indicator inside the case structure and that didn't execute.
01-22-2013 07:10 AM
Which VI are you having problems with?
01-22-2013 11:00 PM
Thanks for your replies
The VI si relay.VI and the case is 1 of 2.In this case structure the subVI HPD20comparewithdatum is used. The output of acq.value array is not passing on. I want this array for graph. This array indicator shows value but when i pass it to next case it gives zero. Although that case structure is executing and there is no default value case.Screen shot is also provided
01-23-2013 12:19 AM
Hi
Inside the HPD20comparewithdatum sub vi, what are you wiring to acq. value? you have not wired anything to mask or to acq.value
what is the data that is to be written there?
you said the data is coming in the sub vi but not passing to the relay vi. how did you verify that the data is coming in the sub vi?
01-23-2013 01:44 AM
Thanks Anand, Crossrulz and Freelance.
The problem is solved by converting byte array to string in LV4 version VI and then again converting string to byte array in LV8 version. I was confusing acq.value of LV4 with LV8.