Call (*func), not ALgetparams!
diff --git a/Modules/almodule.c b/Modules/almodule.c
index 47aa52a..fad510d 100644
--- a/Modules/almodule.c
+++ b/Modules/almodule.c
@@ -516,7 +516,7 @@
 		PVbuffer[i] = getintvalue(v);
 	}
 
-	ALgetparams(device, PVbuffer, length);
+	(*func)(device, PVbuffer, length);
 
 	if (modified) {
 		for (i = 0; i < length; i++)