dio_set_hash_table_size_c
status.i4.v = dio_set_hash_table_size_c(table_size.u4.v)
This routine sets the hash table size for cached DIO information.
If it is successful, all previously cached information will be
delete. This routine may be useful if you are accessing a great
number of devices to speed up retrieval of cached information.
table_size desired length of has table (>= 128)
This function returns ACNET status values as follows:
OK success
DIO_BADARG invalid table size passed
DIO_DUPREQ requested size is the same as the current size
This function requires the following include files:
diolib_h, acnet_errors_h
Related functions:
dio_delete_cache, dio_delete_pdb_all, dio_delete_all_info,
dio_delete_info(_c), dio_delete_all_emc_info, dio_delete_all_name_info,
dio_manage_pdbs_c, dio_manage_extended_pdbs_c,
dio_manage_front_end_pdbs_c
C/C++ usage:
int status;
unsigned int table_size = 128;
status = dio_set_hash_table_size_c(table_size);