"We apologize for the inconvenience
You can help us diagnose and fix this problem by sending this report directly to NI.
Exception:Access violation (0xC0000005) at EIP=0x00007FF9D64533A8
This happens for
These work fine
Any suggestions for troubleshooting would be appreciated.
It relates to how the buffer vis with the LabVIEW library functions are called (DSNewPtr etc), and affect other examples too.
I will do more testing before pushing any code changes.
I was experiencing similar crashes to you with the Fast Streaming Example, when running as a SubVI in my Main (running LabVIEW Q3 2022 64 bit).
I'm by far no expert in LabVIEW, but after tinkering for far too long, managed to stop the crashes.
I changed/added the following:
- Changed the Calling Convention to C for the Call Library Function Nodes
- Added the TDMS FLush Function before Close TDMS
- Added Merge Errors to wait on the errors from PS2000 Close, and from the TDMS Close