The Database client slow control interface


                                                                                              

SlcStoreUpdTable

 int SlcStoreUpdTable(slct, nup) 
  
 SlcTable   *slct; 
 int         nup;
    

Description

This function stores the update table in the database and merges
the values in the dat memory buffer. 

  slct:       The SlcTable object as returned by SlcBookTable
   nup:         The number of updates that are stored before a full
              data written   

Return Value

         Returns the table booked in the database, or in error
           0 if there was an error in store tables,
          -1 if slct is not a valid object
          -2 if database is not open
          -3 if the data was not loaded (SlcMemTable function call)
             or stored before the update (no in memory buffer exists)
          

Notes

          
        The values are merged in memory buffer.

        If an update exists with identifier = nused (the last plus 1)
        the update sets the table to the off state while updating the 
        memory buffer with the on values (all values are given to be 
        the ones in each filed  for this identifier).
         
        The fields inserted using PutTableField function must include
        a first field with unsigned int's (TABLEuint) that specifies 
        the id for the corresponding update, followed by the fields
        defined in the format string of  datadesc in SlcBookTable 
        function. If this is set to null then they must match the 
        description fetched from the database.



                    

return button to first pagegoes to previous pagenext page button