Hello,
After which dll call does the program crash? Does the program not crash if you remove that function? Do any of your dll functions execute correctly (or is there no way to check unless you call all of these functions)?
Watch (probe) the hAcqDesc values coming into each Call Library Function Node (are they still 0?), my suspicion is that Acquisition_GetNextSensor is not initializing HACQDESC properly, but without knowing how this dll works, it is hard to comment. By the way, you should pass Pos and hAcqDesc parameters to this function as Numeric Signed 32-bit Integers by Pointer to Value like you were doing before.
Best regards,
Shakhina P.
NI
It crashes after "Aquire Images" now I added another function"creat pixel correction map" it doesn't crash any more but keeps returning error code 7----acquisition descriptor invalid while all other dll nodes are returning 0.
the hAcqDesc vlaues are no longer but doesn't change when it is passed to another funtion.
Thank you very much for the help!
best regards!
kevin
Can a computer learn how to program?