40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Tue Dec 4 20:38:51 2012, jamie, Omnistructure, Computers, new (beta) version of nds2 installed on control room machines 
    Reply  Tue Dec 4 23:08:46 2012, Den, Omnistructure, Computers, new (beta) version of nds2 installed on control room machines 
       Reply  Wed Dec 5 09:42:46 2012, rana, Omnistructure, Computers, new (beta) version of NDS2 installed on control room machines 
          Reply  Wed Dec 5 16:54:29 2012, jamie, Omnistructure, Computers, new (beta) version of NDS2 installed on control room machines 
             Reply  Mon Dec 10 16:28:13 2012, jamie, Omnistructure, Computers, progressive retrieval of online data now possible with the new NDS2 client 
Message ID: 7805     Entry time: Mon Dec 10 16:28:13 2012     In reply to: 7793
Author: jamie 
Type: Omnistructure 
Category: Computers 
Subject: progressive retrieval of online data now possible with the new NDS2 client 

Leo fixed an issue with the new nds2-client packages that was preventing it from retrieving online data.  It's working now from matlab, python, and octave.

Here's an example of a dataviewer-like script in python:

#!/usr/bin/python

import sys
import nds2
from pylab import *

# channels are command line arguments
channels = sys.argv[1:]

conn = nds2.connection('fb', 8088)

fig = figure()
fig.show()
for bufs in conn.iterate(channels):
    fig.clf()
    for buf in bufs:
        plot(buf.data)
    draw()

ELOG V3.1.3-