LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample...

12
LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research

Transcript of LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample...

Page 1: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

LabVIEW® Control of SANS Sample Environment

Jeff KrzywonNIST Center for Neutron Research

Page 2: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

PROPERTIESOn passing, 'Finish' button: Goes to Next SlideOn failing, 'Finish' button: Goes to Next SlideAllow user to leave quiz: After user has completed quizUser may view slides after quiz: At any timeUser may attempt quiz: Unlimited times

Page 3: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Overview

Reasons for Changing SoftwareWhy LabVIEW®?Early IssuesSoftware In-UseFuture Projects

Page 4: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Why New Software?

Inconsistent and Non-User FriendlyLegacy ComputingFuture Proofing

Forward CompatibilityNew Controller? Able to Retain Program Architecture

Page 5: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Why LabVIEW®?

Graphical Programming Designed for Measurement and AutomationFast Implementation and Many Preexisting VIsData-Flow Control

Page 6: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

IssuesComputing and Handshaking

Legacy Devices – ISA Compatible CardsSolution: Serial-to-TTL Converter

RheometerProprietary Communication LanguageSolution: Do not include in project

Page 7: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Handshaking

Two VIs to mimic steps taken by VAX

Check input state and change output state when ready

Page 8: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Boulder Shear Cell

Parker CompumotorKHX-250 Brushless Servo Motor –ASCII SerialTime-stamped, human-readable data logRigid user task flow to limit potential user errorsPrevious software and computers removed from user program

Page 9: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Humidity ChamberEurotherm X26 controller, Omega CN2002 controller and Neslab RTE-140 CirculatorDirect interface to iTools software

Page 10: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Microlab 500

Hamilton Microlab 500 Dispenser –ACSII, SerialLimited feature set required

Page 11: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Wire Diagram Template

Page 12: LabVIEW Control of SANS Sample Environment · 2008. 11. 5. · LabVIEW ® Control of SANS Sample Environment Jeff Krzywon NIST Center for Neutron Research. PROPERTIES On passing,

Other Programs and Future Directions

Other Small Programs

Handshaking TesterRTD ReaderPressure Rig

Future DirectionsPressure CellOthers?ICE