GigeVision icon indicating copy to clipboard operation
GigeVision copied to clipboard

Unable to pull ExposureTime value

Open Zimo opened this issue 7 months ago • 4 comments

I was able to get some camera properties like ExposureMode, but could not get the ExposureTime

Zimo avatar Aug 08 '25 20:08 Zimo

Is it available in the genicam XML?

Touseefelahi avatar Aug 10 '25 06:08 Touseefelahi

Hello,

Yes, the ExposureTime parameter is included in the camera’s XML file and is standard across all GigE cameras:

<IntReg Name="ExposureTime_Val"><Address>0x000C1004</Address><Length>4</Length>

I was able to retrieve the exposure value using ReadRegisterAsync. However, I’m concerned that the register address might vary between camera models or change with firmware updates.

Dim et = Await cam.Gvcp.ReadRegisterAsync(cam.IP, "000C1004")

Zimo avatar Aug 11 '25 14:08 Zimo

I am not sure if exposure time is standard across all GigE cameras. If you're sure it is standard then you can keep the fix register address it shouldn't be an issue, but if it is not standard then the register will most likely to change if you change the camera (specially if it is from different manufacturer). I am not sure why it is not getting the register name and address in the dictionary.

Touseefelahi avatar Aug 12 '25 05:08 Touseefelahi

Hello,

I finally was able to load the ExposureTime using the property name "ExposureValue". For the gain, I had to use the name "GainRaw". That was with the Allied Vision Mako G 507C. Now I need to test with other brands.

Dim exposure As Double = 0 Dim exposureParam = Await cam.GetParameterValue("ExposureValue").ConfigureAwait(False) If (exposureParam.HasValue) Then exposure = exposureParam.Value End If

Zimo avatar Aug 12 '25 18:08 Zimo