LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Variant input to a simulation subsystem in LVSim 2.0

I have a simulation subsystem that takes a variant as one of its inputs. This worked well for my purpose in Labview 7.1. I've now upgraded to LabView 8.0 and simulation module 2.0.  The subsystem appears correct when opened, but when I use it in a simulation loop, the variant input appears as type void and connecting a variant to it causes an error. Is this an error with my VI or are variants no longer allowed in simulation subsystems?

0 Kudos
Message 1 of 3
(2,472 Views)
Chris,
I see what you mean. I looked through the release notes and Help files but did not see any mention of the variant data type.  I will see if R&D has a more definite answer.

Best Regards,

Message Edited by Doug M on 07-05-2006 07:35 PM

Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 2 of 3
(2,462 Views)
Chris,

I don't believe this is expected behavior and I have submitted the issue to R&D (3Z5FDQG0). As a workaround, you can try using the Variant to Flattened String and Flattened String to Variant on either side of the code you turn into your subsystem.


Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 3 of 3
(2,453 Views)