LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

34970A Initialization reproduction

Solved!
Go to solution

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?

 


 

0 Kudos
Message 1 of 3
(2,860 Views)
Solution
Accepted by topic author Oreos

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.

0 Kudos
Message 2 of 3
(2,854 Views)
Great!  I'll try it out.  Thanks
0 Kudos
Message 3 of 3
(2,848 Views)