LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determining the control output of a cluster of 3 Elements (PID control VI), so that it can be fed into AD output

I currently have a problem as I keep getting the error message, "You have connected two terminals of different types, the type of the source is a cluster of 3 elements, The type of the sink is double [64-bit real (~15 digit precision)]. I realise that I'm connecting two different types of VI files together, but I don't know how to rectify this problem. I'm a beginner, sorry.

Please please could somebody help me?

Thank you
0 Kudos
Message 1 of 2
(2,666 Views)
senaka,
 
Different than other visual programming language, LabVIEW has "strong type", which means that you can only connect inputs/outputs with the same datatype.
 
In this case, you can use the "unbundle" function to obtain "break" the bundle into smaller parts and you can connect to the input, which is a double.
 
If you are learning LabVIEW, you can find several tutorials on the web. Here is one from NI:
 
 
Maybe that would get you up running even faster. Hope this helps!
Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 2
(2,644 Views)