Changeset 3957 for branches/blt4/examples/c-example
- Timestamp:
- Sep 24, 2013, 4:40:58 PM (11 years ago)
- Location:
- branches/blt4/examples/c-example
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/examples/c-example/Makefile.in
r2172 r3957 48 48 plotc \ 49 49 50 .PHONY: all install clean distclean 51 50 52 all: $(PROGS) 51 53 … … 59 61 $(CC) $(CC_SWITCHES) -o $@ $< $(LIBS) 60 62 61 install: 63 install: all 62 64 $(MKDIR_P) -m 0755 $(destdir) 63 65 for i in $(FILES) ; do \ -
branches/blt4/examples/c-example/compress.c
r872 r3957 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 -
branches/blt4/examples/c-example/compress.cc
r872 r3957 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. -
branches/blt4/examples/c-example/plot.cc
r1019 r3957 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. -
branches/blt4/examples/c-example/plotc.c
r1019 r3957 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.