LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW can i use case structure?

if (ibsta & 0x8000)
              {
    testData->replaceStringFuncPtr(&testError->errorMessage, errorMessage33120A);
          testError->errorFlag = TRUE;
          testError->errorCode = ibsta;
    return;
              }
        else
              { 
              }
how can use case structure like if else  when fail case i need do nothing.
    in my attached
    i want to find the elemet of array include"input",but  output include blank array,because the false can not be empty.
 
thanks for you helps
         
 
Sonic

Diffrent Strokes for Different Folks
0 Kudos
Message 1 of 3
(2,909 Views)
You use a shift register like in the modified VI attached. A very similar example ships with LabVIEW. It's Fundamentals>Arrays and Clusters>Separate Array Values.
0 Kudos
Message 2 of 3
(2,890 Views)
wonderfull !!!
thanks of your hepls
Sonic

Diffrent Strokes for Different Folks
0 Kudos
Message 3 of 3
(2,865 Views)