StudentCV / PyPylon

pylon wrapper for Python
Other
5 stars 3 forks source link

Cannot establish IEEE1394 Transport Layer #10

Open susnjarp opened 6 years ago

susnjarp commented 6 years ago

Hi!

Thank you StudentCV for this wrapper. I have been struggling for days to built my own using SWIG but have not succeeded and then luckily I found this one. However, I still have a problem to make everything work. I am using Basler A102f camera using FireWire (IEEE 1394) for connection. When running this code

import pypylon.pylon as pylon
import sys;

tlfactory = pylon.TlFactory.GetInstance()

print(tlfactory)
ptl = tlfactory.CreateTl('BaslerUsb')
print(ptl)
detected_devices = ptl.EnumerateDevices()
print('%i devices detected:' % len(detected_devices))

I get till the end with printing out "0 devices detected". That's fine because I don't have a USB camera attached. But when I change the CreateTl argument to "Basler1394", which seems to be according to pylon SDK documentation, ptl is a 'NoneType' object and Error is returned.

Has anyone tried IEEE1394 cameras with pypylon and managed to run it successfully?

Thanks, Peter