Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

34970A Scanner Demo VI - Cluster problems

I am using Labview as interface with Agilent 34970A data logger. I downloaded the NI VIs for the device and am trying customize the HP34970DemoScanner.VI for a desired interface type. In the VI are clusters for Serial Port Configuration and Channel Configuration. With the supplied clusters, the device functions correctly, however, when I create and wire a cluster of the same data as those in the supplied cluster, the device reports an error. Because I wish to customize the demo, I would like to determine how to customize the construction and placement of the clusters.
0 Kudos
Message 1 of 4
(3,488 Views)
Hi,

I'm not understanding the problem. A cluster is just a way to organize the data. If the instrument is giving an error it has to do with the data inside the cluster. Incorrectly wiring a cluster element would give you broken wires. If you have several elements of the same type, use the Unbundle by name to identify the elements.

Can provide a simple example of what you are tryinng to do?

Hope this provides some help.
0 Kudos
Message 2 of 4
(3,488 Views)
I have resolved the issue I posted. For anyone using clusters, it is not obvious, however, the sequence of data to the cluster is important. In other words, one might use the "cluster assembler" to put the data in a sequence that is consistent across the VI. What is still not clear, however, is the sequence that results when data controls are dragged-and-dropped into a cluster, e.g., is the first item to be dragged the first item in the sequence?
0 Kudos
Message 3 of 4
(3,488 Views)
Hi,

Yes the cluster order is defined by the order in which they are drag in. The order is actually the tab order. You can change it any time you want by right-clicking on the cluster and selecting "reorder controls in cluster".

You can find more information in the LabVIEW help index, look for cluster -> modifiying cluster element order.

DiegoF
National Instruments
0 Kudos
Message 4 of 4
(3,488 Views)