• No results found

ni.com Remote Connectivity with LabVIEW

N/A
N/A
Protected

Academic year: 2021

Share "ni.com Remote Connectivity with LabVIEW"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

Remote Connectivity with

LabVIEW

(2)
(3)
(4)
(5)

What Is Remote Connectivity

• Two machines talking to one another

PC PC

Client

Consumes Data

Server

(6)

What Is Remote Connectivity

PC PC

Client Ethernet Server

(7)

Network Topology

Mobile PC Internet PC HUB cRIO LAN Instr. FTP Server Bastion Host (i.e. DNS, Email, VPN) Internal Server Internal Firewall External Firewall

(8)

What Is Remote Connectivity

• Two machines talking to one another

PC PC

Client Network Server

PXI/cRIO Industrial PC LAN Instrument

(9)

What Is Remote Connectivity

• Two machines talking to one another

PC PC Client Windows/Mac/Linux Web Browser Tablet Smartphone etc. Server PXI/cRIO Industrial PC LAN Instrument Server etc. Network

(10)

Many Data Communication Options Exist in LabVIEW

1. TCP and UDP 2. Network Streams 3. Shared Variables 4. DMAs 5. Web Services 6. Peer-to-Peer Streaming 7. Queues 8. Dynamic Events

9. Functional Global Variables 10. RT FIFOs

11. Datasocket 12. Local Variables

13. Programmatic Front Panel

Interface

14. Target-scoped FIFOs 15. Notifiers

16. Simple TCP/IP Messaging

17. AMC

18. HTTP 19. FTP

20. Global variables

… just to name a few!

(11)

What Is Remote Connectivity

Web Browser PXI Clients Servers Network cRIO Instrument Tablet PC

(12)

What Is Remote Connectivity

Web Browser PXI Clients Servers Network cRIO Instrument Tablet PC

(13)
(14)

It’s Complicated!!!

(15)

Common Scenarios and Solutions

1. Local Monitoring

2. Remote Mobile Access

(16)

1. Local Monitoring

Requirements

• Intranet so less security and networking concerns

• Data Communication can be anything

• Windows PC for client, cRIO for server

• Can install applications on PC

• Needs something quick and easy

Possible Solutions:

• Remote Desktop Connection

• LabVIEW Executable

• Web UI Builder

(17)

Remote Desktop Connection

Pros

• Built-in or cheap options

Cons

• Normally only one connection at a time

(18)

LabVIEW Executable

Pros

• Any data communication architecture

• Shipping examples (i.e. TCP, UDP)

Cons

• Development time

• Application Builder

and Run-Time Engine needed

(19)

Web UI Builder

Pros

• Rich UI

• Silverlight required so Windows needed

• No Run-Time needed Cons • Connects to web services • Server configuration needed for executable • $1499 for build license ni.com/uibuilder

(20)

Remote Front Panel

Pros

• Easy to create, “check-in” control

• Windows or RT deployment

• After LabVIEW 2011, extra licenses not

needed Cons • LabVIEW Run-Time needed • Proprietary data transfer

(21)
(22)

2. Remote Mobile Access

Requirements

• Internet so security and networking considerations

• Data communication needs security options

• Data servers need ability to scale

• Monitor and Control

• Simple and easy to develop

Solution Options

• LabVIEW APIs for Mobile

Communication

• Web Services

(23)

LabVIEW APIs for Mobile Communication

Notifications from LabVIEW

• Emails using SMTP VIs (Included in LabVIEW Base)

• Text messages using SMTP VIs (Included in LabVIEW

Base)

(24)

Web Services

Pros

• Standard HTTP data transfer • Security features • No Run-Time needed Cons • More difficult to program than RFP • Need to develop client interface LabVIEW Application LabVIEW Web Service Web Interface Response Request

(25)

Data Dashboard

Pros

• Free

• Uses Shared Variables, Web Services, or

Technical Data Cloud

• Mobile (iOS, Android, Windows)

Cons

• Only iPad can

control and monitor currently

(26)
(27)

27

ni.com

3. Custom Client Development

Requirements

• Basically the same as Remote Mobile Access scenario

• Want some custom look or functionality • Mobile and PC friendly

• Cheap Solution Options • SCCT • LabSockets • Native App • HTML5

(28)

• Smartphone Cross-Platform Communication toolkit made

by T4SM (Tools 4 Smart Minds)

• Library for developing LabVIEW server application and

multiple client options (Android, iOS, Java, HTML5, Linux/Intel, Linux/ARM)

• PUSH data communication

SCCT

Pros

• Cross platform data

protocol

• VIs for security

• Easy-to-use

• No web server needed

• Available on LabVIEW

Tools Network

Cons

• Client UI development • Extra cost ($450)

(29)

• Made by Bergmans Mechatronics LLC (labsocket.com)

• Programmatically creates HTML based on VI Front Panel

• Parallel background process keeps browser and VI in sync

(like Remote Front Panels)

• Host HTML on their web server

• Browser based so desktop and mobile friendly

• $595

LabSockets

Pros

• Easy-to-use

• OS and mobile friendly

Cons

• Extra cost

(30)

Native app development

Pros • Rich UI • Usability • Access to onboard sensors Cons • Custom Development

• App for every OS

(31)

HTML development

Pros

• Rich UI

• Cross Platform

Standard, Thin-Client Interface XML Data

VI Deployed as Web Service

Cons • Custom Development • Performance • No device sensors Adobe Flex ni.com/mobilegroup

(32)
(33)
(34)

Summary and Resources

• Networking • Data Communication • Data Clients • Security Resources

• ni.com/mobile and ni.com/mobilegroup

• Configuring Software and Hardware Firewalls to Support

National Instruments Products

• Configuring LabVIEW, DSC, and Lookout to Work With

the Windows Firewall

References

Related documents

findings: (i) inositol (and not a “secondary product”) is metabo- lized, as intracellular growth promotion by the carbohydrate is dependent on iolT or iolG, (ii) inositol reaches

The annual review will include an update of your Enrichment Plan™ with a review of your goals, objectives and accomplishments, an update of your retirement projection, an update

Utah's state-sponsored higher education took a large step forward last month when the Utah State Board of Higher Education adopted, as a working document, the

algorithmically providing orientation landmarks within information structures (Fairchild, Poltrock, & Furnas, 1988; Godin, Gecsei, & Pichet, 1989) that has been

a) The contractor shall provide, implement, and maintain a Configuration Management process to ensure control over the Audio Conferencing System at each location. The

The findings of the third study suggest that firms that contribute to government’s policy of fostering employment are less likely to be subject to SEC’s enforcement actions.

The primary treatment of localized prostate cancer can include radical prostatectomy (open, laparoscopic, or robotic) or radiotherapy (brachytherapy or intensity

• CMXA 75-F unit, programmed for four channel non-route meas- urements, two channel or simultaneous triaxial route analyzer with FFT Analyzer, Balancing, Recorder, Run up Coast