LabView crashes when calling DLL functions

LabView crashes when calling DLL functions
« on: June 08, 2018, 11:11:30 am »

I am using a QHY165C camera, and I want to be able to take single captures from LabView. I tried adapting the a structure in the sample demo VI to make my own VI, but I find that LabView crashes a lot when trying to call these functions. I noticed that the example I was basing off of used 64-bit LabView, but I only have 32-bit LabView. I did convert all the 64-bit integers in the program to 32-bit to account for that, but is that not enough?

Do you know why I might be seeing these crashes? I've attached a rough VI for reference.

Thank you!
Krunal Patel