This guide applies to the LabVIEW code created using Time Tagger software older than v2.4.0. Generally, the structure of the TimeTagger API remained practically the same except for a few minor changes. The LabVIEW code still uses .NET libraries to operate the Time Tagger, but we have changed how these libraries are located on user systems and how LabVIEW finds them. Earlier, you had to copy some DLL files to your project directory and point LabVIEW to their location.
Now, these libraries are installed and registered system-wide such that any program using them can locate them quickly using the .NET class registry. This simplifies a few things:
What needs to be done to adapt your code to the new Time Tagger software:
Delete copies of the old Time Tagger DLL files you may have copied to your projects.
The DLL is now registered system-wide (in the Global Assembly Cache), and you will need to tell LabVIEW about that. LabVIEW is not able to find and match these files automatically. You will have to open every VI that contains a .NET class constructor node and select the correct class in the “Select .NET Constructor” window.
Choose the assembly called “SwabianInstruments.TimeTagger”.
In case you use the TimeTagStream class, you have to adjust your code because the getData() method returns an instance of the TimeTagStreamBuffer object, which has methods to get timestamps, channel numbers, overflows, etc.