This section describes the output task setting screen in Basic mode.
On this screen, you can set the timing to output data to the device and the data source to be linked.
①#Output
Indicates the task No.. You can create up to 100 types of task settings (0 to 99).
②Device
You can select the device name registered in the device settings.
Select how to output data from the device.
The items that can be selected differ depending on the device.
Item |
Target device |
Description |
Analog |
AIO device |
Specifies the analog output (voltage/current value) for each channel. |
AnalogBinary |
AIO device |
Specifies the analog output (binary value) for each channel. |
DigitalBit |
AIO device/DIO device |
Specifies the digital output in bits. |
DigitalPort |
AIO device/DIO device |
Specifies the digital output in port (8-bit unit). |
④OutCn/Bit/Port
Select the method for specifying the linkage unit specified in ③.
Item |
Description |
#input |
Enter using the input field on the right. |
DncTextBox |
Use the Text property of the DncTextBox that exists on the form. Please use it when the user wants to change the acquired data while the application is running. The Text property of DncTextBox is referenced when DncDaq Init
method is performed. |
At the time of input, it is possible to input numerical values such as "0" and "1", specify them separated by commas such as "0,1,3", and specify sequential numbers with hyphens such as "0-3".
For the contents that are permitted or prohibited, please refer to Input rule when specifying channel/bit/port.
Specifies the link source of the output data. The link source can be selected from the following.
Item |
Description |
Button |
Links the data of the Button control.(DigitalBit/Port, Only DigitalOutBit/Port can be selected) |
Lamp |
Links the data of Lamp control.(DigitalBit/Port, Only DigitalOutBit/Port can be selected) |
Label |
Links the data of the Label control. |
TextBox |
Links the data of the TextBox control. |
TrackBar |
Links the data of the TrackBar control. (Can only be selected for Analog, AnalogBinary, and Count) |
TaskValue |
Outputs
the value of the task. |
Volume |
Links the data of the Volume control. (Can only be selected for Analog, AnalogBinary, and Count) |
#IN-TaskValue |
Refers
to the TaskValue of the Input task. |
⑥Task No
It is enabled when "#IN-TaskValue" is selected at ⑤ Source.
Please specify the input task No. that stores the input data to be referenced.
*An error will occur if the input data and the data type specified in the output task are different.
Specifies when to output the data. In addition to the following items, you can select the contents set in the Timing settings.
Item |
Description |
Timer |
Specifies the cycle in 1 msec unit. |
Button |
Uses the Click event of the Button control. |
TrackBar_ValueChange |
Use the TrackBar control's ValueChange event. Displayed as a combination of [component name_valueChage]. For example, dncTrackBar01_valueChange Component name: dncTrackBar01 Fixed string: valueChange |
Volume_ValueChange |
Use the Volume control's ValueChange event. Displayed as a combination of [component name_valueChage]. For example, dncVolume01_valueChange Component name: dncVolume01 Fixed string: valueChange |
⑧Interval(ms)
It is enabled when "Timer" is selected for ⑦ Timing.
The data output cycle can be set in 1 msec unit.
⑨Enabled
You can select whether to enable/disable the output settings.