ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/CPL/mCHAI_Connector.cpl
Revision: 7
Committed: Sat May 5 04:19:06 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: application/cpl+xml
File size: 480 byte(s)
Log Message:
Initial Import

File Contents

# Content
1 main(int moduleSelection)
2 {
3
4 int db, ssmd,sslst, shoot;
5 text Null, string1, string2, agrumentString, snapFileName;
6
7 string1 = getcwd();
8 string2 = db.database;
9 time(Null,Null,ssmd);
10 sslst = clock();
11
12 agrumentString = str(ssmd*sslst) + " " + str(moduleSelection);
13 snapFileName = "c:\test_dir\Chai_Lte_Jobs\" + str(ssmd*sslst) + ".snp";
14 shoot = 1;
15
16 snapshot(db,snapFileName,shoot);
17
18 spawn("c:\Python25\Installer\mCHAI\distmCHAI\mCHAI.exe",agrumentString);
19
20 }
21