GitHub Examples crashing Labview
GitHub Examples crashing Labview
"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
Version: 21.0.1f2(64-bit)"
This happens for
PicoScope3000aExampleBlockAdvancedTrig
PicoScope3000aExampleBlockMSO
PicoScope3000aExampleRapidBlockBulkOverlapped
These work fine
PicoScope3000aExampleAWG
PicoScope3000aExampleETS
Any suggestions for troubleshooting would be appreciated.
Re: GitHub Examples crashing Labview
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.
Technical Specialist
Re: GitHub Examples crashing Labview
Re: GitHub Examples crashing Labview
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
Kind regards,
Rob