Jump to content

Search the Community

Showing results for tags 'cluster'.

  • Search By Tags

    • cluster ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 20 results

  1. My Problem: I start with an array of N strings. Using the function "Array to Cluster" I get a cluster of 1-element arrays (each containing one string) when what I want is a cluster of N strings. My Question: How can I do any one of the following: A. Produce a cluster of strings from an array of s...
  2. Hi When I call the DLL, there is a structure: struct Signal { uint32 nStartBit; uint32 nLen; double nFactor; double nOffset; double nMin; double nMax; double nValue; uint64 nRawValue; bool is_signed; char unit[11]; char strName[66]; char strComment[201]; }; Ther...
  3. After working on the set cluster element by name xnode, it made me realize i could use the same concept to convert a variant array to a cluster. The technique is actually pretty simple, the xnode generates a case structure for each element in a cluster in cluster order, wherein a bundle by name is u...
  4. This Xnode allows setting a cluster element by label string without using references. I pulled a great deal of inspiration from Hooovahhs Variant Array to cluster xnode, which i suppose this could be used for, another benefit is its not limited to 255 elements. Its mostly experimental because I have...
  5. Hi All I'm playing around with visualising clusters as a tree structure. I've got some nice code working that I thought I would share. It's part of an abstract data viewer that I'm working on. Code is based on Open_G Variant and Open_G Config File tools ClusterViewer.zip
  6. Hi. Im working on this prosjekt where I have a TCP communication between two computers (Server & Klient). I have managed to get communication between those two. (Sending and reciving one cluster.) But I want to send and recive more than one. I looked at det Topic "Passing Cluster and Datatype T...
  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 th...
  8. Edit: found this in context help: Arrays and strings in hierarchical data types such as clusters always include size information. http://forums.ni.com/t5/LabVIEW/Write-to-Binary-File-Cluster-Size/td-p/3199224 I have a cluster of data I am writing to a file (all different types of numerics, a...
  9. Hi, I'm facing this issue with LabVIEW 2014. I have made a program with LV 2012 that passes some clusters to another application, made with LabVIEW 2012 also. All clusters are passed as strings between the two programs, using "Flatten to String" and "Unflatten From String" VIs. Well, everything work...
  10. I recently posted this example code to ni.com - https://decibel.ni.com/content/docs/DOC-40315 Essentially I tried to create a completely universal (or close thereto) Cluster to Struct and Back Again set of functions. These consider packing/padding, data alignment, endian-ness, etc. I includ...
  11. Hello Every Body i have a Question i used a component relay in labview and i'm going to switch between clusters but shown this Erorr wire please help me!
  12. I've run into an interesting problem using the Open G variant library. When trying to extract a list of cluster element names from a cluster in an empty array of clusters in a cluster itself, I get the following error from the Open G "Get Cluster Element Names VI": An example VI showing...
  13. Hi All, I have an application where I store the data in a cluster. Suppose this is my ver. 1 of the application and the cluster consists of 3 I32. and I ship this application to the customer. Now for the ver 2 I want to store a string to the cluster so I updated my cluster to 3 I32 and 1 String...
  14. When using a fixed-size array inside a cluster, I am unable to use the cluster with functions that demand a fixed-size data type. This even though the cluster is actually a fixed size. The alternative is to add an individual element for each entry in the array, but that quickly gets unwie...
  15. Hi there! I've played around with a piece of my Programm where I have to create an array of clusters where a cluster has two emenents: a NAME and a VALUE for the specific name. I Would like to use something like the firt Screenshot as an Input (Bundle the Variables to a cluster). Then, inside the...
  16. I'm making a Tic Tac Toe game using a cluster of 9 picture rings to represent X, O, or a blank spot. If I were to be doing a one player game vs the computer, is there a way I could make the computer make a move? I've tried a few things, and none of them worked. If you want to see the VI, which is...
  17. What am I doing wrong? I'm using the JKI "Write INI Cluster__ogtk.vi" and "Read INI Cluster__ogkt.vi" and I can't read back what I wrote. First I "Set" and then "Get". When the "Get" state pushes to the "Variant to Data" I get an error 91 (variant doesn't match type input). Is my cluster too complex...
  18. We found this bug when updating from 2010 to 2012 last week. Certain types of clusters will not update over datasocket or network-published shared variable. You will only get their default data. Here are the conditions that will cause the problem: The cluster contains an array of clusters The arr...
  19. Kello everyone! I have some instruments which i controll over VISA. the software has two parts: one GUI running on a computer and the program running on the PXI to which the instruments are connected. I would like the user to be able to choose the GPIB address of each instrument on the GUI, so i...
  20. 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 ba...
×
×
  • Create New...

Important Information

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