05-21-2015 03:45 PM
Hello. I am getting a peculiar error. I have a PXIe-8100 where the line where I memset HWTimers[0].Name works every time, but when I run the same exact code on a PXIe-8840 I get the run-time error shown in the bottom of the second picture below. I have tried every possible method I can think of to set any value in this 40 char array, but I get the same run-time error every time on the 8840. Does anyone have any idea why this would happen?
05-22-2015 08:12 AM
Hmm, not sure why that's happening for you, but an alternate method for clearing your string is to simply write a Null (0x0) to the first index of the character string member.
HWTimers[0].Name = 0;