org.diirt.datasource.sample.MultipleChannelExamples Maven / Gradle / Ivy
/**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.datasource.sample;
import java.util.HashMap;
import java.util.Map;
import static org.diirt.datasource.ExpressionLanguage.*;
import org.diirt.datasource.PV;
import org.diirt.datasource.PVManager;
import org.diirt.datasource.PVReader;
import org.diirt.datasource.PVReaderEvent;
import org.diirt.datasource.PVReaderListener;
import org.diirt.datasource.PVWriter;
import static org.diirt.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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy