diff --git a/src/main/java/org/epics/ca/Channels.java b/src/main/java/org/epics/ca/Channels.java index e575805..8bd9efb 100644 --- a/src/main/java/org/epics/ca/Channels.java +++ b/src/main/java/org/epics/ca/Channels.java @@ -58,6 +58,10 @@ public static CompletableFuture waitForValueAsync(Channel channel, T v return future.whenComplete((v,exception)->monitor.close()); // return future; } + + public static Channel create(Context context, String name){ + return create(context, name, Object.class); + } public static Channel create(Context context, String name, Class type){ Channel channel = context.createChannel(name, type);