Viptos - Visual interface between Ptolemy and TinyOS


Viptos is an interface between TinyOS and Ptolemy II

TinyOS is an event-driven operating system designed for sensor network nodes that have very limited resources (e.g., 8K bytes of program memory, 512 bytes of RAM). TinyOS, is used, for example, on the Berkeley MICA motes, which are small wireless sensor nodes. nesC is an extension to the C programming language designed to embody the structuring concepts and execution model of TinyOS.

nc2moml is used to convert nesC files (.nc) into MoML (.moml) files. This will create the Ptolemy II libraries of components that are used to assemble models. TinyOS provides a rich library of nesC components. If you install TinyOS 1.x in $PTII/vendors/ptinyos/tinyos-1.x, then the Ptolemy II configure script will find it, running nc2moml will convert the TinyOS libraries and make them available to Ptolemy.

ncapp2moml is used to convert nesC application files (.nc) into MoML (.moml) files. This will create Ptolemy II models that you can run in Viptos. You must setup the necessary MoML library of nesC components with the nc2moml tool before you can successfully open files made with this ncapp2moml tool.


  • August, 2007: Elaine Cheong. Actor-Oriented Programming for Wireless Sensor Networks, PhD thesis, University of California, Berkeley.
  • February 9, 2007: Viptos 1.0.2 is available. Viptos 1.0.2 works with both Linux and Windows. The Viptos1.0.2 source distribution will not compile with Java 1.6, you must use Java 1.4 or 1.5. To download using Java 1.7 or later, download the sources from the svn repo, see
  • November 17, 2006: Joint Modeling and Design of Wireless Networks and Sensor Node Software technical report published.
  • October 30, 2006: Viptos 1.0.beta made available.
  • October 26, 2005: Viptos prerelease made available.
  • What's New in Viptos
  • Ptolemy II PtinyOS Domain Installation Notes
  • February, 2011: Linux How-To for working from the Ptolemy development tree.
  • Ptolemy II PtinyOS Domain Installation Notes for Cygwin
  • February 15, 2006 Viptos: A Graphical Development and Simulation Environment for TinyOS-based Wireless Sensor Networks technical report published.
  • November 2, 2005 Viptos was presented at SenSys 2005 in San Diego.
  • November 1, 2005 Viptos 5.1-alpha released This is the first release of Viptos, which is based on Ptolemy II 5.1, hence the name of the release is Viptos 5.1-alpha. Note that Viptos 5.1-alpha works under Linux, but does not work with Windows.
    Don't use Viptos5.1-alpha, instead use Viptos1.0.