WPF app with two UI threads each running on its own monitor? -


i need make wpf application has 2 windows it's ui used simultaneously 2 separate users. needs run on single pc dual monitors each ui screen displays on own monitor. app industrial controls interface machine building.

machine description: system test stand pump manufacturer. have 2 operators manning station. needs able test 2 pumps @ same time not synchronously (each operator start test @ different times). system test leaks, vibration, flow, pressure , motor current. there hundreds of different models different test parameters different test procedures. desired have single pc , single plc control hardware. pc have dual touchscreen monitors (one each operator), 2 bar code scanners (one each operator) , 2 zebra label printers (one each operator). pc interface allen bradley compact logix plc via ethernet i/p. plc programmed control of actuators , sensors on machine. pc command plc execute various test sequences after has written appropriate parameters plc. plc collect data during test sequence, , pc app retrieve , write persistent storage.

application description: application use sql express database store pump model's testing parameters data collected during test each pump. app provide provide twin ui's have identical functionality capable of operating independently of each other. app have ui screen entering , editing parameters different pump models, screen view data collected given pump , main screen display current pump under test info, such parameters in use, test progress , live transducer data. usage scenario follows: operator receives batch of pumps comes work order sheet, he/she scans bar code on work order app decodes scan , extracts model number, retrieves test parameters database , displays info on screen, after operator confirmation writes parameters , test sequence plc. operator loads pump test chamber , closes safety door. "begin test" button presented operator after plc confirms pump present , safety doors closed. operator presses "begin test" button , pc , plc 'talk each other perform test sequence while pc updates ui keep operator informed of progress , results each step of sequence. when testing complete pc generates guid pump , stores test data linked guid in database , prints bar code label encoded guid , pass/fail status code. safety door unlocks operator @ second station performing same tasks different work order, can different model pump testing on other station independent of each other.

my question this: possible have single wpf app instantiate 2 separate ui threads on separate monitors both ui windows appear have focus simultaneously. , if how do it. couple of other points deal are: each monitor touch screen 2 separate mouse inputs need handled , each user have bar code scanner 2 usb or serial scanners need monitored input.

you cannot have 2 windows window focus @ same time, regardless of how many threads in use. best solution create standard wpf app 1 giant window - allow want.


Comments