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: 7786     Entry time: Tue Dec 4 20:38:51 2012     Reply to this: 7788
Author: jamie 
Type: Omnistructure 
Category: Computers 
Subject: new (beta) version of nds2 installed on control room machines 

I've installed the new nds2 packages on the control room machines.

These new packages include some new and improved interfaces for python, matlab, and octave that were not previously available. See the documentation in:

  /usr/share/doc/nds2-client-doc/html/index.html

for details on how to use them.  They all work something like:

  conn = nds2.connection('fb', 8088)
  chans = conn.findChannels()
  buffers = conn.fetch(t1, t2, {c1,...})
  data = buffers(1).getData()

NOTE: the new interface for python is distinct from the one provided by pynds.  The old pynds interface should continue to work, though.

To use the new matlab interface, you have to first issue the following command:

   javaaddpath('/usr/lib/java')

I'll try to figure out a way to have that included automatically.

The old Matlab mex functions (NDS*_GetData, NDS*_GetChannel, etc.) are now provided by a new and improved package.  Those should now work "out of the box".

ELOG V3.1.3-