Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How and where to set the timeout for “IMAQdx Property Node“

Q: How and where to set the timeout for “IMAQdx Property Node“

 

IMAQdx timeout can be set in the Measurement & Automation or in the program with “IMAQdx Property Node“

 

 

max.JPG

 

 

timeout set

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IMAQdx has a Timeout but this timeout is NOT used for the “IMAQdx Property Node“

 

I found out that the timeout for “IMAQdx Property Node“ is about 26 seconds.

This timeout is set somewhere.
- Is it set in Labview somewhere ?
- Is it set somewhere in windows XP SP3 ?  Hopefully in registry.

 

So this is a question for the Labview developers:
 - Where does the “IMAQdx Property Node“ get its timeout from ?
 - Why is the IMAQdx timeout not used for the “IMAQdx Property Node“?

 

I need to know while my application hangs for 26 seconds at the “IMAQdx Property Node“  when a camera is lost.

 

I use Basler Scout 1400-30gm (GigE)
Labview 8.6
NI-Vision 8.6
NI-IMAQdx 3.2
NI-IMAQ 4.1

See program I use and Word document

 

 

Hopeful someone can help me.

 

With kind regards,

Toine Roetman

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 3
(3,335 Views)

The "Timeout" parameter refers only to the acquisiton timeout (how long you will wait for an image before returning an error). It does not affect the timeout used for register read/writes which are used if you are controlling a feature on the camera. Currently this particular feature is not designed to be user configurable at runtime. I think by default it tries up to several times with a 5 second timeout (corresponding to what you are seeing). There is also an independent heartbeat timeout that will also cause the camera to be removed if it stops responding (which will also cause errors when you try to access a camera property).

 

You can try modifying the timeout used on individual register operations here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\niimaqdxk\Parameters\AsyncTransferTimeout

 

as well as the number of retries attempted here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\niimaqdxk\Parameters\AsyncTransferRetryCount

 

Eric 

 

0 Kudos
Message 2 of 3
(3,265 Views)

Hello Eric,

 

What if the path in registry is not there? I can not find anything that is even similar to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\niimaqdxk\Parameters\

Any help would be greatly appreciated. 

0 Kudos
Message 3 of 3
(507 Views)