Skip to content
Snippets Groups Projects
Commit ecb24f3e authored by Ian Bell's avatar Ian Bell
Browse files

Another fix of teqp HMX

parent ee71b1d7
No related branches found
No related tags found
No related merge requests found
...@@ -222,6 +222,9 @@ int main() ...@@ -222,6 +222,9 @@ int main()
} }
int ierr = 0, nc = Ncomp; int ierr = 0, nc = Ncomp;
char herr[255], hfld[10000] = " ", hhmx[255] = "HMX.BNC", href[4] = "DEF"; char herr[255], hfld[10000] = " ", hhmx[255] = "HMX.BNC", href[4] = "DEF";
#if defined(USE_TEQP_HMX)
strcpy(hhmx, (std::string("./teqpHMX.BNC") + "\0").c_str());
#endif
strcpy(hfld, (name + "\0").c_str()); strcpy(hfld, (name + "\0").c_str());
SETUPdll(nc, hfld, hhmx, href, ierr, herr, 10000, 255, 3, 255); SETUPdll(nc, hfld, hhmx, href, ierr, herr, 10000, 255, 3, 255);
if (ierr != 0) printf("This ierr: %d herr: %s\n", ierr, herr); if (ierr != 0) printf("This ierr: %d herr: %s\n", ierr, herr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment