spaulaus / paass

Pixie Acquisition and Analysis Software Suite - maintained by Project Science
GNU General Public License v3.0
0 stars 2 forks source link

XIA API receives null pointer for pxisys.ini #73

Closed spaulaus closed 4 years ago

spaulaus commented 6 years ago

Expected Behavior

The API should be able to load pxisys.ini as specified in the configuration file.

Current Behavior

Error when loading pxisys.ini

For some reason we're passing in null for the pxisys file name. It's set properly according to the cout statements but it's not getting to the API for some reason.

Context

Error only presents itself when trying to communicate with actual hardware through the API. From what I can tell the API sees this as a null pointer. Memory inspection shows this pointer as not null, and set to the proper value just before executing the API call.

Possible Solution (optional)

Acceptance Criteria

Bug Report

Your Environment

Component Value
Operating system CentOS Linux release 7.5.1804 (Core)
Kernel Version 3.10.0-862.14.4.el7.x86_64
CMake Version 3.12.3
GCC Version 8.2.0
ROOT Version 6.15/01
GSL Version 1.15

Steps to Reproduce

  1. Ensure that you connected the Pixie16 hardware to the system.
  2. Using poll2 v4+ provide a valid pxisys.ini file in the xml configuration
  3. Attempt to boot the system.

Error Logs

From Pixie16Msg.txt ``` (Pixie_InitSystem): Host computer speed (ns per cycle) = 2.000000 [Sat Nov 3 13:41:52 2018] *ERROR* (Pixie_InitSystem): Could not open PXI system initialization file P=^Y^B for reading [Sat Nov 3 13:41:52 2018] *ERROR* (Pixie16InitSystem): failed to initialize system, retval=-2 [Sat Nov 3 13:41:52 2018] ```
spaulaus commented 4 years ago

This seems to be an issue with the XIA API. I'm closing this as we won't fix it. I think XIA is working on a fix though.