org.epics.pvmanager.sample.VerifyCloseChannelPVManager 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 org.epics.pvmanager.PVManager;
import static org.epics.pvmanager.ExpressionLanguage.*;
import org.epics.pvmanager.PVReader;
import org.epics.pvmanager.PVReaderEvent;
import org.epics.pvmanager.PVReaderListener;
import org.epics.pvmanager.sim.SimulationDataSource;
import org.epics.util.time.TimeDuration;
/*
* Copyright 2011 Brookhaven National Laboratory
* All rights reserved. Use is subject to license terms.
*/
/**
*
* @author carcassi
*/
public class VerifyCloseChannelPVManager {
public static void main(String[] args) throws Exception {
//System.setProperty("com.cosylab.epics.caj.CAJContext.max_array_bytes", "20000000");
PVManager.setDefaultDataSource(new SimulationDataSource());
final PVReader