There is no function or property node that directly outputs the current XNET database file path.
One workaround is to use XNET Database Get List VI and match with XNET alias name from the returned array of alias and find the corresponding file path from the array of the file path. Note:
This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
This workaround uses XNET Database Get List VI it is supported on Windows only. LabVIEW RT database deployments are managed remotely from Windows. Refer to the VI Help
for further information.