The microDAQX Public Programming Interface Sample Clauses
The microDAQX Public Programming Interface. 29 1 Quick Start (Ethernet)
The microDAQX Public Programming Interface. Table 5.1 lists the available properties and methods of the public interface offered by an instance of microDAQX. Close an instance of microDAQX Public Sub KillForm() None None Load a setup for the instance Public Function LoadedSetupOK(x$) As Boolean String of the setup file pathname True if file found and loaded, false otherwise Connect both data and command channels Public Function ConnectAll() As Boolean None True if both channels connected to respective hardware Disconnect both data and command channels Public Sub DisconnectAll() None None Get the last logged data Public Sub ReadData(x!()) Dynamic array of singles Returns the data in the parameter array Get the last read temperature(s) Public Sub ReadTemperature(x!()) Dynamic array of singles Returns the data in the parameter array Logging function on/off Public Property Let LoggingOn(x As Boolean) True for logging on, false for off None Data streaming on Public Sub StreamOn(s%) Data stream channel Acknowledge returned via InfoEvent() Data streaming off Public Sub StreamOff(s%) Data stream channel Acknowledge returned via InfoEvent() Hardware trigger on Public Sub HWTriggerOn(s%) Data stream channel Acknowledge returned via InfoEvent() Hardware trigger off Public Sub HWTriggerOff(s%) Data stream channel Acknowledge returned via InfoEvent() All data streaming off Public Sub Standby() None Acknowledge returned via InfoEvent() Change the pressure output filter characteristic Public Sub Filter(x%) Filter value Acknowledge returned via InfoEvent() Change the data streaming rate Public Sub Rate(s%, x%) Data stream channel, data rate value Acknowledge returned via InfoEvent() Force a soft reset Public Sub Reset() None Acknowledge returned via InfoEvent()
