05-17-2019 01:31 AM
Recently I used USB-8502 to realize the functions as goeple CAN 6153. You can use Goeple CAN 6153 to change different transmit mode easily, such as cyclic mode, single mode. But when I tried to use function "nxdbSetProperty((l_pFrameRefs, nxPropFrm_CANTimingType, (u32)sizeof(u32), &CyclicType))" on the fly to change cyclic type from cyclic to single, there is an error "NI-XNET: (Hex 0xBFF6314F) Database object is locked because it is used in a session. Solution: Configure the database before using it in a session."
It seems that I should to clear the session I'm using or even the database and then rebuild them. But that's not suitable for us and will cause lost communcation between DUT and NI-CAN 8502. Do you have any idea for that?
05-23-2019 03:25 AM
Hi,
From your error "NI-XNET: (Hex 0xBFF6314F) Database object is locked because it is used in a session. Solution: Configure the database before using it in a session."
I found this forum post: https://forums.ni.com/t5/Automotive-and-Embedded-Networks/XNET-Signal-output-erases-some-signals-in-...