mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02: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