project8 / mantis

project8 development DAQ
Other
2 stars 1 forks source link

Unable to run in 2-channel mode #11

Closed nsoblath closed 10 years ago

nsoblath commented 11 years ago

When command-line option mode=1 or mode=2 (aka 2-channel mode, either interleaved or separate, respectively), a MonarchException is thrown from Monarch.cpp:

terminate called after throwing an instance of 'MonarchException'
  what():  unable to write a header with acquisition mode <2> and format mode <0>
Aborted

The Acquisition Mode correctly corresponds to the 2-channel request. However, the Format Mode is 0, when it should be 1 or 2, respectively (0 should only be there for single-channel running)

nsoblath commented 10 years ago

Fixed in the client branch.