FlexRIO API Reference

niFlexRIO_GetSessionReference

  • Updated2025-11-22
  • 1 minute(s) read

niFlexRIO_GetSessionReference

FlexRIO_Status niFlexRIO_GetSessionReference(NiFpga_Session session, ViSession* sessionReference);

Purpose

Outputs a session reference that you can use to identify this session in calls to the NI-TClk API.

Parameters

Input
Name Type Description
session NiFpga_Session Specifies the reference to the currently open NiFpga session.
Output
sessionReference ViSession* Identifies this session. Use this session reference in calls to the NI-TClk API.

Return Value

Name Type Description
returnValue FlexRIO_Status Reports the status of this operation. To obtain a text description of the status code, call niFlexRIO_GetError. The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors