mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 09:29:55 +01:00
pattern generator produces binary file as well; adc clock frequency can be changed as well as run clock frequency
This commit is contained in:
@@ -78,7 +78,7 @@ int fileIO::writeDataFile(string fname, int *data){
|
||||
|
||||
int fileIO::writeDataFile(ofstream &outfile, int *data, int offset){
|
||||
|
||||
cout << "Write raw file...." << endl;
|
||||
// cout << "Write raw file...." << endl;
|
||||
return fileIOStatic::writeDataFile(outfile, getTotalNumberOfChannels(), data, offset);
|
||||
}
|
||||
|
||||
@@ -86,6 +86,8 @@ int fileIO::writeDataFile(ofstream &outfile, int *data, int offset){
|
||||
|
||||
int fileIO::writeDataFile(void *data, int iframe) {
|
||||
|
||||
// cout << "fileIO writeDataFile" << endl;
|
||||
|
||||
if (iframe<0)
|
||||
iframe=frameIndex;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user