| Thread Closed |
Controlling the Genie Sequence Analyzer w/ the Genie 2K Programming Library |
Share Thread | Thread Tools |
| Feb18-09, 07:34 PM | #1 |
|
|
Controlling the Genie Sequence Analyzer w/ the Genie 2K Programming Library
Has anybody written programs that call the Genie 2000 SequenceAnalyzer object from the Genie 2000 Programming library?
I am trying to do a peak locate, followed by a peak area computation, then write the results to a report file. The Analyze method says the sequence executes without problems (it returns S_OK), and it claims to have executed all 4 steps in the sequence. I specified a full path to the report file and asked Analyze to generate a report, but I cannot find the report file anywhere on my system. My code is written in MS Visual Studio 2008 C++. The actual call looks like this: seqAnalyzer->Analyze(dataAccess, &step, bsName, VARIANT_FALSE, VARIANT_FALSE, VARIANT_FALSE, VARIANT_TRUE, rptName, NULL); Thanks, Bill. |
| Feb21-09, 12:23 PM | #2 |
|
|
I still cannot get Genie2K to produce the report, but I have found out how to get the information out. In case anyone is interested, here is how to get the peak area of all of the peaks (leaving out all error checking for clarity):
Code:
long nPeaks;
float *peakArea;
dataAccess->get_NumberOfRecords(DataAccess::CAM_CLS_PEAK, (DataAccess::ParamCodes)0, &nPeaks));
peakArea = new float[nPeaks];
for (int peak = 1 ; peak <= nPeaks ; ++peak) {
I still cannot get the API to generate the report. The analyze batch command and Gamma Acquisition & Analysis programs both generate reports for the same .ASF file. What I really wanted were numbers in the report to use elsewhere in my program. Now that I can get them more directly, I do not care so much... |
| Thread Closed |
| Tags |
| api, canberra, genie 2000, programming |
| Thread Tools | |
Similar Threads for: Controlling the Genie Sequence Analyzer w/ the Genie 2K Programming Library
|
||||
| Thread | Forum | Replies | ||
| Genie 2000 Programming Library | Nuclear Engineering | 19 | ||
| Super Nintendo Game Genie Codes | Computing & Technology | 10 | ||
| Spectrum Analyzer vs. Network Analyzer | Electrical Engineering | 7 | ||
| Genie 2000 - CAM files | Nuclear Engineering | 1 | ||
| Genie and 3 wishes. | General Discussion | 33 | ||