A performance degradation of 500000% is pretty surprising. In general, the C API for GPIB is at least as performant as the LabVIEW API. From the code you posted, I don't think we can pinpoint what's slowing down your system. It's not clear from the code what you're actually using to communicate with the devices - I'm assuming it's the NI-488.2 C API wrapped up in your custom GPIB class. It's possible that the bottleneck is in the implementation of that class. I noticed that the methods you're using to write and read all take a deviceId as an argument - where is that value (32256) coming from, and how is it being used inside those methods? Does the LabVIEW code to which you're comparing this also do all of the test result validation and logging that this code a
ppears to be doing?