11-13-2009 07:28 PM
I am trying to reproduce Figure. 3 from http://zone.ni.com/devzone/cda/tut/p/id/4644
My problem:
After creating the Serial Port Cluster (Timeout, baud rate, flow control) and attempting to connect it to the approriate connection on the HP34970 initialize block I get a message that says: "You have two or more enumeration data types wired together, but the enumerations are different. The list of items in the enumerations must be exactly the same."
I believe my issue is with the Flow Control enumeration input, the last one in the Serial Port Configuration cluster in Fig. 3. I double checked the properties of all the cluster inputs and compared them to the example, they matched. But did not work. However when I dragged the Flow control input from the example and dropped it into my cluster, the connection was made with no errors. I don't understand what the difference between the example Flow Control input and my Flow Control input is.
What am I doing wrong?
or perhaps an easier question, what is step-by-step the correct method of creating the Serial Control Cluster?
Solved! Go to Solution.
11-13-2009 08:56 PM
Since you did not post your code, it's impossible to say exactly what the difference might be. You obviously created a different enum.
The simplest way to create the cluster is to simply right click on the input of the VI and select 'Create Control'. You would have automatically created a cluster of the correct type.
11-13-2009 10:08 PM