Output tab (Advanced Mode)


This section describes the output task setting screen in Advanced mode.

 

 

①#Output

Indicates the task No.. You can create up to 100 types of task settings (0 to 99).

 

②Task name

You can set the task name.

 

③Device

You can select the device name registered in the device settings.

 

④Access type

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.
*After Init, even if you modify the text content of DncTextBox, it will not be reflected in DncDaq.

 

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.

 

⑥Source

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.

The reference destination of TaskValue differs depending on the output method.

Analog                :TaskValueFloat
AnalogBinary       :TaskValueInt
DigitalBit/Port      :TaskValueByte
DigitalOutBit/Port :TaskValueByte

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.
Please use this when you want to use the input value as the output value.

 

⑦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.

 

⑧Timing

Specifies when to output the data. In addition to the following items, you can select the contents set in the Timing settings.

Item

Description

Init

When the automatic initialization of InitMode is enabled, performs output when the application is started, and when it is disabled, perform output when Init is executed.

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

Exit

Performs output when exiting the application or executing the Exit method.

 

Priority

When executing tasks at the same timing, specify the priority of each task number as 1-9.

If "-" is selected or the same priority is specified, it will not be specified.

Please refer to the following for the execution image.

 

⑩Enabled

You can select whether to enable/disable the output settings.