I suspect that there is a mismatch between pipe-related function prototypes and LabView library provided with software release since both ReadFromPipeOut and ReadFromBlockPipeOut prototypes seem to be missing
some of the parameters such as length and blocksize. My Opal Kelly XEM3005 package came with the ReadFromPipeOut API and I created my own ReadFromBlockPipeOut API from the prototype but neither VI shows terminals other than epAddr and return value.
If I try to execute them nonetheless, I get following error message before Labview crashes down:
"Error 1097 occurred at Call Library Function Node in
okUsbFrontPanel_ReadFromBlockPipeOut.vi->PipeTest.vi
Possible reason(s):
LabVIEW: An exception occurred within the external code called by a
Call Library Function Node. The exception may have corrupted LabVIEW’s
memory. Save any work to a new location and restart LabVIEW."
Has anyone successfully implemented this functionality? I would appreciate any help I can get.
Thanks,
Piyush