beautypg.com

Daqonline – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 272

background image

4.5-42 Daq API Command Reference

908794

Programmer’s

Manual


daqOnline

Also See: daqOpen, daqClose

Format

daqOnline(handle, online)

Purpose

daqOnline

determines if a device is online.

Parameter Summary

Parameter Type

Description

handle DaqHandleT Handle of the device to test for online
online PBOOL

Boolean indicating whether the device is currently online

Parameter Values

handle:

obtained from the daqOpen function

online:

a pointer to a boolean value; values are either true (

≠ 0) or false ( = 0)

Returns

DerrNoError

No

error

Function Usage

The handle parameter for this function must be a valid device handle which has been opened using the daqOpen

function. The online parameter indicates the current online state of the device (true = device online;
false

= device not online).

Prototypes

C/C++

daqOnline(DaqHandleT handle, PBOOL online);

Visual BASIC

VBdaqOnline&(ByVal handle&, online&)

Program References

None