LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulation Interface Toolkit - How to toggle a manual switch in simulink from LabVIEW?

I have a manual switch in my simulink diagram that I want to use to switch between to values from my LabVIEW interface. I have tried to connect a toggle switch at LabVIEW`s VI with different parameters in the simulink model(I can choose between:Show Port Labels, sw, and action), but none of them seem to work properly.
The manual switch in Simulink gets to inputs, one output. There is also an Environment Cotroller that output the simulation(SIM) or Real-Time Workshop(RTW) port depending on the current environment.
At this time I am doing simulations and are not using Real-Time Workshop.
 
I want to thank you for your help in advance.
 
-Mari
 
0 Kudos
Message 1 of 1
(2,558 Views)