Jump to content

Search the Community

Showing results for tags 'array'.

  • 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


Facebook Page


Location


Interests

Found 21 results

  1. Version 2.0.0

    229 downloads

    Here is the Hooovahh Array VIMs. This initial release contains VIMs for manipulating array data, which are intended to replace OpenG functionality, but with the added benefit of data type propagation, and increased performance using newer array manipulation techniques. In later versions other Array manipulation functions were added moving all the OpenG stuff to their own palette. Version 2.0 changed the suffix naming standard. Updating may mean replacing calls to the new versions since the name on disk has changed. This was for consistency and I'm sorry for breaking compatibility. T
  2. Hello! It was found that the function Request Deallocation does not free memory after using an array of strings (or any other multi-dimensional array). Description of the experiment: There is a VI from which subVI is called by command. In the subVI only one-dimensional array (numbers or strings) generated. If the array element type is number (I32), then allocated memory is released (using the function Request Deallocation). If the array element type is string (or any other multi-dimensional array), the memory will not be released. Anyone faced this problem? If yes, what should we do? Excuse fo
  3. View File Hooovahh Array VIMs Here is the Hooovahh Array VIMs. This initial release contains 14 VIMs for manipulating array data, which are intended to replace OpenG functionality, but with the added benefit of data type propagation, and increased performance using newer array manipulation techniques. In later versions other Array manipulation functions were added moving all the OpenG stuff to their own palette. Most of the OpenG functions are unchanged, but a few use the newer conditional and concatenating tunnels. And a few functions have added perform
  4. Hello, I'm developing an application to play "Battleship" with another opponent through serial communication. I currently have the following difficulty: I have not been able to fill the Array with my opponent's ships, I can modify a position, but by changing the position, the result of the previous position returns to its original value. VI operation: For my turn, using the radio buttons, I select the coordinate and press the SEND button. My opponent answers me with a 1 if I hit or with a 0 if I failed, this data is what I couldn't keep in the array. Best regards,
  5. The program obtains the number of messages in the hardware buffer through ZCAN_GetReceiveNum function, and then calls ZCAN Receive to complete the received data. When the amount of data reaches 1000 frames / s, the program will crash. UINT ZCAN_Receive(CHANNEL_HANDLE channel_handle, ZCAN_Receive_Data* pReceive, UINT len, INT wait_time = -1); I think there is something wrong with creating the parameter array ZCAN Receive Data* pReceive. Has anyone ever encountered a similar problem? Receive.zip
  6. I find myself frequently looking for a good pattern for collecting a pool of array elements until they reach a certain size and then removing the oldest elements first. I have used very stupid methods like a bunch of feedback nodes being fed into an build array node. But today I thought up one that I really enjoyed and I thought that I'd share it. Its a simple pattern and no crossing wires . Perhaps someone has thought of something better, if so don't hesitate to share.
  7. Is there any way to automatically wire an index array block to a bundle by name block? Auto-wire (pressing space) just adds one wire. Note that my cluster contains data of different types so converting the cluster to an array doesn't work. If there is a quick-drop shortcut for this I would be very impressed.
  8. I need to add the values in an 1D array which as about 1 lakh elements. But the values in the array keep changing. Can anyone tell me how to do ? I thought of forming a 2D array from the 1D array. But since the 1D array keeps changing I am not able to append it to form 2D array. I am a beginner in LabVIEW. Kindly help me with the same.
  9. Hi All, I have 3 analogue and 2 digital waveforms that I want to repeat multiple times with a delay between them. I could do this programmatically using a while loop during their playback but ideally I'd like to create a waveform as a delay and concatenate them all so that the resultant waveform is the what will be sent. My current solution is to have a pair of for loops inside a larger for loop. The sub for loops concatenate the waveforms with the shift registered waveforms and then with a waveform of my choosing (the delay waveform). Attached is a snippet of code. However, to produce a w
  10. Hi All, I am trying to make a control that has a textbox on the left and a text/combobox on the right in a scrollable box. I have tried to do this so far by making a cluster of the two and then having an array of that cluster. But, when I try to do this whatever I add as an edit item in any combobox is then automatically added to every other combo box in the list. I would like it so I can have different dropdown lists for each combobox in the list. Any help welcome! Craig
  11. 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
  12. 1: How to get last index, not last element, but last index number of an 2d array? Also 2: say 2d array has contents elephant crow dog goat giraffe eagle cat fly ant pig horse bee How to get that the bee is the 12th or 11th index in the array? (11 if you count elephant as zero index, 12 if you count elephant as first index), meaning I want the index number 11 or 12, not "bee"
  13. Hey all, I am trying to create a fairly large program. What I want to do is for someone to upload a text file, customized so I can create statements for it, and then labVIEW will read the the text file and perform actions. Specifically, the text will contain pin numbers, on/off status, wait delay, and another on/off status. The pin numbers correspond to a Boolean indicator array. The on/off status tell the Boolean indicator array to turn on/off. The wait delay tells the program to wait how long before changing the indicator array value again, and the second on/off status turns the
  14. I am new in LabView and needed to create a sort of look up array. I have a pre-defined 4 column 11 row array. First column has the data for wavelength and the other 3 columns have other properties corresponding to the wavelength. I have to create a vi where I can feed in a wavelength value from 0 to 1000 and get the correct 3 properties from the table. The pre-defined array has discrete values of say 100, 200 and so forth but i want to allow users to type in any value in between and get a legitimate result. For instance if users feed 110 as wavelength, the output should be the properties for 1
  15. I have an array that is already sorted. I want to find or write a VI that returns a subset of this array based on a minimum and a maximum values that I define. For example, if the array contains [0,1,2,3,4,5] and I set min = 2.9 and max = 4.1, the function should return [3,4]. So far the only way I can think of is to take each element starting at index 0 and compare it to the minimum. When I find a value that is greater than the minimum, I start comparing each following element to the maximum. When a value is greater than the maximum, I can stop the execution and return what I have collect
  16. I am trying to create a code section that will take a 1D array and create a moving average array. Sorry if this is a bad description. I want to take x elements of the input array, average them, and put that average in the first element of a new array. Then take the next x elements, average them, and put them as the second element of the new array. I want this done until the array is empty. I have two possible ways to do it, but neither are running as fast as I wanted them to. I want to see if anyone knows of a faster way to conduct this averaging. Thanks Joe
  17. Attached is the browser program I am working on. I am trying to cycle through the database elements that are displayed in the cluster by means of a boolean button. Any help would be hugely appreciated Browser.vi
  18. I need to write an array of 1 double precision number and 2 integers to a text file. I used the flatten to text but I get the file like this. @$ěHĚjŻ˛@8 @‰Č @$öOU#ĐT@< @‰Č @![šć‰±ę@@ @‰Č @#—ˇę?ťš@D @‰Č @$D}m6r@H @‰Č @"žţ-Î@L @‰Č @"E†„CĘ@P @‰Č @#ěÔ5ś.p@T @‰Č @#øĚyě@X @‰Č can you tell me a better way to do this? I also need spaces between each element
  19. In my application, I have array of numbers. In the array, each value has the caption visible. Is it possible to programmatically change the caption names? I would like to see Value0, Value1, Value2, etc. John
  20. Hi everybody, I have a problem with a ring-control in my labview program. The ring has many items (65536) and non-sequential values. I need to find the actual index of the ring array and set a new calculated index afterwards. As I couldn't find a way to get the actual index directly, I started a for loop and compared every "Strings[]"-array element with the "Ringtext.Text"-property. So far, so good. But when I want to set a new index to the ring, I need to use the "Set Value"-property. Here comes the problem: Every time I use the "String and Value[]"-property to get the index correspondi
  21. Hi, i have question about array of clusters. I want to do some list of commands where i use table of arrays. In array are 2 tables one string and one image controller. I found code that find me active (clicked cell in this array but is there any way how to highlight this cell? I tried to changed background color of this cluster but this change color for whole table. Can you help me. My program is attached. editor.vi ClickedArrElement.vi
×
×
  • Create New...

Important Information

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