Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: ms.close - Function Up: ms - Tool Previous: ms.iswritable - Function


ms.open - Function



Package general
Module ms
Tool ms


Attach the ms tool to a measurement set table


Synopsis
open(thems, readonly, lock)


Arguments

thems in Name of the measurement set table to open
    Allowed: String
    Default: no default
readonly in prevent changes to the measurement set
    Allowed: Boolean
    Default: T
lock in lock the table for exclusive use by this tool
    Allowed: Boolean
    Default: F


Returns
nothing



Description
Use this function when you have detached (using the close function) an existing ms tool from a measurement set table and wish to reattach to another measurement set table. This is quicker than destroying the ms tool with the done function and starting up a new one as the server does not have to be restarted.


Example
      include 'ms.g'
      myms := ms('3C273XC1.ms')
      myms.close();
      myms.open("anotherms", readonly=F, lock=F)




next up previous contents index
Next: ms.close - Function Up: ms - Tool Previous: ms.iswritable - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01