1 / 12

LabVIEW – DAQ, Sub-VIs, etc.

LabVIEW – DAQ, Sub-VIs, etc. Seth Price Department of Chemical Engineering New Mexico Tech Rev. 1/8/14. Data Acquisition. Basic DAQ Loop Read data Display data Write to file Repeat until conditional. Data Acquisition. Advanced features Controlled timing “Record” and “Playback”

khuong
Download Presentation

LabVIEW – DAQ, Sub-VIs, etc.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LabVIEW – DAQ, Sub-VIs, etc. Seth Price Department of Chemical Engineering New Mexico Tech Rev. 1/8/14

  2. Data Acquisition • Basic DAQ Loop • Read data • Display data • Write to file • Repeat until conditional

  3. Data Acquisition • Advanced features • Controlled timing • “Record” and “Playback” • Remote viewing • Data collected, polled by terminal elsewhere

  4. Control Loop • Basic Control: • Read data • If conditional is met, adjust parameter • Display data • Write data to file • Repeat until another conditional is met

  5. Additional Control Considerations • Timing and time constants, sampling rates • Emergency stop criteria • Remote operation • Network security

  6. LabVIEW – Sub-VI • Small program inside of another program • Useful for calculations that are used frequently • Similar to functions, subroutines, etc in other languages • Form of documentation • Cleans up block diagram • Custom icon for ease of understanding

  7. Conversion VI • Write a vi (sub-VI) that will convert V to KV • Sub-VI must have a custom icon and correct connector pane

  8. Conversion VI

  9. Editing Icons for Sub-VI

  10. Shift Register • Allows you to see data from previous loop iterations • Value stored on left shift register appears on right shift register during the next loop iteration http://uncyclopedia.wikia.com/wiki/File:Pacman.gif

  11. Running Sum VI • Write a VI that counts how long a switch is turned on • Needs to be able to count for more than one switch flip • VI runs until a stop button is pressed

  12. Running Sum VI

More Related