I'm VB.Net programmer stuck with some C# code:
public void LatestReadingUpdated(DeviceInfo info, Renishaw.Calibration.Laser.LaserReading value)
{
UpdateReading(value);
}
The function above is called regularly but nowhere in the code can I find where it is called.
The C++ program is monitoring a laser, data from which is fed back to the program via a USB connection.
The C++ contains references to many dlls relating to the laser.
The code opens a connection to the laser - how this is done is embedded in the one of the dlls.
Could this function be called via this open channel?
Many thanks
Kristian
Kristian BenningPosted Aug 27, 2013, 4:08 AM
"LatestReadingUpdated" only appears once in the whole project when doing a "Find" for that string. The only occurance is shown in my previous post.
I'm guessing that I would be able to find it more than once if it was being called by a timer or loop which is why I can only think that it is being triggered externally by the USB control box for the laser - does that sound plausable?
Thanks
Kristian
Arpit JainPosted Aug 25, 2013, 11:30 AM