Jump to content

Search the Community

Showing results for tags 'manual adding values'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Software & Hardware Discussions
    • LabVIEW Community Edition
    • LabVIEW General
    • LabVIEW (By Category)
    • Hardware
  • Resources
    • LabVIEW Getting Started
    • GCentral
    • Code Repository (Certified)
    • LAVA Code on LabVIEW Tools Network
    • Code In-Development
    • OpenG
  • Community
    • LAVA Lounge
    • LabVIEW Feedback for NI
    • LabVIEW Ecosystem
  • LAVA Site Related
    • Site Feedback & Support
    • Wiki Help

Categories

  • *Uncertified*
  • LabVIEW Tools Network Certified
  • LabVIEW API
    • VI Scripting
    • JKI Right-Click Framework Plugins
    • Quick Drop Plugins
    • XNodes
  • General
  • User Interface
    • X-Controls
  • LabVIEW IDE
    • Custom Probes
  • LabVIEW OOP
  • Database & File IO
  • Machine Vision & Imaging
  • Remote Control, Monitoring and the Internet
  • Hardware

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Company Website


Twitter Name


LinkedIn Profile


Location


Interests

Found 1 result

  1. Hello everyone, I'm new to your community, so firstly I'd like to say hello to everyone I guess the topic was repeated several times and I have read many examples, but most of them were concentrated on auto fill of array with random values. I however need to set values into array manually, memorize them, and if possible to go back and make changes in case of a mistake. These values are given from Tasti WB630 keyboard and determine line feed for each of electrical linear drive. In my vision UP / DOWN keys set index number which corresponds to a subsequent piston, LEFT / RIGHT keys set value of feed for currently indexed piston. After setting a correct value for desired piston I hit OK and the value is stored into array. But here my vision ends, because LabVIEW somehow doesn't want to memorize all of the input data except the last one given index and value.The code for now works like this: Array: set + OK [0] 280 [1] 0 [2] 0 [3] 0 [4] 0 set + OK [0] 0 [1] 50 [2] 0 [3] 0 [4] 0 set + OK [0] 0 [1] 0 [2] 135 [3] 0 [4] 0 etc. I'd like to make it work like this: Array: set + OK [0] 280 [1] 0 [2] 0 [3] 0 [4] 0 set + OK [0] 280 [1] 50 [2] 0 [3] 0 [4] 0 set + OK [0] 280 [1] 50 [2] 135 [3] 0 [4] 0 etc. So, can anyone help me out? EDIT: I've added my source files with code needed for the emulation of Tasti keyboard and my work so far. Main VI: tasti_emul.vi, SubVI's: Tasti_LR.viTasti_OK2.viTasti_UD.vi
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.