Recording Video of an Event

asked 2019-08-16 10:31:49 -0500

Hello,

I am a test engineer and I am performing a continuous test on a product. I am reading a parameter of the product from a sensor and when that parameter is within a certain range the test fails.

It test has been failing only at night when no one is around.

I want to setup a camera to record the failure event. I would like to use some kind of USB camera and continuously record video and save video ONLY when the event occurs. In other words, save the video 5 seconds before the event until 5 seconds after the event.

I want to create a Python script to do this. Is are there any tutorials for how accomplish this? Thank you!

Currently for the test, I am using a programming language called LabVIEW to automate the test. My plan is to create this video recording python script and then use LabVIEW to call this script.

edit retag flag offensive close merge delete