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
[ ] The XIA API can find the specified pxisys.ini file.
[ ] Provided additional tests to ensure that this error doesn't occur (?)
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
Ensure that you connected the Pixie16 hardware to the system.
Using poll2 v4+ provide a valid pxisys.ini file in the xml configuration
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]
```
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
Steps to Reproduce
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] ```