Components

LabView Driver contains Connectivity, SPI Interface, I2C Interface, GPIO, ADC, PWM, Pulse Counter and UART Interfaces components. Lets look at DLN LabView Driver VI Tree.

vi-tree.png

Connectivity
By using this type of DLN LabView Driver components you can connect to or disconnect from DLN Server; open single connected DLN device or open device by its ID number.
SPI Interface
By using this type of DLN LabView Driver components you can operate with SPI Master and SPI Slave ports by configuring port properties and transferring data via SPI.
I2C Interface
By using this type of DLN LabView Driver components you can operate with I2C Master and SPI Slave ports by configuring port properties and transferring data via I2C interface.
GPIO Interface
By using this type of DLN LabView Driver components you can operate with GPIO pins by configuring pin properties and IO values.
Other Interfaces
This type of DLN LabView Driver components contains PWM, ADC, Pulse Counter and UART interfaces.
Rating: 
Средняя: 4.2 (5 оценок)

ADC, PWM, UART and Pulse Counter Components

DlnAdcPort.vi

Component for opening ADC port, which can be configured and used by user.

labview-adcport.png

Input connectors:

reference Dln.Device, dln.net
port index ADC port number
channel index ADC channel number
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item     Dln.Adc.Port, dln.net 
channel get_Item  Dln.Adc.Channel, dln.net
error out Output connector with error information wired from the VI previously called.

 

DlnPwmPort.vi

Component for opening PWM port, which can be configured and used by user.

labview-pwmport.png

Input connectors:

reference Dln.Device, dln.net
port index PWM port number
channel index PWM channel number
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item       Dln.Pwm.Port, dln.net
channel get_Item Dln.Pwm.Channel, dln.net
error out Output connector with error information wired from the VI previously called.

 

DlnUartPort.vi

Component for configuring UART port.

labview-uartport.png

Input connectors:

reference Dln.Device, dln.net
port index UART port index
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item Dln.Uart.Port, dln.net      
error out Output connector with error information wired from the VI previously called.

 

DlnPulseCounterPort.vi

Component for configuring Pulse Counter port.

labview-pulsecounterport.png

Input connectors:

reference Dln.Device, dln.net
port index Pulse Counter port index
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item Dln.PulseCounter.Port, dln.net
error out Output connector with error information wired from the VI previously called.

 

Rating: 
Средняя: 1.5 (2 оценок)

Connectivity

Connectivity components serves for device initialization and connecting operations.

DlnConnect.vi

Component for connecting to DlnServer service. This component should be run first before any other operations with DLN-series adapter.

labview-connect.png

Input connectors:

host DLN Server valid host. By default host is "localhost".
port DLN Server valid port. By default port is "9656".
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

reference out Dln.Library output reference.
Connect Dln.Connection, dln.net.
error out Output connector with error information wired from the VI previously called.
DlnDisconnect.vi
Component for closing connection with DlnServer service. Also closes reference for .NET object, which was opened and used by DlnConnect VI component.
labview-disconnect.png

Input connectors:

reference Dln.Library, dln.net
connection Dln.Connection, dln.net
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

error out Output connector with error information wired from the VI previously called.

 

DlnOpenDevice.vi
This component opens connection with the single connected device.
labview-opendevice.png

Input connectors:

error in Input connector excepts error information wired from the VI previously called.

Output connectors:

Open Dln.Device, dln.net
error out Output connector with error information wired from the VI previously called.

 

DlnOpenDeviceById.vi
This component opens device by ID number, which can be assigned and changed by user.
labview-opendevicebyid.png

Input connectors:

id ID number to be set to connected DLN-series device.
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

OpenById Dln.Device, dln.net
error out Output connector with error information wired from the VI previously called.

 

Rating: 
Средняя: 2 (1 оценка)

GPIO Interface Component

Rating: 
Средняя: 3 (6 оценок)

I2C Interface

I2C Interface components help to operate with I2C Master and I2C Slave ports by configuring port properties and transferring data.

DlnSpiMasterPort.vi

Component for opening I2C Master port which can be configured and used by user.

labview-i2cmasterport.png

Input connectors:

reference Dln.Device, dln.net
port index I2C Master port number
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item Dln.I2cMaster.Port, dln.net
error out Output connector with error information wired from the VI previously called.

 

DlnI2cSlavePort.vi

Component for opening I2C Slave port which can be configured and used by user. This component will operate correctly only with DLN-4S adapter.

labview-i2cslaveport.png

Input connectors:

reference Dln.Device, dln.net
port index I2C Slave port number
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item Dln.I2cSlave.Port, dln.net
error out Output connector with error information wired from the VI previously called.

 

Rating: 
Средняя: 1.5 (2 оценок)

SPI Interface

SPI Interface components help to operate with SPI Master and SPI Slave ports by configuring port properties and transferring data.

DlnSpiMasterPort.vi

Component for opening SPI Master port which can be configured and used by user.

labview-spimasterport.png

Input connectors:

reference Dln.Device, dln.net
port index SPI Master port number
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item Dln.SpiMaster.Port, dln.net
error out Output connector with error information wired from the VI previously called.

 

DlnSpiSlavePort.vi

Component for opening SPI Slave port which can be configured and used by user. This component will operate correctly only with DLN-4S adapter.

labview-spislaveport.png

Input connectors:

reference Dln.Device, dln.net
port index SPI Slave port number
error in Input connector excepts error information wired from the VI previously called.

Output connectors:

port get_Item Dln.SpiSlave.Port, dln.net
error out Output connector with error information wired from the VI previously called.

 

Rating: 
Средняя: 2.4 (7 оценок)