LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

switch control

hai
i assigned the data as constant, some times i want to change the data to be transmitted
 
By default the constant data (Data1) assigned  should be displayed in "a" (should be transmitted in CAN bus),
 i want to send someother data in CAN bus, if i change the data in the "a" control, that data should be transmitted in the CAN bus.
 i dont want extra button to switch the data to transmit the constant data or data from control.
Is it possible by mouse click.
like, by default the constant data should be transmitted, and if i click on the control "a"  by mouse that should be activated and the changed data will be transmitted
thanks
sk

I am using LabVIER 7.1
0 Kudos
Message 1 of 2
(2,608 Views)
sorry I dont have LV infront of me right now but it sounds like you can use a shift register to hold the constant/variable and an event register to modify the value of the rigister.  This is a common practice.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 2
(2,596 Views)