Shrediquette / PIVlab

Particle Image Velocimetry for Matlab, official repository
https://shrediquette.github.io/PIVlab/
MIT License
133 stars 33 forks source link

Disconnect after saving images during PIV measurement #97

Closed victorVDLETG closed 10 months ago

victorVDLETG commented 10 months ago

Hi All,

Every time I perform a PIV measurement the PIVlab program disconnects form the hardware after the measurement. After disconnecting I need to set my camera to the correct aperture and focusing position. I am fed up by this way of working does anyone have a solution to this problem?

Kind regards,

Victor de Bar

Shrediquette commented 10 months ago

Dear Victor, what version of PIVlab are you using?

victorVDLETG commented 10 months ago

Hi William,

I am using Pivlab 2.63. Furthermore, I connected the setup to a USB hub to extend the USB 3.0 cable for safety reasons. I don’t know if this would have and effect on the connection.

Kind regards,

Victor de Bar

From: William Thielicke @.> Sent: Tuesday, November 14, 2023 10:51 AM To: Shrediquette/PIVlab @.> Cc: Bar, Victor de @.>; Author @.> Subject: [EXTERNAL] Re: [Shrediquette/PIVlab] Disconnect after saving images during PIV measurement (Issue #97)

CAUTION! This email originated from outside VDL. Do not click links or open attachments unless you recognize the sender and know the content is safe. The Original Sender of this email is @.**@.>


Dear Victor, what version of PIVlab are you using?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Shrediquette/PIVlab/issues/97*issuecomment-1809877250__;Iw!!NSWAy2wZ!487c-AeSXw9GeOV_R10TULnGP74PdPR4l57oScYYyolNOKmwNkoMojvTpygF8h7cNnItFltGEj1QX3ermnywkLfr7okH$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BD6OJRWQ2RSZKDD74ABBKM3YEM5HVAVCNFSM6AAAAAA7KQEW2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZHA3TOMRVGA__;!!NSWAy2wZ!487c-AeSXw9GeOV_R10TULnGP74PdPR4l57oScYYyolNOKmwNkoMojvTpygF8h7cNnItFltGEj1QX3ermnywkL9ynWtM$. You are receiving this because you authored the thread.Message ID: @.**@.>>


The information contained in this message may be confidential and legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. Thank you.

Shrediquette commented 10 months ago

Using a hub is most likely a potettial cause of error: The camera needs all the bandwidth of the USB 3.0 hardware, and therefore it should be connected directly to a physical port. Is the camera disconnecting or the synchronizer / dongle or both?

victorVDLETG commented 10 months ago

I did not know that this USB hub would create a problem. Both the camera and synchronizer gets disconnected after a measurement.

Shrediquette commented 10 months ago

Then I think the Hub is the issue. Could you please try without hub? Hubs exist in many qualities, and there might be some that work. But the safest approach would be to not use a hub.

victorVDLETG commented 10 months ago

I have not tried it without the hub. What I found is that when I take some time before clicking any button in PIVlab the connection holds. Very strange...

Shrediquette commented 10 months ago

Could you test it anyway please? If the reason is the hub, then the behavior would make sense: You are less likely overloading the USB connection when you wait a bit.

victorVDLETG commented 10 months ago

Yes I will try the system without the USB hub next time I am going to do measurements. Thank you for the fast response.

Ps: Overall I like the system it is easy to learn and straight forward. I have performed flow measurements that have led to crucial mechanical design input for a module that we are developing!

From: William Thielicke @.> Sent: dinsdag 14 november 2023 15:03 To: Shrediquette/PIVlab @.> Cc: Bar, Victor de @.>; Author @.> Subject: [EXTERNAL] Re: [Shrediquette/PIVlab] Disconnect after saving images during PIV measurement (Issue #97)

CAUTION! This email originated from outside VDL. Do not click links or open attachments unless you recognize the sender and know the content is safe. The Original Sender of this email is @.**@.>


Could you test it anyway please? If the reason is the hub, then the behavior would make sense: You are less likely overloading the USB connection when you wait a bit.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Shrediquette/PIVlab/issues/97*issuecomment-1810265087__;Iw!!NSWAy2wZ!7JWOMYgvCD2e6WjmDwW3bVl6LJSA-ivHRnzeOLdCp4nGxM8LbHUmZnNc1fUbagqZYwLNA0Z4zWc1VfQn9IgQ4FXdcUfo$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BD6OJRWUVDAO7IJLVW7EQHLYEN22NAVCNFSM6AAAAAA7KQEW2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQGI3DKMBYG4__;!!NSWAy2wZ!7JWOMYgvCD2e6WjmDwW3bVl6LJSA-ivHRnzeOLdCp4nGxM8LbHUmZnNc1fUbagqZYwLNA0Z4zWc1VfQn9IgQ4AIcrWv6$. You are receiving this because you authored the thread.Message ID: @.**@.>>


The information contained in this message may be confidential and legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. Thank you.

Shrediquette commented 10 months ago

Ok, this would be great. Also good to hear that you like the system. And don't forget: If there are things that you are missing e.g. in the software or something is not working as expected, then please tell us. We are continuously improving the system, and we are always happy if we get additional input from our customers!

victorVDLETG commented 10 months ago

At the top of my mind I have two things.

For use it would be useful to move folders to a central computer hub and open a session. Now I have to compute the whole analyses again when moving a folder.

If I encounter other issues or inconveniences I will let you know.

From: William Thielicke @.> Sent: woensdag 15 november 2023 09:45 To: Shrediquette/PIVlab @.> Cc: Bar, Victor de @.>; Author @.> Subject: [EXTERNAL] Re: [Shrediquette/PIVlab] Disconnect after saving images during PIV measurement (Issue #97)

CAUTION! This email originated from outside VDL. Do not click links or open attachments unless you recognize the sender and know the content is safe. The Original Sender of this email is @.**@.>


Ok, this would be great. Also good to hear that you like the system. And don't forget: If there are things that you are missing e.g. in the software or something is not working as expected, then please tell us. We are continuously improving the system, and we are always happy if we get additional input from our customers!

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Shrediquette/PIVlab/issues/97*issuecomment-1812027696__;Iw!!NSWAy2wZ!8Exnx_CwfuQ-xmnh5Pt45rQJvZtOQTjgRpiSww0eL4yNnRqjLsulinT3bbc7ESlTxcgYQ_5UIWwzn2r5Nc5bmBtNHBlj$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BD6OJRSO7J7KOER5NFDAHK3YER6IZAVCNFSM6AAAAAA7KQEW2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSGAZDONRZGY__;!!NSWAy2wZ!8Exnx_CwfuQ-xmnh5Pt45rQJvZtOQTjgRpiSww0eL4yNnRqjLsulinT3bbc7ESlTxcgYQ_5UIWwzn2r5Nc5bmNf3H4sV$. You are receiving this because you authored the thread.Message ID: @.**@.>>


The information contained in this message may be confidential and legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. Thank you.

Shrediquette commented 10 months ago

Hi Victor, thanks for the input, I added two issues here in GitHub and will work on this soon. I am currently working on an update that enhances the graphical output of PIVlab, using transparency etc.

victorVDLETG commented 10 months ago

Great to hear!

From: William Thielicke @.> Sent: donderdag 16 november 2023 07:13 To: Shrediquette/PIVlab @.> Cc: Bar, Victor de @.>; Author @.> Subject: [EXTERNAL] Re: [Shrediquette/PIVlab] Disconnect after saving images during PIV measurement (Issue #97)

CAUTION! This email originated from outside VDL. Do not click links or open attachments unless you recognize the sender and know the content is safe. The Original Sender of this email is @.**@.>


Hi Victor, thanks for the input, I added two issues here in GitHub and will work on this soon. I am currently working on an update that enhances the graphical output of PIVlab, using transparency etc.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Shrediquette/PIVlab/issues/97*issuecomment-1813845832__;Iw!!NSWAy2wZ!6dSr49w89NACBwQL4sKls5izkmPVXAR82oGwTm448tsNeg-Wh1F7DOlWnPVDATLp-98SGY05_gUlv5hEk_-z4iPQfIQv$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BD6OJRUXJO6P6C2YQKSZVUDYEWVF3AVCNFSM6AAAAAA7KQEW2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTHA2DKOBTGI__;!!NSWAy2wZ!6dSr49w89NACBwQL4sKls5izkmPVXAR82oGwTm448tsNeg-Wh1F7DOlWnPVDATLp-98SGY05_gUlv5hEk_-z4idCdwh_$. You are receiving this because you authored the thread.Message ID: @.**@.>>


The information contained in this message may be confidential and legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. Thank you.