07-20-2011 01:37 AM
Hi
I want to create a linked list in labview. How can i do that in labview?
If its not possible how can i implement in labview?
07-20-2011 04:49 AM
Hi,
You can create a Linked List in LabVIEW using a Priority Queue.
You can find more regarding Linked Lists and other advanced Data structures at
https://decibel.ni.com/content/docs/DOC-12668
Regards
Gautham Ponnu
07-21-2011 01:05 AM
Can i store the address in the linked list just like in c?
07-21-2011 01:17 AM
In a typical Linked Lists C program, the Links are essentially pointers.
There are no pointers in LabVIEW.
However, LabVIEW has function called Data Value References which create a reference to data that you can then use to transfer and access the data in a serialized way. They are the fastest way to access data by-reference.
04-28-2013 04:13 AM
you can take help from http://scanftree.com/Data_Structure/linked-list
04-28-2013 09:13 AM
I'd say one of the best implementations of a linked list is an Array of DVR's, just like you can have an array of pointers in C, the next and previous is ofc the place in the array. The question if ofc what you're trying to achieve. 🙂
A "pure linked list" require a Cluster with a Next and Previous-DVR (or the name of a queue, though i dont know how the system would handle having thousands of 1-element queues) and either a Self-DVR or the information.
/Y