]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Sun, 10 Sep 2000 17:39:39 +0000 (17:39 +0000)
committerhades <hades>
Sun, 10 Sep 2000 17:39:39 +0000 (17:39 +0000)
allParam/ca/caParam.c
allParam/ca/caParam.h
allParam/test/param.tcl

index 38727cf3c96e104267f9219078a88a34a1f78c61..c512adf8f0459b0b5efa2900b4b743600fa7f6af 100644 (file)
@@ -107,7 +107,7 @@ int Param_getStringArray(const Param *my, const char *name, const char *idx, int
                status = ca_array_get_callback(ca_field_type(chan), ca_element_count(chan), chan, Param_copyToAllocMem, result);
                Param_strerror((Param *) my, ca_message(status));
 
-               if((status = ca_pend_io(TIMEOUT)) == ECA_TIMEOUT) {
+               if((status = ca_pend_event(TIMEOUT)) == ECA_TIMEOUT) {
                        Param_strerror((Param *) my, ca_message(status));
                } else if (status != ECA_NORMAL) {
                        Param_strerror((Param *) my, ca_message(status));
index 19f2ef6c5fb43073f857e97d3819d07d33187708..9fdeb70f2d45531ccd4303dfa5e9ed05bf2bbd50 100644 (file)
@@ -9,7 +9,7 @@
  * Section containing struct Param (different in the different param.h's) *
  **************************************************************************/
 
-#define TIMEOUT 0.5
+#define TIMEOUT 0.2
 
 typedef struct ParamS {
        char *strerror;
index e22aa91b8a7f76ec2020eee16b99ef5c7ee9f997..463ee697357d3ab1efd3f049379d5ce13051c15b 100644 (file)
@@ -1,4 +1,4 @@
-set tname(tstring) test0
+set tname(tstring) test100
 
 set tname(tint) 100