cronologic-de / xhptdc8_babel

Wrappers, Utilities and Examples for using the xHPTDC8 with various programming languages.
Mozilla Public License 2.0
0 stars 1 forks source link

pciDeviceOpen must be called before calling CardCleanupSetup() error #54

Open Bassem-Ramzy opened 2 years ago

Bassem-Ramzy commented 2 years ago

When running examples, we get:

cronologic xhptdc8_user_guide_example using driver: 0,0,9,22169

This is illustrating the usage of an xHPTDC8 examplary with internal triggeringDevice is busy, but opened
Error: CRONO_KERNEL_PciDeviceOpen must be called before calling CRONO_KERNEL_CardCleanupSetup()
Error: CRONO_KERNEL_PciDeviceOpen must be called before calling CRONO_KERNEL_CardCleanupSetup()
(null): Could not lock DMA ring buffer. Error 0xfffffffe - Status
Bassem-Ramzy commented 2 years ago

Corrected the message wording on crono_pci_linux

Bassem-Ramzy commented 2 years ago

After message fix, it became:

This is illustrating the usage of an xHPTDC8 examplary with internal triggeringDevice is busy, but opened
Error: CRONO_KERNEL_PciDeviceOpen must be called before calling CRONO_KERNEL_CardCleanupSetup()
Error: CRONO_KERNEL_PciDeviceOpen must be called before calling CRONO_KERNEL_DMASGBufLock()
(null): Could not lock DMA ring buffer. Error 0xfffffffe - Status