org.epics.pvmanager.sample.MultipleChannelExamples Maven / Gradle / Ivy
/**
* Copyright (C) 2010-12 Brookhaven National Laboratory
* All rights reserved. Use is subject to license terms.
*/
package org.epics.pvmanager.sample;
import java.util.HashMap;
import java.util.Map;
import static org.epics.pvmanager.ExpressionLanguage.*;
import org.epics.pvmanager.PV;
import org.epics.pvmanager.PVManager;
import org.epics.pvmanager.PVReader;
import org.epics.pvmanager.PVReaderEvent;
import org.epics.pvmanager.PVReaderListener;
import org.epics.pvmanager.PVWriter;
import static org.epics.util.time.TimeDuration.*;
/**
* This is the code from the examples in the docs, to make sure it
* actually compiles
*
* @author carcassi
*/
public class MultipleChannelExamples {
public void m1_readMultipleChannels() {
// Read a map with the channels named "one", "two" and "three"
PVReader