GitHub Examples crashing Labview

Post your LabVIEW discussions here
Post Reply
engbrech
Newbie
Posts: 0
Joined: Thu Jun 09, 2016 7:45 pm

GitHub Examples crashing Labview

Post by engbrech »

I have been attempting to update the dll drivers on my computer as well as move to a new scope in the 3000 series. When trying to run some of the examples Labview (2021) crashes with the following message.

"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.

AndrewA
PICO STAFF
PICO STAFF
Posts: 409
Joined: Tue Oct 21, 2014 3:07 pm

Re: GitHub Examples crashing Labview

Post by AndrewA »

I have been looking at this and a streaming issue this week, I think I have found the main cause of the problem.
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.
Regards Andrew
Technical Specialist

engbrech
Newbie
Posts: 0
Joined: Thu Jun 09, 2016 7:45 pm

Re: GitHub Examples crashing Labview

Post by engbrech »

Thanks! I'll be ready to test it when you have it ready.

RobSME
Newbie
Posts: 0
Joined: Wed Aug 16, 2023 8:00 am

Re: GitHub Examples crashing Labview

Post by RobSME »

Hi engbrech,

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
Hope this is of use to you.

Kind regards,

Rob

engbrech
Newbie
Posts: 0
Joined: Thu Jun 09, 2016 7:45 pm

Re: GitHub Examples crashing Labview

Post by engbrech »

I'm wondering if there is an update on this issue. I do not yet see any updates to the uploads on Github. Thanks for your help.

Post Reply