Hello
right now I can read nodes from a camera with the following code:
device_node_map=device.node_maps[“Device”]
print (str(device_node_map[“ExposureTime”]
I wonder how I can set a value?
Does anybody has an advice? Thanks a lot
Michael
Hello
right now I can read nodes from a camera with the following code:
device_node_map=device.node_maps[“Device”]
print (str(device_node_map[“ExposureTime”]
I wonder how I can set a value?
Does anybody has an advice? Thanks a lot
Michael
This should do the trick:
device_node_map = device.node_maps['Device']
exposure_time = device_node_map['ExposureTime']
exposure_time.value = 20000.0
Or even shorter for feature nodes:
device_nodes = device.node_maps['Device']
device_nodes.ExposureTime.value = 20000.0
Worked really well.
Thanks for your advice
Hi everyone
When trying:
device_node_map = device.node_maps[‘Device’]
exposure_time = device_node_map[‘ExposureTime’]
I get:
Process finished with exit code -1073740791 (0xC0000409)
Working on windows 10 64bit
CVBpy version: CVBpy-v0.9.0.build-265.rev-2949+ Release vc14 @ x64 & CVB+±v1.0.0.build-222.rev-2963+ & CVB-v13.00.006
I can load the camera device and read images in.
Any sugestions?
Thank you,
gtg
Problem solved with installation of the latest release CVB 13.01.
Great timing!
Thanks
Good to hear, thanks for the feed-back!