Changeset 3177 for trunk/examples/c-example
- Timestamp:
- Sep 21, 2012 10:01:16 AM (12 years ago)
- Location:
- trunk/examples/c-example
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/c-example/compress.c
r872 r3177 1 // ====================================================================== 2 // Copyright (c) 2004-2007 Purdue Research Foundation 3 // See the file "license.terms" for information on usage and 4 // redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 5 // ====================================================================== 6 1 /* 2 * ====================================================================== 3 * Copyright (c) 2004-2012 HUBzero Foundation, LLC 4 * See the file "license.terms" for information on usage and 5 * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 6 * ====================================================================== 7 */ 7 8 #include "rappture.h" 8 9 … … 25 26 dxFilePath = argv[2]; 26 27 27 / / create a rappture library from the file filePath28 /* create a rappture library from the file filePath */ 28 29 lib = rpLibrary(xmlFilePath); 29 30 30 31 if (lib == NULL) { 31 / / cannot open file or out of memory32 /* cannot open file or out of memory */ 32 33 printf("FAILED creating Rappture Library\n"); 33 34 return 1; 34 35 } 35 36 36 / / label the graph with a title37 /* label the graph with a title */ 37 38 rpPutString(lib,"output.field(dxFile1).about.label", 38 39 "Example loading of a DX file",RPLIB_OVERWRITE); … … 46 47 RapptureBufferFree(&buf); 47 48 48 / / write output to run file and signal49 /* write output to run file and signal */ 49 50 rpResult(lib); 50 51 -
trunk/examples/c-example/compress.cc
r872 r3177 1 1 // ====================================================================== 2 // Copyright (c) 2004-20 07 Purdue Research Foundation2 // Copyright (c) 2004-2012 HUBzero Foundation, LLC 3 3 // See the file "license.terms" for information on usage and 4 4 // redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. -
trunk/examples/c-example/plot.cc
r1019 r3177 1 1 // ====================================================================== 2 // Copyright (c) 2004-20 05 Purdue Research Foundation2 // Copyright (c) 2004-2012 HUBzero Foundation, LLC 3 3 // See the file "license.terms" for information on usage and 4 4 // redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. -
trunk/examples/c-example/plotc.c
r1019 r3177 1 1 /* 2 2 * ====================================================================== 3 * Copyright (c) 2004-20 05 Purdue Research Foundation3 * Copyright (c) 2004-2012 HUBzero Foundation, LLC 4 4 * See the file "license.terms" for information on usage and 5 5 * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Note: See TracChangeset
for help on using the changeset viewer.