Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5370

How to Clear-up the Table Cells

$
0
0

Hello,

 

I would like to clear up cell values for table updating with next values.

Is there any way to clean up the previous values(or reset cell values) at the table ?

Do I have set the all cell values to default ?

 

My issue is the following.

The "strmConfCnt" (below code) is being changed while updating tables. 

If the number of previous table rows are bigger(for example, 6)  than the updating sets(for example, 4), then the table shows up the pervious 2 unwanted rows data.

*please refer to the attached screen shot for the result.(The row 5 and row 6 from the previous data set are not wanted to show.) 

 

Thank you,

Insuk 

 

The part of Code --------------------------------------------------------------------   

 

for ( strmidx =0; strmidx < strmConfCnt; strmidx++) {
      
      SetTableCellAttribute (mDisplayHandle, PoutData4_Port6Tab,MakePoint(1,1+strmidx), ATTR_CTRL_VAL,SioInfo[strmidx].sensor);
      SetTableCellAttribute (mDisplayHandle, PoutData4_Port6Tab,MakePoint(4,1+strmidx), ATTR_CTRL_VAL,configInfo[index].rate6);     
     }
   

  


Viewing all articles
Browse latest Browse all 5370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>