12/33
Sentech GigE Vision Camera StGigE SDK
Sample Guide Rev.1.00
Note: a) USE_FVAL is not defined as the default.
b) Based on the GenICam XML implementation in the camera, it may not have all PLC features.
1.13 PvPlcDelayerSample
This sample shows how to make the delay for the signal.
About 3 secounds delay for the signal in this sample.
1) Introduction
This sample help to understand how to use the PvPlcDelayerSample class.
This PvPlcDelayerSample class configures the Timer1 (Pulse Generator 0) and the Delayer to delay the signal
output to the TTL_OUT[0] about 3 seconds.
This sample has the monitoring feature for the output signal wave of TTL_OUT[0], but this feature does NOT work
for Sentech GigE cameras.
2)
Prerequisite
When use this sample:
The camera has to connect to the NIC, which is installed either the eBUS Universal Pro or the Optimal driver,
before use this sample.
3) Descriptions of the files
3.1 PvPlcDelayerSample.cpp
The source code file for emits 23 Hz signal wave pulse with Timer (Pulse Generator 0).
Delayer makes the delay for the input signal.
Please check the comments in this source code for the information, which is how to use this class.
NOTE: This sample is based on the Demonstrating the Rescaler tutorial in the Programmable Logic Controller
Reference Guide.
1.14 PvPlcRescalerSample
This sample shows how to use the rescaler and other PLC functions.
This sample has the monitoring feature for the output signal wave of TTL_OUT[0], but this feature does NOT work
for Sentech GigE cameras.
1) Introduction
This sample help to understand how to use the rescaler and other PLC functions.
PLC_rsl0 is rescale 36Hz signal into 3.6Hz signal.
Timer1 (Pulse Generator 0) generates 36Hz signal.
PLC_ctrl0 is turn on/off the rescaler.
LUT routes rescaler output signal to Q0 (TTL_OUT[0]).
NOTE: This sample is based on the Demonstrating the Rescaler tutorial in the Programmable Logic Controller
Reference Guide.