LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

'build waveform' in cluster-constant not possible?

I would like to read a 2d-array of a cluster from file that contains - beside 4 clusters - a waveform.
As far as I understand, you have to determine the byte-stream-type for the "read-file" operation.
In order to do so I tried to generate a 2d-array-constant that contains the cluster mentioned above with all values as empty constants.
But soemhow it doesnt seem to work for "build waveforms". I am not able to put the waveform inside the cluster!?

Any ideas so far?

Thanks in advance
Thomas
0 Kudos
Message 1 of 3
(2,772 Views)
I'm a lttle confused. You can put a waveform datatype inside a cluster and put that cluster inside an array and make that array multi-dimensional. This is all easily done on the front panel. Putting a function like "Build Waveform" inside a cluster doesn't work any more than trying to put an arithmetic function inside a cluster. Clusters hold valid datatypes, not functions. If I've misunderstood your problem, could you explain a little more?
0 Kudos
Message 2 of 3
(2,772 Views)
Sorry, you are right of course 😉
(Looks like a really stupid question now!)

The problem was that I tried to generate the array with the clusters in the blockdiagram and not in the front panel! Its a little confusing sometimes - at least for C++ programmers ;->

Thanks again
Thomas
0 Kudos
Message 3 of 3
(2,772 Views)