LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving data from a True False Structure

I am attempting to save from the True case from a True-False structure. I wire a Save-to-Spreadsheet VI externally, but I only repeatedly receive the default value from the False case. I am successfully seeing the True case being repeated as I use it to constantly read data from a VME crate. It seems that the indexing for the window is only saving from the False window...What am I doing wrong? I have attached a screenshot of the VI.
0 Kudos
Message 1 of 3
(2,667 Views)
Not sure I understand the problem. You don't show the False case in your code, which is where you say the problem is. If you are concerned about this issue, then you need to isolate the problem. If you believe that the False case isn't being executed, then you should probe the boolean to the case structure in question and determine if it does execute.
0 Kudos
Message 2 of 3
(2,667 Views)
From your picture, it looks to me that your inner While loop stops when the Boolean is false. This same Boolean value (through the OR function) goes to your case selector. Since this inner loop does not auto index on its output, you will always get the False case when it exits.

Regards,

Doug
0 Kudos
Message 3 of 3
(2,667 Views)