Ah, a bit more complex as it is a callback method called from a 
plugin/component. I guess QPix?

Are you sure the event constants are the correct ones?

: ($event=imageSaved)
: ($event=resolution) 
: ($event=pixelFormat) 

I've never used this plugin, but in the online manual I found qpx_AcqImgeSaved, 
qpx_AcqSetupResolution as event kind param constants.

You might be checking invalid events where the eventInfoParam is not the 
expected value.

HTH
KOne

> Op 2 jun. 2020, om 11:08 heeft nisshaa2004 via 4D_Tech <4d_tech@lists.4d.com> 
> het volgende geschreven:
> 
> Thanks Koen for the reply
> 
> 
> 
>       $err:=QPx_AcqRunSession
> ($protocol;$deviceName;$options;"IMG_ACQ_LAB_SESSION_HANDLER")
> 
> IMG_ACQ_LAB_SESSION_HANDLER // This is the method that has the error
> 
> 
> QPx_AcqRunSession this method takes in the following parameters.
> 
> Input parameter       acqProtocol     LONGINT Acquisition protocol ID
> Input parameter       deviceName      TEXT    Device name
> Input parameter       sessionOptions  LONGINT Acquisition options
> Input parameter       eventHandler    TEXT    Event handler method name
> 
> 
> IMG_ACQ_LAB_SESSION_HANDLER // This is the Event handler method name
> 
> 
> Thanks & Regards,
> Nisha
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************



--------------------
Compass bv
Koen Van Hooreweghe
Kloosterstraat 65
9910 Aalter
Belgium
tel +32 495 511.653

**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to