LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Good Programming with event and Serial Data

HI,
until now I used LabView for Patern recongnation in Images (no programming for Hardware). now I hav to programm a User Interface for a communication with µC with Serial Port. I can communcatewith my device. on my GUI I Have:
one Button "Version" to get the firmware Version of the µC.
ListBox (Event change value) with 4 Running Mode: 0 to Stop the device
                                                 1 device is running but no data is send to serial
                                                 2 device send data continus to serial port (e.g. 4095;4095;4095;4095;79)
                                                 3 device send data continuous to serial Port (e.g. 0.2365;0.4555;15)
 Stop Button (Event value)
one Button to open other Dialog for parameter set (not implemented until now) need your Help
2 chart to see the data for the 2 sensors in Mode 2 or 3 (not implemented until now) need your Help
 
My questions are:
How can I break the While loopto read data by running Mode 2 and 3 if other Evant is activated( for example if I Mode 2 is shoosed, device send data and if I click the version button for read version, the event is not occur.)?
How can I call other dialog ?event or other Methode? In this dialog I will set different parameter can I use Table with default and new paramter and change value event?
Show sensor data in Charts? mode 2: 2 chart pro sensor and Mode 3 1 chart pro Sensor
 
thanks
0 Kudos
Message 1 of 2
(2,416 Views)

Sorry

I send the  thread 2 times

0 Kudos
Message 2 of 2
(2,409 Views)