11-14-2015 05:23 PM
The API I'm reading describes the event handler as taking (object sender, ProprietaryEventData eventArgs). The ProprietaryEventData is a combination of DateTime, GUID, two ENUMs, a long integer, and a string containing a message. I read that "LabVIEW can't handle raw delegates". Is this one of those times? Will I have to write some kind of wrapper to make these events more LV friendly? What would that look like?
11-15-2015 01:18 PM
@ijustlovemath wrote:
The API I'm reading describes the event handler as taking (object sender, ProprietaryEventData eventArgs). The ProprietaryEventData is a combination of DateTime, GUID, two ENUMs, a long integer, and a string containing a message. I read that "LabVIEW can't handle raw delegates". Is this one of those times? Will I have to write some kind of wrapper to make these events more LV friendly? What would that look like?
No, No, and No in that order. Have a look at your previous question regarding setting up an event handler via the "Callback" mechanism in LabVIEW. Once you have the ProprietaryEventData object you can take apart the (presumably) properties of the object to get the data you seek.