NI-TClk Error -250032: Invalid Session(s)

Updated Jan 17, 2025

Reported In

Hardware

  • PXIe-5841

Driver

  • NI-TClk

Programming Language

  • Visual Basic

Issue Details

I am receiving NI-TClk errors about invalid session(s).

  • Using Visual Basic code on a test system, suddenly I am getting NI-TClk errors about invalid session(s). That happen when I use the function nitclk.configureForHomogeneousTriggers function. Traced into code and appears that sessions are populating correctly. 
  • On other case, I was using my software with references to NI TClock, and I am getting the error: ModularInstruments.NITClock: The specified session is invalid

What can I do?

Solution

To solve this issue you can try the next steps:
  • Verify the device is visible and accessible on NI MAX
  • Reset the NI-MAX Database (see Related Links section)
  • Try changing the card to another slot
  • Check wiring
  • Use NI IO Trace to get traces and identify possible error causes
If the issue persists, contact NI Technical Support.