> If you are talking about enums that have different items in the
enumeration, that won't work any more than connecting
> a string to a
number input. Enums with different values in them are different kinds
of controls, different datatypes.
Yeah, I pretty much figured that was the case when they refused to load.
> What is it exactly that you are
trying to do?
We have a (large) set of low-level VI's that handle hardware
calls. These are in turn generall called by TestStand -- hence
the enums: it's much easier for someone to sit down and insert a VI
call to "setState.vi" with a value of "Open" "Closed"
"Short-to-Battery" "Short-to-Ground" when they can select the value
from a drop-down menu in TestStand.
We also have existing tests that are executed on a second machine using
non-NI hardware. Those routines are extensive, and far too much
effort to re-implement in LabVIEW. Also, for various reasons, we
can't run the Non-NI software/hardware on our PXI (i.e. concerns about
processor load, and the PXI chassis we have has no empty slots).
Essentially, what I'm doing now is this: I'm writing a small TCP server
so that the non-NI machine (any machine, even machines without LabVIEW
installed) can connect to the PXI box and
execute arbitrary code.
> Now there are ways of dynamically linking to VI's with
different connector panes--
> but passing data then becomes the
connection pain.
Dynamik's example code gives me exactly what I need to extend the
current capabilities to include VI's with differently-enumerated UINT16
inputs. Of course, I had to insert an "Invoke Node" to actually
RUN the VI after writing the data to the descriptor.