Usually, the camera is operated in the “Start on Dewesoft trigger” mode, using a Dewesoft Counter input for highest precision.
- Dewesoft measurement instrument
- PHOTRON highspeed camera (e.g. FASTCAM Mini UX100, 10 000 fps @ 896 x 488)
- 1 free Ethernet port on computer
- 1 Dewesoft Counter input
- an additional light source
The example below shows a PHOTRON camera (connected over Ethernet) and a DEWE-43 (connected over USB to the notebook). The accelerometer (blue cable) is used to measure the hit of the fingertip, this is also the trigger. The camera puts out a start pulse on the TRIG_TTL_OUT port, which is measured back on one of the Counter inputs of the DEWE-43.
In the photo below, you can see the high speed camera with Dewesoft data acquisition instrument (DEWE-43).
DEWE-43 to PHOTRON connection in detail:
Windows network configuration
Please enter the Control Panel, go to the Network Connections and right-click on the Port, where your Photron camera is connected to. Go to Properties and select the TCP/IPv4 protocol. Depending on the model the default IP address is usually:
- camera IP: 192.168.0.10 –> set computer to 192.168.0.XXX. If connection cannot be established, please try:
- camera IP: 192.168.10.0 –> set computer to 192.168.10.XXX
The subnet is always 255.255.255.0. This is the default for the currently available cameras. Please refer to the Photron camera manual for further information about default IP address. Please enter
Camera IP reset (factory default)
In case you have troubles connecting to the camera, you can try to set it to factory default by the following routine:
- Press and hold the RESET switch at the camera’s back side.
- All of the LEDs on the camera’s back side light, then they turn off sequentially from right to left. At the end all LEDs together blink twice, then stay on. This takes several seconds, hold the button pressed all the time.
- Then reboot the camera. The IP address is reset to the factory setting.
Photron FASTCAM Viewer
For checking the network connection (and changing the camera settings), you can use the previously installed Photron FASTCAM Viewer to get a live picture. Please enter the IP address mask as shown above, then click Detect, an auto-search will be performed. Alternatively click File → Camera open.
Camera TRIG_TTL_OUT pulse duration
When using the “Start on Dewesoft trigger” option inside Dewesoft, Dewesoft does the synchronisation based on the first frame captured by the camera. In the Photron FASTCAM Viewer, please go to Camera Option and increase the pulse output time from 100 nsec (default) to 100 usec, in order to guarantee a proper triggering under any circumstances.
Setup in Dewesoft
During installation, we have copied Photron.ini into the Dewesoft X Addons folder (e.g. D:\Dewesoft\Bin\X2\Addons\). This file contains the interface type and IP address of the camera, please set it accordingly.
Enabling the camera
In Dewesoft X go to Settings → Settings → Devices, click the “+” button and add the “Photron FastCam”.
The Photron FastCam camera is successfully found.
When you click on the camera, you should be able to see the model and it's IP address.
There are three different types of camera trigger:
Store on Dewesoft trigger
This is the most common used wiring. The software triggers even on complex trigger conditions on analog input, and sends the start impulse over Ethernet. The camera sends a pulse, when the first frame is recorded, this is measured back with the very accurate Dewesoft super-counters (102 MHz timebase) for synchronisation.
Store on external trigger
If the camera is triggered with external trigger, then the same signal can also be used for synchronization.
Store on start of acquisition
The camera will start with the beginning of data recording (streaming). This is of less practical usage, because depending on the framerate, measurement duration and camera onboard memory, the acquisition time is limited.
Store on Dewesoft trigger - example
For connection example we want to acquire both analog and video data of a hit of an accelerometer with the fingertip.
The analog input sampling rate we set to 200 kS/s (this does not affect the 102 MHz counter sampling rate).
We enter the channel setup to get a preview of the signal and check the appropriate trigger level.
In the picture below, there is an example of signal when knocking with a finger on the sensor.
If the Counter section is not visible in first place, please add them with the plus button from top. The Counter is set to “Event Counting” → “Basic Event Counting” by default, which is ok. Please enable the button on the left of e.g. “CNT1/IN0”.
The trigger setup looks like shown below. We select “fast on trigger”, rising edge with a level of 1g. The pre-time is 100ms, post time 500ms. Dewesoft supports complex trigger conditions, such as simple edge, filtered edge, window, pulse width, slope, delta amplitude, … as well as any logical combination on any analog / digital / math channel.
In the video setup, you can see all available cameras. Set the camera to “Used”, then enter the Setup.
The screen on the next page shows the “Trigger setup” and the “Camera settings”, as well as a live preview for adjusting the setup (focus, light source etc).
Here you can set Resolution, Frame rate, Shutter speed and Sensor gain (if the camera supports hardware sensor gain) parameters. You can also calibrate the camera sensor here. The options depend on the camera model in use and also from each other. For example, if you increase the frame rate, the shutter time will be limited.
The camera settings are applied to the camera as soon as something is changed, so the preview is always up to date with current settings.
Please select the Counter and adjust the level to 0.5, as this is a digital channel (0 to 1). When the camera is started over Ethernet, depending on system load and operating system there will be a delay to the storing trigger. This is usually around 50...100ms (in the example below around 70ms, red line). Therefore, we have to set the camera buffer a little bit higher to capture the whole time window.
Camera sensor calibration
Each camera comes with two sensor calibration files. Here is an example how the calibration files are named (e.g. for FastCam 1024 PCI):
If you copy these files from the Photron CD to Dewesoft Addons folder, they will be used automatically. Files are optimized for 1000 fps frame rate and picture will not be optimal when other frame rates are selected. If you do not have these files or factory calibration data is not satisfying or for any other reason the picture is grainy and/or contains fixed shading pattern, you have to calibrate the sensor to get a better picture. You can do that by selecting “Calibrate camera sensor” from Custom setup and press the “Set” button. The Calibrate camera window will pop up. Just follow the instructions (Close camera lens and then press OK) and the sensor will get calibrated.
In the picture below, there is a picture from the camera before (left) and after (right) calibration.
After the measurement, Dewesoft will show the whole recorded video data. You can navigate without noticable delay, however, it is only accessing the camera onboard memory. If you have verified the data to be good, you can finally download the video file to the computer. This can take from minutes to hours, depending on the file size.
Slow motion replay
Adjust the playback speed with a simple click on the double arrows in Analysis mode.
Example data file
The example below shows the explosion of the firecracker.
Frequently asked question
Camera not detected in PFV
Camera model type not checked in PFV device list:
In Photron FASTCAM Viewer, go to Configuration and select all camera models from the Device List. Now it will search for all of them.
Try connecting multiple times
Sometimes when connecting with PFV, the camera is not found in the first place. Please try again several times.
Disable Windows firewall, disable anti-virus, check IP, reset camera to factory defaults.