Can I run an embedded program on me LEGO Mindstorm 2.0 using LABVIEW??

Hello guys,
 I am working now on my Lego mindstorm 2.0.. But i have a problem on my robot on how to work with this problem:
    I made a security robot, it has ultrasonic sensor. the ultrasonic sensor is set up to 15 inches. Once the ultrasonic sensor detects a object it will alarm.
   .(I do the programming in the Lego Mindstorm software not with Labview.)   and now I want to do with my robot is when the sensor detects it will send a
    SMS Message to my cellphone. My friend tells me that once the sensor detects it must connect the NXT BLUETOOTH to the BLUETOOTH  of the
    cellphone. I believe that I can use labview with my problem.
   and the cellphone will text to my cellphone. Can i do it with Labview? Can i save a program to my NXT brick to do that? because the first cellphone
  works as a transmitter and the second cellphone will recieve the Message. Can you please give me ideas and example to do this. I am really new to
 Labview. I use labview 9.0 trial version. Thank you.

In another thread...
Weeward wrote:
I have another favor to ask, can you please
give me a program sample on how to send a SMS  using Labview because
unfortunately I dont have any idea where to start. Thank you very much..
One more, do you think aside from using Labview to send sms, is it
also possible to use Java?' will NXT accept it? if it is so, can you
please give me sample program?
PS: Guys I only have more than 2 weeks to solve this problem because at
the end of this month I must present and defend my project. I used to
ask my friends and other people but they dont have any idea or broad
knowledge about NXT. So please help me guys till I finish this
project..Thank you.
It sounds like you are short on time and desperate for solutions! Unfortunately, I'm not aware of anyone that has already completed this exact task and has example code available.
Please go back and re-read my previous post about different modes of communication. The NXT will not be able to accept SMS messages -- it can only accept Bluetooth messages sent through the Serial Port Profile. I'm pretty sure Java provides functionality that would allow you to do this.
Have you considered alternate programming languages for the NXT? You can find a short comparison of languages here: http://www.botmag.com/articles/10-31-07_NXT.shtml
Keep in mind that we can't offer much assistance with other languages, but if those languages are more familiar to you, they may help you get to a solution more quickly.
James Blair
NI R&D

Similar Messages

  • Can you run a pc program on a mac?

    Can I run a PC program on the a new mac?

    Yes. But.
    You will need some kind of software environment such as Boot Camp (free from Apple) or Parallels.  Then you will need to buy and install Windoze.
    charlie

  • How can I run external console program, printing output to JTextPane?

    How can I run external console program, printing output to JTextPane?
    I have a console app. written in C++ and I would like to run in it from java swing app. and I would like to see its output in a JTextPane.

    I have used this article
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    to successfully pipe output from jboss batch files to a JTextPane.

  • Can I run my J2ME programs in my Zire71 Palm Top ?

    Can I run my J2ME programs in my Zire71 Palm Top ?
    If yes then please describe me the way
    Advance Thanks to you
    Best regards
    -Nahid

    PalmOne claims not to support the Zire 71 at the moment.
    http://www.palmone.com/us/support/jvm/

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

  • How can i run my java program in background process?

    hi all,
    i am working on desktop monitoring so when i start my program on client machine that is visible to all but i want this program client not visible to all instead of this can be run in background process . so, nobody can see that.
    so, how i can do this ?
    pls pls help me
    thanks in advanced to helper
    regards
    maulik & ritesh

    this will run the java program in the background.It'll just use the Windows Java Console instead of the command-line console. It has nothing to do with running as a background process.
    Edit: though this might be exactly what the OP wants: not "background process" but "no DOS console".

  • How can I run an external program from a PLSQL procedure?

    Is there a package to run an external program from PLSQL? or is there another way to do that?
    thanks.

    here there is an example about how a PL/SQL procedure can
    work with an external C program.
    http://download-east.oracle.com/docs/cd/A87860_01/doc/appdev.817/a76936/dbms_pi2.htm#1003384
    Apart from that you have Java Stored Procedures option
    to carry out your task.
    Java Stored Procedures Developer's Guide Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/java.920/a96659.pdf
    Joel P�rez

  • ACL Errors, Can't Running Any Windows Program (such : CMD, Notepad, TaskMgr, etc)

    Hello guys, Please help me.
    Today I got weird Problem, My Windows 7 Ultimate eventually can't execute any Windows Programs, such : Msiexec, Cmd, Notepad, Taskmgr, Msconfig, Regedit, etc.
    When I tried to run any Windows Programs, the Message Box Appeared with this message : Insufficient system resources exist to complete the requested service.
    Then I checked my System32 Directory, I was shocked because All of Windows Defaults Programs appeared with Locked Icon.
    Then I checked 1 by 1 Windows Program, for an Example : dcdiag.exe. I checked the Security Tab and I got this notifications : No Permissions have been assigned for this object.
    Warning : This a potential security risk because anyone who can access this object can take ownership on it. The object's owner should assign permissions as soon as possibe.
    Other Informations : 
    1. My Windows account Privilege is Administrator. 
    2. I've Actived Anti-Virus and Always Updated. 
    3. In Safe Mode Everything Was Fine, I Can run Notepad, Task Manager, Command Prompt, etc (except : Msiexec / .msi Installer). 
    4. I tried System Restore in Safe Mode, but I don't have any Restore Points. In Normal Mode, I can't execute System Restore.
    So, How can I solve this Problem?
    Body text cannot contain images or links until we are able to verify your account -__-"

    Hi,
    According to your description, it seems like a program which start with Windows blocked the access of these app.
    To open Msconfig, you can boot into Safe Mode firstly, then open Msconfig and following clean boot process to execute the operation.
    If there is any progress, please feel free let me know.
    Roger Lu
    TechNet Community Support

  • Can We Run a ABAP Program in Background

    Hi,
    How to run an ABAP Program in Background.
    Points willbe awarded.
    Regards,
    Jayasimha

    Hi,
    <b>Please see this document also
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096ccb543b11d1898e0000e8322d00/content.htm
    Easy Job Scheduling Using BP_JOBVARIANT_SCHEDULE</b>
    To schedule a job from within a program using the express method, you need only call the BP_JOBVARIANT_SCHEDULE function module.
    The express method has the following characteristics:
    Simplified job structure: The function module schedules a job that includes only a single job step.
    The function module uses default values for most job-processing options. You cannot, for example, specify a target printer as part of the call to the function module. Instead, the job step uses the print defaults of the scheduling user.
    Only ABAP reports can be scheduled. You must use the "full-control" method to start external programs.
    The range of start-time options is restricted. Event-based scheduling is not supported.
    The function module works as follows:
    You name the report that is to be scheduled in your call to the function module.
    The function module displays a list of variants to the user. The user must select a variant for the report.
    You must ensure that the variants required by your users have already been defined.
    The user picks either "immediate start" or enters a start date and start time. Optionally, the user can also make the job restart periodically. The job is then scheduled.
    Example
    You could use the following code to let users schedule report RSTWGZS2 for checking on the status of online documentation:
    call function 'BP_JOBVARIANT_SCHEDULE'
    exporting
    title_name = 'Documentation Check' " Displayed as title of
    " of scheduling screens
    job_name = 'DocuCheck' " Name of background
    " processing job
    prog_name = 'RSTWGZS2' " Name of ABAP
    " report that is to be
    " run -- used also to
    " select variants
    exceptions
    no_such_report = 01. " PROG_NAME program
    " not found.
    call function 'BP_JOBVARIANT_OVERVIEW' " List the jobs that
    exporting " have been scheduled
    title_name = 'Documentation Check' " Displayed as title
    " of overview screen
    job_name = 'DokuCheck' " Jobs with this name
    " are listed
    prog_name = 'RSTWGZS2'
    exceptions
    no_such_job = 01.
    Regards, ABY

  • How can I run the C program which will interact with user

    hi, all
    I wanna run a C program whose function is that just show a line of characters, waiting for user input and finally show what user has entered. The C can run correctly in command window. But when I use Runtime class, it can not run correctly. My question is that how I can emulate that C program just by invoking Java method. The code I have written below, thank.
          String command = "cmd /c a.exe";  // a.exe is that C program
          String s;
          try {
             Process process = Runtime.getRuntime().exec(command);
             InputStream input = process.getInputStream();
             BufferedReader bufferedReader =
                new BufferedReader(new InputStreamReader(input));
             while((s = bufferedReader.readLine()) != null)
                  System.out.println(s);
          catch(IOException e) {
             System.err.println("IOException: " + e.getMessage());
          }

    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html#getOutputStream()

  • How can I run an external program without quitting Firefox?

    I want to run an external program from within Firefox, much as Outlook express is run from the email button. How do I set this up?
    Firefox doesn't import my Bookmarks from the listed html file. Any cure for this?

    I don't want to run the mail program, I want to run another program.
    Maxthon allows me to do this using External Tools. Does Firefox allow me to run other programs without leaving Firefox?
    2. Firefox allows me to load an html file which contains my bookmarks, but it doesn't load the bookmarks file. is there a solution?

  • Can we run multiple sapinst programs in parallel?

    We are planning to upgrade our EP, XI and BW simultaneously. These SIDs all reside on the same server and same OS. Is it possible to run multiple sapinst programs in parallel? I know it may require specifying separate ports for the 2nd and 3rd instance of sapinst. For example: sapinst 1 gets default ports 21212, 21213. sapinst 2 will take 21214, 21215 and sapinst 3 takes 21216 and 21217.
    Has anyone attempted this sort of a thing before? Appreciate your thoughts.

    Never done that before, maybe it works .. however it could run into problems when the sapinst are trying to access the same paths / files.
    Regards,
    Siddhesh

  • Can I run gcc compiled programs in the terminal?

    I compiled a simple C program in the terminal using gcc 4.0 from the Xcode 2.2 distribution. I used gcc a.c at the command line and the compiler produced a.out. When I type a.out at the command line, I get the message
    tcsh: a.out: Command not found.
    Am I missing a step in the comilation phase? Is it possible to run gcc compiled programs in the terminal? I get the same results in the bash shell and when using X11.
    eMac G4   Mac OS X (10.4.6)  

    ./a.out is correct. Your current directory in not in your $PATH. You could add "." to the PATH, but that is considered a security compromise, because an unexpected command could be introduced either maliciously or inadvertently. (I have seen this happen.)

  • How can I program my imager to take longer samples using labVIEW?

    What I would like to be able to do is to use LabVIEW to program my external hardware to take a sample length of a specific time. I would also like to be able to find out how fast my Imager is sampling at, kind of like using the program as an oscilliscope to read the sampling rate of my hardware.
    Any advice would be much appreciated.
    Thanks,
    Brian

    Bruce,
    I have a PCI-1424 Image Aquisition board, and it is connected to a KLI-2113 Kodak imager. The reason that I was thinking that I could get some kind of clock reading from the Kodak imager is that In the graphs, (I will send them), in some of them you can definatly see a pattern, exspecially if you leave the points on the chart and run another cycle, they almost mimick the previous results. What I would like to be able to do is to see how long each one of those cycles are running. The graphs time axises are messed up because If I have it one way I get like 295 and if I transpose it I get 79, (as you can see in the graphs). I think those are how many samples that are comming from the board but in some instances you can see th
    e exponential grades on the graphs and charts which leads me to believe that somehow the CCD chip is reading the collected charge in samples starting from the left to the right, (or the other way). I want to know how it is reading it, how long each sample is and how to collect either x amount of samples or y amount of time for each sample. Also it is interesting to note that the sampling on the x axis stay the same no matter where and how the light is shown onto the CCD chip.
    Anyways, I will attach the graphs so you can see what I mean and I will also attach the KLI-2113 Manual. I really appreciate your help Bruce,
    Brian
    Attachments:
    kliColorEvalBoard.pdf ‏247 KB
    Close_vs_Far.doc ‏349 KB
    Thin_Band.doc ‏136 KB

  • I can't remove a spyware program from my Thinkpad G40, even after using the factory reinstall

    Hello,
    Is it me or is this in German?  I recently discovered a spy-ware program that had escaped detection for months.  When I tried to remove it  critical files disappeared.  I am running Windows XP pro.  I also found a program Supportable Agent-en which I could not uninstall.  I did find a way to erase some of the programs files, but the, you guessed it, windows would not load.  I followed the instructions for returning the O.S. to factory condition, which is supposed to erase the hard drive, but when the process was done the program was still there.  I attempted the reinstall several times and observed that right at the end of the program installment phase, Support.com  unzipped and installed itself.  Of course I am not able to load any virus removal software.  Can anyone explain what is happening and if there is anything that I can do to fix it?  Thank you, Scott
    Solved!
    Go to Solution.

    Scott
    You can follow this method if you have the recovery cds with you.Use Lenovo's secure data disposal and wipe the entire HDD clean, then use your discs to restore to the default factory settings.
    http://www-307.ibm.com/pc/support/site.wss/TVAN-SD​D.html
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

Maybe you are looking for