05-09-2020 11:15 AM
I have written a s/w in VB6. there I can define an array & place the elements of the array where ever I want on the screen. Is this possible in Labview?
regards,
Shrikant.
05-09-2020 11:37 AM
Hi,
you can define an array in LabVIEW. And you can display single elements on your front panel.
Pretty basic stuff...
But what is your goal? What do you want to achieve? (And not "how" do you want to achieve this goal!?)
05-09-2020 11:43 AM
Arrays are in an array container so the elements stay together (1D arrays: resize container vertically or horizontally, 2D arrays: resize in both directions, 3D arrays or higher: You can only show one 2D plane at a time, etc.).
You can index out the array elements of you want scattered indicators all over the screen (not sure why anyone would want that!). Another option would be a cluster container. Here you can arrange any way you want, and if all types match, just convert the array to a cluster for display (make sure to set the cluster size).
Of course we can help much better of you would show us a picture of what you actually mean. Your question is quite ambiguous. 🙂
05-10-2020 12:58 AM
My project is thus:
My micro-controller unit sends me 2048 bytes of data every 55ms. This data is then arranged in a specified format. Bulk of the data is displayed as word number & data side-by-side. Also some data has to be displayed separately depending on certain bytes in the bunch.
This I have successfully achieved using VB. But now I have to change it Labview (I am using Labview 2018). Hence the question.
Also thanks for the suggestion. I will try it out & see.
Regards,
Shrikant.
05-10-2020 02:03 AM
@Shrikantbj wrote:
This data is then arranged in a specified format. Bulk of the data is displayed as word number & data side-by-side. Also some data has to be displayed separately depending on certain bytes in the bunch.
That is very vague! Unless you tell us the meaning of "bulk", "specific format", "certain bytes" we can't really help. Why not use a string indicator with a fixed width font and display everything nicely formatted as text?