Breadcrumbs

get_daq_status()

Features

This is the command to check the DAQ connection status.

To run this DRL, the following steps are required:

  1. Run app_weld_enable_analog(...) or app_weld_enable_digital() DRL

  2. Run arc_sensing_enable(...) DRL

Parameter

Parameter Name

Data Type

Default Value

Description





Return

Value

Description

0

Connection fail with DAQ device

1

Connection success with DAQ device

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data error

DR_Error (DR_ERROR_VALUE)

Invalid parameter value

DR_Error (DR_ERROR_RUNTIME)

C Extension module error

DR_Error (DR_ERROR_STOP)

Program terminated forcibly

Example

Python
ret = get_daq_status()
if ret == 1:
print("DAQ connection success")
elif ret == 0:
print("DAQ connection fail")