07-28-2014 02:31 PM
I'm using a barcode reader in a Dashboard application. I would like to force the focus in a string control to continously receive barcode data. Is there a way to force the focus in a variable (in dashboard)?
Solved! Go to Solution.
07-28-2014 02:50 PM
07-28-2014 03:38 PM
Hi Jim,
I know how to do it in LabView. I want to edit a property of a Dashboard control (share variable). I haven't access the control properties (right-click)
07-29-2014 11:18 AM
Hello Michel,
I have a few questions for you that will help me better understand your application and the functionality you would like to implement:
1. Are you using Data Dashboard and if so, what platform are you running Data Dashboard on?
2. Are you collecting the barcode data using a reader and trying to continuously write the barcode data to a string network shared variable?
3. Or are you trying to continuously update a string indicator with barcode data already stored in a network shared variable?
Thanks for the additional information!
07-29-2014 01:09 PM
The main application is on a PC (Windows 7 Pro). It is a test fixture used in our factory. The user has an iPad installed on the wall over the test station. To start the test, he scan the product's serial number barcode. This barcode is read by the Dashboard application (bluetooth barcode reader) in the iPad. This serial number is also received bt the main application in the PC (network share variable). The PC application starts the tests and at the end, it returns a Pass/Fail result to the iPad (2 network shared boolean indicators).
The user removes the product from the test fixture and starts again with another product. The focus must always stay in the string control (in the iPad) to be ready to receive a new barcode string.
My question is : is it possible to force the focus in that iPad string?
07-30-2014 04:41 PM
Hello Michel,
I believe I understand your application better. Compared to LabVIEW, Data Dashboard has limited functionality and there is currently no way to programmatically set focus. If the string control loses focus (let’s say the user touches the screen anywhere besides the string indicator) then the user must restore focus by tapping on the string control. If the barcode scanner is removing focus from the string control automatically between scans, then the user will have to reestablish focus manually.
07-31-2014 09:42 AM
Hello Earl,
Dashboard is a great application. The iPad can replace a monitor, a keyboard and a mouse. It is very helpful in a factory environment.
I hope NI will keep improving the Dashboard application with new features!
Thanks for your help
Michel