"No Mapping for the Unicode Character Exists in the Target Multi-Byte Code Page" Error

Updated Sep 4, 2023

Reported In

Other

TSMaster API

Issue Details

Previously, I could run the LabVIEW VI, which calls the TSMaster DLL, without any issue. After I install the security software, LabVIEW is no longer able to execute the VI correctly. Below is the error obtained upon running the LabVIEW VI, which calls the TSMaster DLL using the Call Library Function Node.
Screenshot 2023-08-11 103711.png
Labview
No mapping for the Unicode character exists in the target multi-byte code page.


I have tried to uninstall and reinstall the LabVIEW software, but it does not solve my issue. How should I solve this issue?

Solution

To solve the above issue, you could try to troubleshoot the issue first to identify the root cause. Below are the troubleshooting steps that you could try to work on:

  • Check the dump file generated when the error occurred. Identify the possible error that could lead to this error.
  • Check if the calling function specifies the parameter correctly.
  • Use another programming language software, such as Visual Studio, to call the DLL to verify whether an error occurred or not. This is to narrow down the issue to the DLL or LabVIEW itself.
  • Use another computer to run the exact same VI.


If the VI could be able to run in other programming language software and/or on another PC, the issue should lie under LabVIEW software. Try to uninstall and reinstall the LabVIEW software. If you encounter any issues during installation, please consider reformatting the PC as some of the files on the C disc have been corrupted. ​​​​​