LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gige ethernet camera lost its connection while running

Dear All,

 

I am using a Gige ethernet camera for triggered acquisition.I need to achieve a network speed of 1Gbps with 9000 maximum packet size for my application. But sometimes this network speed drops down to100Mbps with 1450 packet size due to noise and some other artifacts which leads to  lost camera connection from system.To again get camera in connection I need to close the application and restart it .Sometimes I close the application and reconnect the ethernet cable to get camera properly connected with the system.

 

As I cannot completely get rid of noise and other interefrence I want to connect and configure a disconnected camera in run time.So on error of device connection lost I tried using IMAQdX unconfigure acquisition.vi and IMAQdX configure acquisition.vi but it was of no use.Then I tried to close camera connection first and repeated whole the procedure of opening and configuring the camera but everything done was of no use.

 

Please suggest me any solution to this problem.

 

 

Thank You

Anagha

0 Kudos
Message 1 of 4
(3,111 Views)
Hi Anagha.G,

It's not only with ethernet, infact with every other camera/hardware.
Whenever u open a device during starting phase, the labview gets hold of the device driver.
If the device is not properly closed for some reason during some processing, the device handle will be locked and labview will not be able to get hold of device back.
For that to happen, i think the probabilistic solution is only close labview which is using the device and restart the code.
May be try, not only unconfiguring but also close the connection and try reopening during an error and check (may work).
Thanks
uday
0 Kudos
Message 2 of 4
(3,105 Views)

Dear Uday,

 

Thank you ! My application is running in production industry where I really cannot apply this solution of closing and reopening LabVIEW.

 

This is what i wrote in my query that I need to close the application and rerun it to get a camera connected. I want to get a disconnected camera in system without closing my application software.

 

Anagha

0 Kudos
Message 3 of 4
(3,100 Views)
What about the other method, in which u close the device in the code and trying to reopen the device (Not Labview !!!)
Thanks
uday
0 Kudos
Message 4 of 4
(3,098 Views)