This Template is to build a producer/consumer design pattern events to produce queue items. Use this design pattern instead of the User Interface Event Handler pattern for user interfaces when you want to execute code asynchronously in response to an event without showing the user interface responsiveness
- controls if the prl is being read
- This set which channel are being read. The options for which channel are:
The Refresh rate determines how often the data is sampled. The choices for how often is: 50 Hz, 20Hz, 10 Hz, 5 Hz, 2 Hz, 1 Hz, every 2 sec, 5 sec, 10 sec, and every minute
The PRL visible brings up this window:
The status determines if the PRL is ready or not.
Shows at which step the data is being processed and what processes are currently being activated.
- The event loop uses an event case structure that has four events that correspond to the iusers inputs via button commands. These include timeout, quit, prl visible, and channel select, the last three result in a value change.
Timeout controls whether or not the VI will continue to run based on if the PRL is still sending out data
The PRL visible brings up the GUI display
Quit, ends the program.
Channel selector determines which channel will be read. It will determine the channels of the phasor, analog, and digital.
The execution loop will display blink continuously to indicate that the program is running
Timed loop will also blink every time data is read.
Status loop will blink to determine if the program is running correctly
- These boolean lights determine certain statuses for the PRL:
Buffer active determines if there is data being read
Configuration file received indicates if the initial connection has been established.
Connected indicates if there is a connection to the PRL
Has new data indicates if more data has arrived but is not being process
The graph shows the data in a waveform graph.
- can change how the data looks on the graph
Shows the data output in numerical form.
- Each time data comes out, timestamp is updated:
- Phasor signals:
- Digital Signal:
- Analog Signal: