LABVIEW based pda program to run in winCE

for our purpose we need to read analog signals through different sensors which is connected to samsung s3c mini 2440 arm board. for this purpose we have some VB based example programs. but we need some example files of LABVIEW based pda program that to run in winCE os. so help me out
m attaching the vb based source code of example files

Duplicate Post.
The best solution is the one you find it by yourself

Similar Messages

  • Java Program to run an https based url

    This is the simple code to read through a java program from a simple http based procot URL
    import java.net.*;
    import java.io.*;
    public class URLReader {
    public static void main(String[] args) throws Exception {
         URL yahoo = new URL("http://mail.yahoo.com/");
         BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        yahoo.openStream()));
         String inputLine;
         while ((inputLine = in.readLine()) != null)
         System.out.println(inputLine);
         in.close();
    But if i use the url https://mail.yahoo.com/ instead of http://mail.yahoo.com/ then i have an exception given below
    Exception in thread "main" java.io.IOException: HTTPS hostname wrong: should be
    <mail.yahoo.com>
    at sun.net.www.protocol.https.HttpsClient.b(DashoA12275)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA12275)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
    (DashoA12275)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:626)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Dash
    oA12275)
    at java.net.URL.openStream(URL.java:913)
    at URLReader.main(URLReader.java:7)
    Now i want this program based on https to run. SO can anybody help me running the same program by using https? Or can anybody give me the code to run a url based on https protocol?

    Same as http://forum.java.sun.com/thread.jspa?threadID=677398&tstart=0 . Check reply on the other post.

  • How does the Labview based program apply to computer which without Labview

    How does the Labview based program apply to computer which without Labview
    student number:1110340001

    SInce you list your "student number", you are probably using the student edition.
    You cannot build standalone executables with the student edition.
    You need LabVIEW professional. If you only have LabVIEW full, you need to purchase the application builder seperately.
    LabVIEW Champion . Do more with less code and in less time .

  • Passing two variables from LabView to Javascipt program or Vice Versa

    Ok let me be blunt here. Below is my code to move a ethernet camera. As you can see from the code when the page is opened up you are immediately prompted to enter values for a X-coordinate and a Y-coordinate. Once your value has been inputted in, the camera moves based on the values. Fantastic right? Here is where i'm scratching my head. My Labview program basically takes in sound (short-version here) and is able to determine the position of where the sound is coming from in a x, y value (NOTE: the program  THUS far has been able to determine the position but has not been worked on to output to a x y value. But for argument sake let's say it does). My question to all of you is this I have read other theads that asked this and noticed that the code (highlighted in blue) is what they think would do the trick. However, this needs to be constantly working. Meaning my program needs to be constantly be feeding data to the X Y coordinate OR it constantly needs to be prompted through Labview. I dont know what would work best or even what is feasible at this point.
    Any help, suggestions comments or opinions anything would be greatly appreciated.
    <script type = "text/javascript">
    <!--
    var x,          // x variable axis
        y,          // y variable axis
        counter;    // Basic Counter
    var newWindow; //varibale to open up new windows
    // The following code should be used to implement Labview into this program
    // This code has been unmodified since it was given to me
    // NOTES: Consider intializing lvapp and vi and variables
    // NOTES: The response function should be changed to X and Y
    // NOTES: The parameter "Output" should be whatever the Team uses to distinguish X and Y
        lvapp = new ActiveXObject("Labview.Application");
        viPath = "C:\\test.vi";
        vi = lvapp.GetVIReference(viPath);   // Load the vi into memory
        vi.FPWinOpen = 1;                    // Open front panel
        vi.SetControlvalue("Input",125)      // set the input parameter, 125 is just a sample
        vi.Run();                            // run the VI here, the "Call"-methode without parameter
                                             // does not work since it uses
                                             // the defaults of the controls
        response = vi.GetControlvalue("Output")  // get the output parameter    
        alert("Result from LV:"+response);  */
    // Initialization Phase
    counter = 0; // prepare to loop
    ccounter = 0;
    while ( counter <= 0 ) { // loop 1 times
            // prompt for input and coordinate from user
            x = window.prompt( "Enter X-axis coordinate:", "0" );
            // prompt for input and coordinate from user
            y = window.prompt( "Enter Y-axis coordinate:", "0" );
            counter = counter + 1;
    //if statement frame for camera control
    //Home position
    if (x==0 && y==0)
        newWindow = open('http://192.168.0.3/cgi-bin/camctrl.cgi?move=home', 'secondWindow',
            'scrollbars,resizable,width=500,height=400');
        if (newWindow && !newWindow.closed) {
                newWindow.close();
    if (x==1 && y==0)
        newWindow = open('http://192.168.0.3/cgi-bin/camctrl.cgi?move=right','secondWindow',
            'scrollbars,resizable,width=500,height=400');
        if (newWindow && !newWindow.closed) {
                newWindow.close();
    // -->
    </script>
    </head>

    I know that it's not very elegant, but how about writing the data to a file which could be read by the other application?  You could use some sort of locking scheme or queue to make sure the data stays current.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Mismatched versions of Labview and PDA Module

    Last spring we received the update of labview 8.2 to 8.2.1 and we bought labview PDA 8.2.1. We installed the whole this week. When I try to run\build the VI, the error "Mismatched versions of Labview and PDA Module" appears.     
    I looked on the forum and found a similar case but it updated Labview and LV PDA. I never had LV PDA 8.2. I try to install LV PDA 8.2.1 with LV 8.2 but it is impossible because it is not the same version.
    Do you have an idea of the cause of the problem?
    Thanks you!

    You will have to install LV 8.2 first then update it to 8.2.1.
    Reboot your PC.
    Install the LV 8.2.1 PDA toolkit (know that the toolkit also requires some other programs, mainly MS ones).
    This should work.
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • I want to play video on my computer to make some analysis to frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program

    HI All
    I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
    I used IMAQ AVI Read Frame VI
    for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisition

    Hi abdelhady,
    I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
    There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
    Thank you,
    Emily C
    Applications Engineer
    National Instruments

  • Looking for a labview virtual instrument program we can modify

    Hi, I’m looking for a canned labview virtual instrument program we can modify for the OMB DAQ 55 from Omega to measure three temps and control three DO.  I have the driver at:ftp://ftp.omega.com/public/DASGroup/products/OMB-DAQ5455&56/ The driver is labviewpdaq5xsetup.exe. I have the OMB DAQ 55 from http://www.omega.com/pptst/OMB-Daq55.html  with a USB interface. I am trying to set it up to control a 24V electric valve. I’d like it to measure temperatures (5 separate temps), allow a set point to be programmed for three of them and turn on and off a DO based on the temperature. PID is not required yet. Maybe in the future… We have labview 7.1 and 8.0 but my colleague prefers 7.1  Do you have an labview VI programs that you can share that will do this with the DAQ 55? If you have something that will be close, we can modify it. But starting from scratch will likely mean we can not get this done in time for a project test. Simple set point and control is all I’m looking for… I’m new (my colleague knows it better than me, but has less time) to labview and do not have the resources to learn it from scratch to figure this out. Is there something you have I could modify? Can you help. Or are there canned programs you have that will do this? Labview is the preferred language. Thanks. Attached is what Omega shared with us, it might help…it’s a screen capture from a similar program, but far from the mark.

    Hi vestel,
    These discussion forums are more geared for questions - not necessarily having everyone else code for you.
    You have a few options if you want code.
    1) Look at the shipping examples that come with LabVIEW.  This will give you a starting point from which to ask questions.
    2) Look at the Instrument Driver Network that exits on National Instrument's Web site.  Here are all the Omega instrument drivers listed.
    3) Look at the list of Alliance members who you can pay to develop your code for you.  Look here.
    I hope this helps,
    Kevin S.
    Applications Engineer
    National Instruments

  • Need certain LED's to turn on when program is run

    Guys,
    Attached is an instrument .vi that I have been working on.  I was wondering if someone could open it and make the following changes.  I need the following things to turn on when the program is run:
    2nd LED of the "Wheel" Button
    3rd LED of the "SYNC" Button
    2nd LED of the "MODE" Button
    1st LET of the "MEASURE" Button
    If someone could help me with this I'd really appreciate it....
    Attachments:
    New Focus Optical Chopper (Group 8).vi ‏65 KB

    Why don't you just manually click them on in edit mode, then make the current values default and save the VI?
    LabVIEW Champion . Do more with less code and in less time .

  • How do I get my program to run at a faster frequency?

    I am using the PCI-DIO-32HS (6533) board. A portion of the program writes a pattern of various handshaking signals. The other clocks in a bit of data and formats the data into arrays. The spec. sheets say this board can do pattern I/O at 13Mbytes/s or handshake at 76Mbytes/s. I'm running a 733MHz processor with 128M of RAM. Even after changing the buffers any from 4-50 Million, the fastest I could get either part of the program to run individually was about 1MHz. Together, they top out at about 50KHz. What do I need to do to get this program to work at about 2MHz?

    William,
    Try running one of the examples that ship with LabVIEW that does pattern I/O or burst mode handshaking. One of the things to keep in mind is to eliminate as much programming in the DIO write loop as possible as this will slow down your program and your data transfer rate that is attainable.
    In LabVIEW the examples can be found under Search Examples -> I/O Interfaces -> Data Acquisition -> Digital I/O.

  • Need help in pda programming

    Hi, I am new on pda programming. I already develop a java program using j2sdk1.4.2_05. I need to run this program in pda for my final project. Can i do this using creme? What version do i must use?
    If j2sdk1.4.2_05 can't, does jdk1.3.1 can?
    And anybody know where can i find pocket pc emulator so i can test my program on pc?
    Many Thanks before,
    tinna

    hi,
    I am currently doing a project in pda application. We are using jeode as a VM for the pda. But it uses java 1.2. Maybe you want to have a look at it. however u cant use the swing class in jeode and only awt is the class availlable for programming interfaces.
    If you need jeode u can contact me. I can give you a free copy which was availlable till last year as now it has gone chargable.
    Also do you have any idea about how can i read and write txt files or dat files from desktop using java. I want to use a usb cradle for connection.
    This information would be really appreciated as I need this for my second year project.

  • How to find out if an external program is running

    I am using LabVIEW 8.6 and have some vis that start an external program using the System Exec call. The program that is being started was not written by me, and I have no control over it. I need to make sure that it is started before I proceed, but I don't want it started more than once. At the moment I need to terminate it manually when I exit the vi. I also need to make sure that it is not running when I start the vi or I will get two copies. I have a switch to prevent  this, but it requires manual inspection and control every time I start the vi. I would like to know if there is some way the vi can list all the programs running and start the external program only when necessary. Closing it at the end would also be nice, but not as important as starting it once and only once. If I had control over the program I could use the existence of a file to tell me if the program is running or not, but that isn't possible. Is there some tricky way to use stdout in the System Exec call to accomplish the same thing?
    Rich

    Nothing tricky about it. Just use the command appopriate for your OS. For Windows:
    Then just use the Match Pattern function (for example) to search the string. 
    Message Edited by smercurio_fc on 03-02-2009 01:52 PM
    Attachments:
    Example_VI_BD.png ‏1 KB

  • Forcing programs to run in Rosetta?

    I'm trying to install a non-universal program (Borland's JBuilder Foundation) on my Intel-Based iMac. The installation will not complete and the program will not run, generating a message in the log file to the effect that my machine configuration does not support the "Java VM for PowerPC."
    I was under the impression that OS X for Intel macs included a code-translation technology ("rosetta") that would allow it to execute code compiled for the G4, albiet more slowly than native code. Is there any way to force this program to run through Rosetta?

    Yes, that's correct, but some Java apps that use certain Java libraries will not work because these libraries are not universal binaries and will not work via Rosetta. Any Java applications that use the JNI libs will not work unless the developer provides universal binary versions of the libraries they use. Non-Java applications will normally work through Rosetta if they are PowerPC-only. Java apps that do not rely on the JNI libs should work normally.

  • Is there any crush between LabView and other program ?

    my system is win98 with LV 6.1. After installing this software (ACDSee 5), my program got error -10800, trigger timeout (my program is developped DSA.vi example) everytime i ran the program, it never happens before. Then after i uninstall the software, my program work just like before, no problemo.
    Can Labview crush with other program ? How ?

    I don't think it's actually LabVIEW that's causing this problem but a hardware driver issue. Error -10800 is an NI-DAQ error. If you installed ACDSee (I like that name) it appears that they supply drivers also, so you're probably getting some problems with these two drivers being installed. Make sure that any other LabVIEW programs still run or if they generate this same error. If they do, then it's certainly the driver. Otherwise, it's a particular operation that's interfering with the ACDSee software.
    J.R. Allen

  • IMac - freezes or pauses intermittantly - usually for 2 or 3 seconds no matter what program is running - sometimes just touching a menu to get a drop down will take several seconds

    my iMac freezes or pauses intermittantly - usually for 2 or 3 seconds - no matter what program is running - sometimes just touching a menu to get a drop down will take several seconds - if playing music on iTunes or Spotify the music will pause for several seconds - it is not internet related because it happens when working off line - its become a major annoyance in using the compuetr - really slows it down - any suggestions?

    Run the Extented Apple Hardware Test from the original system disc that came with your iMac, as per > Intel-based Macs: Using Apple Hardware Test

  • Copyright issues for a LabVIEW based application

    Has anyone filed a Copyright for a LabVIEW based application? Copyright office is asking for printed code, which may not work in the case of LabVIEW. Any suggestions?
    Ravi Beniwal

    My general experience with copyright and patent law (copyrights in both music and software) is that, for the copyright process, no individual is going to evaluate your code and "approve" your code/program as with a patent application. The documentation of the code is necessary to build the record that you have created "x" method and someone should not copy your "x" method. I would send a print out of your code in G and perhaps a flow chart.
    If you are looking for protection as to what you program does then you may want to consider patent application, but this is significantly more expensive than the copyright process. Also, under the copyright law, your work is considered copyright protected from the day at which you display copyright info on all of the objects and this is important in proving (later, if needed, if someone copies your work) that you have sought to actively protect your intellectual property. So put (c) 2005 on all the materials that contain your code and or application.
    TommyH

Maybe you are looking for

  • Question about the key of loops

    I am reading the logic getting started book and they say there are two type of loops audio files and software instruments. in the book it says: "the advantage of apple loop audio files is their ability to automatically match the tempo and key of a lo

  • Oracle not starting up

    Hi , I am using Windows server 2003 and Oracle 10g R2 . When I start my database I am getting the below error .. ORA-03113: end-of-file on communication channel I am executing this command .. SQL> conn /as sysdba Connected to an idle instance. SQL> S

  • SQL*LOADER 시 발생하는 ORA-1653 ERROR

    제품 : SQL*PLUS 작성날짜 : 2002-04-25 SQL*LOADER 실행 시 발생하는 ORA-1653 ==================================== PURPOSE 다음은 SQL*LOADER 실행시 ORA-1653 ERROR가 발생시에 조치하는 방법을 설명한다. Explanation ORA-1653 error 는 특정 tablespace 에 space 가 부족해서 table의 extent가 일어나지 못해서 발생하는 e

  • Cloning from solaris 10 sparc to solaris 10 x86

    Hi, We would like to know if it is possible to clone from production instance solaris 10 sparc to test instance solaris 10 x86 (intel) in 11.5.10CU2. And if yes or no is it possible in R12.1.2. Thanks Brice Guillard

  • The good news:new firmware for n97/n97mini

    new firmware for n97/n97 mini The nokia world 2010 update to symbian^3