I have this problem on ONE LV7 machine and not another. I don’t mess with
LabVIEW.ini to see how this can be but….


I can’t get the Event Structure “Vkey” from the ‘Key Down’ Event to connect
to a Vkey in an cluster – Or to even have it connect to an indicator!. (The
cluster is prototyped correctly)

Do the following:
1. Drop in an Event Structure, Add “Key Down” as an event. Right-click on
the ‘Vkey” output node and “Create Constant”

2. Drag the “Vkey” constant outside the Structure – build it into a cluster.

3. Pass the cluster into the “Key Down” Event unbundled by name – and try to
wire the Event Vkey value into the cluster.

4. I get a broken wire and an Error “Enumeration Type Error – …the Enum type
must be exactly the same.”

5. Disconnect the cluster from Vkey – Right-click on the Event Structure
‘Vkey” node and ‘Create Indicator’ – when I wire the indicator I STILL get a
broken wire!

This code works in LabVIEW 6.1 just fine.


Jack Hamilton
Hamilton Design
[EMAIL PROTECTED]
www.Labuseful.com
714-839-6375 Office



Reply via email to