LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to run applet after open an IE vit in labview?

Dear all,
In my application, I open IE using labview vit to run an html page which contains an applet.
But the problem is at my computer at home, when I run the JVM automatically shows up and run the applet, but at the office, this JVM does not show up show it can not run (although if I open it using standalone IE, it runs fine)

I did check for the IE settings, windows Xp (sp2), JVM 1.5, and others but still not solved.
Is there anything to do with labview to make sure that the JVM run the applet?

Thanks.
0 Kudos
Message 1 of 6
(3,281 Views)
Hi,

I think it's probably a setting in your Internet Options that's not set to have Java automatically load for Java applets. If you go to Tools >> Internet Options >> Advanced, you'll notice the Java and Windows VM categories. Go ahead and check everything that is related to Java to see if that is the cause of the problem. I've attached a screenshot of the Advanced window with the options to select below.

Hope this helps.

Kileen
0 Kudos
Message 2 of 6
(3,262 Views)
Left off the screenshot. See below.
0 Kudos
Message 3 of 6
(3,262 Views)
Thanks,
I did as you advise, but still not work.
For a more clear explaination:

I attach 4 files (in zip file called esco.vip, pls change back to .zip and open it): one is labview file to open the IE, one is the html file, the other is the .class file of java applet, the last one is the source code of this java applet (for you to recompile and check the safety in case you doubt my .class file about security). Pls put all of them in the same folder

So, if your computer has the JVM, you open the html file using an IE, you will be able to see scroll text runing.
if you open the labview vi, key in the file name, and run it, my home computer can see, but my office computers is not allowed to see (it will appear the grey line). I'm not sure you computer will experience the same (hope you do 🙂 )
So my question is: how to make it running in labview?

I had check the setting and configuration, they are quite similar:
-win XP, SP2
-IE 6
0 Kudos
Message 4 of 6
(3,255 Views)
This error has us stumped! Are you sure that your computer at home is able to run the LabVIEW program successfully? Can you take a screenshot of it? I get the same error on several computers here at work where it is only the gray bars that display on the actual LabVIEW VI. The java applet works great in IE!

I’m thinking that there must be something different with your home and office computers. Same Java Runtime Engine version? Same IE version? Does one have the Java SDK installed? What about environment variables set on the computer (right-click on My Computer >> Advanced >> Environment Variables)?

Very strange behavior. I want to make sure that this works on your home computer before I file this as a bug.

Thanks!

Kileen
0 Kudos
Message 5 of 6
(3,242 Views)
Sorry for late reply, I'm really busy recently.
I have contacted with the NI technical support in Singapore. The guy in NI also can not run this applet in his computer and he also gave it up, he only suggest me an alternative solution which I still have not time to explore.

For the my home computer can run. I also have no idea why. My home install JDK 1.5, before that I also install 1.2 JDK, 1.3 JDK (for testing other project).

I had uninstall 1.2 and 1.3 but it's still able to run the applet by labivew.
I'll try to take a print screen then send to you.
In the moment, could you check with some labview expert about this problem.

Thanks.
Regards,
0 Kudos
Message 6 of 6
(3,210 Views)