LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows 8 touchscreen stop working with LabView application

This is sort of long shot after googling for days.

 

On 2 different tablets (Asus with W8 and Sony with W8.1) the touchscreens stop working while running a LV2013 application.

This occurs about 50% of the time with time to failure ranging from a couple of minutes to an hour (or never in 50% of the runs).

 

A bluetooth keyboard confirms that the tablets aren't locked up and the LV application is still running normally -- just no touchscreen operation.

The application is logging data to a file at a slow rate (<1K bytes per minute).  It's a small application so I don't beleive memory is an issue.

The same application runs without any issues on a laptop but there is no touch screen interface to worry about.

 

A power reboot returns the touchscreen to normal.

 

Are there any known issues with LV and the touch screen interface on win Win 8?  Is there some type of "magic" key combination that disables/enables the touchscreen?

0 Kudos
Message 1 of 10
(4,011 Views)

Hi cosborne,

 

Thats one interesting project you have there. So just to confirm with you:

 

  1. You have developed and run the same LabVIEW program and its application on the same tablets. But you have encountered and error only when running the LabVIEW application in the tablet?
  2. When you say touchscreens stop working, meaning that all the front panel functions is not working? 
  3. Can you provide that LabVIEW code which you used to build that application? I would like to see what is inside the LabVIEW VI which might cause the problem.

 

Thanks 

 

Warmest regards,

Lennard.C

Learning new things everyday...
0 Kudos
Message 2 of 10
(3,982 Views)

Thank you for the reply.

To answer your questions:

 

1. Its the same application on the tablets and the laptop but it's really designed (font and control size) for the smaller screens of the tablets.  The laptop doesn't have a touch screen so I can't confirm that the same thing wouldn't happen on the laptop hardware.  Another big difference is the laptop is a Win7 OS and the tablets are Win8 and Win8.1

 

2. The tablets continue to work properly except for the touch screen which no longer responds in any way.  The hardware buttons work and a bluetooth keyboard and mouse also function properly.  Of course the external keyboard and mouse are only normally available in the lab -- on site they would not be available so the user can only do a hard reboot with the power button.

 

3.  Unfortunately I can't include the code.  When I get back from traveling I will try to create an small example to demonstrate the problem.

 

This was built in a hurry so the testing is mostly being done by the end user (they wanted a quckly delivery beta).  Most of the code is from a long established application so there isn't too much thats new.  Basically it was a UI update.

My only guess so far is that there might be an issue between the file system access and the touch screen driver.

 

0 Kudos
Message 3 of 10
(3,972 Views)

Hi cosborne,

 

I would say running your LabVIEW VI or its applications in Windows 7 OS laptop will work. But I'm not certain about how you run those exe in Windows 8 tablet. I would presume that the Windows 8 tablets you have runs the same as the Windows 8 in Microsoft Surface Pro (Runs on Windows 8 not Windows RT). 

 

  1. Okay, have you installed LabVIEW inside the tablet before (I'm not sure about Windows 8 tablets). If not, have you created an installer which includes LabVIEW Run Time Engine 2013? (Ref link: http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_installer/). 
  2. So in other words, everything other than LabVIEW, works properly?
  3. Do send me the code if possible. At the meantime, perhaps you can create an EXE for a VI which has a simple function (e.g. reading an increment value from a running while loop or reading the string value from Elapsed Time Express VI) 

Warmest regards,

Lennard.C

Learning new things everyday...
0 Kudos
Message 4 of 10
(3,966 Views)

Hi cosborne,

 

Unfortunately Windows 8 and 8.1 are not fully supported on LabVIEW 2013 yet. It sounds like there is a driver issue going on. Is there any way you can put Windows 7 on your tablets?

 

http://www.ni.com/labview/os-support/

 

Regards,

 

Tom Niewiara

Applications Engineer

National Instruments

www.ni.com/support 

Thomas N.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 10
(3,921 Views)

You can also make your own touchscreen using "mouse up" events and numeric/keyboard pop-ups. Since we go back and forth between touch screen and non-touch screen we need a way to menu drive if we want touch screen support or not. There are VIs located somewhere on the website (forums or idea exchange) that can do exactly that. It may be the workaround you need to continue application development and have it compatible with all versions of windows. If you are really interested I might be able to find the old post.

0 Kudos
Message 6 of 10
(3,917 Views)