Rs232 controll robot

Hello Community!
I'm a newbie in working with LabView and have a big problem, concerning the programming of my LabView Robotic Starter Kit using the Embedded-Controller NI sbRIO-9631.
I need to program my robot as following: the robot communicates with my pc via RS323 and should receive direction commands (driving forward, left, right...).
Does somebody have such a programm? 
Please help me, I am totally desperate!!
Thanks in advance!
elektm 

Elektm,
This forum is specifically for IF-RIO. You will likely have better luck asking your sbRIO question in the Real Time Measurement Board: http://forums.ni.com/t5/Real-Time-Measurement-and/​bd-p/280
That board covers: CompactRIO, R Series, FlexRIO, and sbRIO

Similar Messages

  • RS232 control of a Samsung ME55A

    I am trying to setup RS232 control over a new ME55A Samsung display.  I have tried every combination of cabling and codes I can come up with but the display does not respond.  The unique thing about this setup is the display uses a mini 3.5 jack to DB9 for it's RS232C connection.  Also the TV documentation keeps mentioning it's MDC program for remote controlling it when referencing RS232.  Is this TV not capable of basic RS232 control?  Am I missing something else?
    Here is the example of how to com e up with the code (example is actually the code I need/use too):
    https://supportforums.cisco.com/docs/DOC-14104
    Here you can access the user manual for it:
    http://www.samsung.com/us/business/support/downloads/led/LH55MEPLGA/ZA
    I've been able to do this on a wide varietly of panasonics and LG's, so this is driving me nuts!
    Thanks
    -Gordy

    Oct 2, 2012 5:57 AM                             (in response to bdavenpo)
    RS232 Pinout for DMP4400G
    I have  been using the 9pin to mini 3.5mm that is included with the DMP4310 on  the DMP4400 to conect to the ME46 & ME55 Samsung. The pin out is in  the Cisco Stadium Vision PDF on page 100.
    http://www.cisco.com/en/US/docs/Sports_Entertainment/StadiumVision/Director/design/guides/3_0/SV_Video_Endpoint_DIG_3.0.pdf
    I have found several of the adapters included with the Samsung monitors don't work.

  • RS232 control of Sharp TV

    I am working with DMM 5.2 and DMP4400G w/ 5.2
    I am attempting to control a Sharp TV (LC-42D65UT) through DMM system tasks.
    The Sharp TV is looking for text control rather than hex apparently.  Command codes are listed in the manual.
    The format is 4 command digits followed by 4 parameter digits followed by a carriage return.
    For instance, the Power off command is POWR0 followed by 3 spaces(all parameter digits MUST be filled, hence the 3 spaces)followed by a carriage return.
    Using Putty I can control the TV from my PC through Putty and the command is executed as soon as I hit Enter(CR).
    I ran the system task to control non-DMTech displays, then I created a system task with the following command  rs232.tx_str=POWR0
    When I connect the DMP to my PC and send the command formatted without the spaces or CR the DMP sends the text correctly to Putty.  If I include a space anywhere in the command the DMP sends nothing.  The TV does not accept the command without the spaces and CR.
    So, is there a way to include a space and CR in a text string to be sent by the DMP and have it send successfully the entire string?
    Thanks for any help.  Mike

    Sorry but the SharpUSA site is down so I can't get your particular model but here is an example
    to accomplish you tasks:
    Sharp LC-42D64U
    Sharp product manual
    http://www.sharpusa.com/files/tel_man_LC45GD6U.pdf
    Page - 95 - 97 rs-232 info
    Ascii to hex conversion
    http://www.laynetworks.com/ASCII%20to%20hex%20value%20chart.htm
    Sharp - RS232.Control
    To use the RS232 commands on the DMP the serial port must be set to ON and be
    pointed at the /dev/ttyS1 device.
    To check this create a System Task to check your settings using number 5 below.
    If your serial port is anything other than /dev/ttyS1 use number one to set it correctly.
    1 Create a system task under application
    use type "set"
    name it "RS232 ON"
    init.startService_rs232=yes&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    2 Create system task "RS232 OFF"
    use type "set"
    init.startService_rs232=no&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    3. Create system task "TV On" (((ascii =powr1_ _ _ + cr)))
    use type "set"
    rs232.tx_hex=504F5752312020200D
    4. Create system task "TV OFF" (((ascii =powr0_ _ _ +cr)))
    use type "set"
    rs232.tx_hex=504F5752302020200D
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • Control Robot by Speech Recognition by Arduino

    Hi guys,
    I want control robot by speech recognition with Arduino, I want to use also Hidden Markov algorithm. I need help!!!!!!!!!!!!!

    hello queeste possible link may be useful
    http://www.robotshop.com/blog/en/carlitos-projects-speech-controlled-arduino-robot-3684
    Atom
    Certified LabVIEW Associate Developer

  • Problem using events to control robot

    We are using an event structure to control a robot. As you see in the included example, we are using the serial port to transmit data to the robot (actually hyper terminal for now). NOw that the last event has been added (including the graph at lower right), the VI stops responding and must be aborted whenever a button is pressed more than twice in a row. Perhaps the problem is that the serial port is getting overwhelmed (though we are only sending 4 bytes on each button click).
    The graph event is taken from the vi called "Draw Graph With Events" that is included with labVIEW. However, instead of drawing on the graph, we send the coordinates to the robot. When the user clicks on the graph first, it works as intended, but then the
    buttons don't work and vice versa.
    Thanks for any help you can give.
    Sean and Josh

    sorry, I've had a problem posting it. I should be able to put it up soon. Please check back if you can!

  • Keyboard interfacin​g in starter kit 2.0 Robot

    Hello
                     I want to control starter kit 2.0 robot using  keyboad . anyone  worked  in Keyboard interfacing in starter kit 2.0 Robot ?
                     I use event structure to get  scan code of press key . according  to this code control robot  example if forward key press then make steering frame velocity array [0,1,0] (1 m/s forward velocity )  sand give to "Apply velocity to Motor" VI . so robot move according to steering frame velocity.
    but this logic not working  !!!!!
    can anyone help me ..??
    Thanks
    Nirav Virpara

    Hey,
    The robotics starter Kit is a standalone machine with an FPGA on it. The Starter Kit is not controlled by a computer. However you could instal drivers for a Keyboard on the FPGA , then write a code so that the FPGA understands the keyboard input and be able to control your robot. 

  • Audio tape database + digitally controlled tape deck?

    I have a client who wants to digitize his large library of cassette tapes, starting with 250 tapes of stories he has told his children. I have been searching for an OS X software product or freeware that could do the job well, which would include the ability to play the indexed audio file.
    The data to be indexed would include: story, tape #, start time (tape index), and all the characters in the stories, so that one could retrieve a list of stories that contain a particular character.
    Another useful thing would be a digitally controlled tape deck, but the only one I can find is for the PC only. (there are some rs232 controlled decks, but no real details on how to control them, and no info about what software, and no RS-232 interface on the mac laptop in question.)
    If anyone has any ideas, or knows a better forum to post this on, please let me know,
    Thanks
    Joel

    Hey Joel,
    Well first lets talk about digitizing. There are many methods, and pieces of equipment to use but you can probably learn some info from the macworld article on digitizing tapes. I assume you saw the same USB deck that I saw- The Plusdeck, and while it currently does not support OSX, hope may be on the way because in their forum they have posted a want ad for a mac developer. In terms of cataloging, personally, I would just use iTunes. You can include Name, Album, Artist, Track Number, Disc Number, Grouping, Composer, BPM, Genre, and it also includes a large comments field in the metatag. I would think you could adapt all these field to your needs. However, many database apps are available for the Macintosh. In the pro world, Filemaker Pro is a pretty accepted standard. However, pricing for it is pretty steep, at $299. Another solution which may be a little more price acceptable is EagleData, which is a freeware database app. To tell you the truth- I really don't think you want to get into RS232, but if you're really interested, we can talk about programming it and the different protocols. Hope this helps...
    --Justin S.

  • Robotic programming and others

    hello friends,
    P lease, can someone give me a hint on the following :
    1. resources including appropriate softwares, code, classes, materials
    i need to write a java program that can send commands(or signals)
    via an infra-red(as in a TV remote control) or via laser or normal wires,
    to a machine or robot. for instance asking a machine to start, stop etc.
    or asking a robot to move, fly, land etc. how can
    i achieve this. your help is most welcomed thank you.
    2. i have a java program, which has a GUI that covers the entire screen including
    the status bar(just like in screen savers). But while it is visible, or being used
    and a user clicks CTRL + ALT + DELETE, in order to shut down or activate the task manager
    to enable him terminate the program, he achieves this successfully. But i don't want him
    to be able to do so. I want the java program to be the first to intercept or trap the
    CTRL + ALT + DELETE , and not the Operating System. I'm using windows2000 and XP.
    What code can i add to my java program to enable it trap this instead of the OS. The function to
    achieve this should only function while my program is running. Moreso, when it traps the key events
    it should request for a password to terminate the program, which if not correct, the program remains.
    3. can i deactivate the taskbar while my java program is running or prevent the taskbar or the programs
    menu from comming up when the user presses the window icon on the keyboard. can i achieve any of
    these with java. If yes, please how can i do these.
    4. any idea of a site where i can learn stuff on robotic programming with java and microprocessor
    programming with java.
    5. Please, sample codes will be well appreciated.
    Thank you in advance for your kind help.

    hello,
    in my question on this topic i got the following reply:
    1) In a previous Java Tech Days conference (2002), Simon Ritter from Sun shown us a small demo using Java-controlled robots (actually a Lego Mindstorms one, see http://lejos.sourceforge.net/ ). Maybe you could try to contact him in a Java Tech Days conference near you, or use the e-mail (simon dot ritter at sun dot com)
    2) Ctrl+Alt+Del is not trappable. You can use Windows policies to keep the user logged in a "kiosk mode".
    3) Same as 2)
    4) Same as 1)
    5) Same as 1)
    please, how use Windows policies to keep the user logged in a "kiosk mode in java. codes will be appreciated.

  • RS232 Serial commands for Cisco 32" LCDs

    Are the serial commands for power on/off for the Cisco 32" LCDs different than the 40" and 52" monitors?
    The "rs232.tx_hex=aa11fe010111" for power on and "rs232.tx_hex=aa11fe010010" work fine on the 40"s but the 32"s do not respond to these same commands.
    I know the 40" and 52" LCDs are Samsung. The 32"s appear to be LG so I would suspect the serial commands would be different as well.
    I have been unable to find any documentation for the 32"s.
    Thanks in advance

    Doug,
    Have you tried using the Control TV icon in the DMP Manager?
    You can power on and off the Cisco 30" from here along with
    other rs232 control commands.
    You also could use wireshark to sniff the wire to
    see what codes the DMM are sending the DMP.
    Cisco 32"\LG - RS232.Control
    To use the RS232 commands on the DMP the serial port must be set to ON and
    be pointed at the /dev/ttyS1 device.
    To check this create a System Task to check your settings using Task 5
    below. If your serial port is anything other than /dev/ttyS1 use Task 1
    to set it correctly.
    TASKS
    =====
    1. Create a system task under application
    use type "set"
    name it "RS232 ON"
    init.startService_rs232=yes&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    2. Create system task "RS232 OFF"
    use type "set"
    init.startService_rs232=no&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    3. Create system task "Cisco 32N LCD ON"
    use type "set"
    rs232.tx_hex=6B612030312030310D
    4. Create system task "Cisco 32N LCD OFF"
    use type "set"
    rs232.tx_hex=6B612030312030300D
    5. Check DMP RS232 Settings (This setting will allow you to check the RS232
    settings)
    use type "get"
    p=rs232.*
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • 4400G RS232 code for Samsung monitor 460MX-3

    Hi,
    can some one help me on how to sent rs232 command to samsung monitor 460MX-3, i just want to sent command from the control power on and power off to the monitor.
    i have:
    1. eanble the dmp RS232 control supported,non dmtech.. option. from the dmm
    2. connect a cross serial cable to the sumsung monitor from the dmp.
    i tried to turn the monitor off using this code rs232.tx_hex=0x11x0 but it doest work.
    help.
    Best Regards
    Andrew

    I believe you must us a null modem cable to connect the DMP to any display. Can you verfiy?
    The Cisco branded TVs are the DX model by Samsung so the same code to turn off the monitor for the Cisco TVs should work for the Samsung.
    We have both Cisco and Samsung TVs in our shop and the I have used the Cisco power off command for both.

  • RS232 issue with test equipment

    I have an E3631A power supply that I am controlling via RS232 and visa rs232 control.
    With my labview vi, I can send commands to the device but I cannot get anything back from the device on the read side.
    If I use measurement and automation explorer and send the exact same commands to the power supply, I can read the current just fine.
    So what is different between the meas and auto explorer sending and receiving or opening of the port and my attached vi?
    Attachments:
    Untitled_851.vi ‏14 KB

    Yes I know.  My original code had it looking at hte property node as the input to the read.  That property node always tells me 0 bytes are on the port.  So I changed the code to a hard coded value just to see if I would get any data back off the bus.
    Basically what is happening is everytime I run the vi I send the 2 commands to the supply just fine but nothing comes back.  After the first run, the supply then gives me an error beep because it still detects data that is ready to send back that has not yet been retrieved.
    As I said if I use meas and auto explorer this process works just fine.  I can send my 2 commands, and then when I read it gives me the data thats there.

  • Soccer robot

    Hi, i'm working on a robot soccer, that has a webcam placed directly on the top of the robot(showing five different coloured circles from the view of the camera) to act as the robot's  "eyes", detecting the robot's position. I'm required to use Labview, with Vision Assistant as image processing program to create a programme in such that the robot would move to the ball(target). I'm using rs-232 connecting between the host computer and a Basic Stamp 2 board(transmitter), a  RF module to communicate with the robot(receiver). Currently, i'm working in grayscale image abdi've made necessary image processing steps but i cant seem to get the coordinates of both the robot and ball(target) in the same program and i'm stuck on how to control robot's movement to the target using Labview programming. How do I go about finding the angles and distance between the robot and the target? What functions should I use? Hope to seek guidance from anyone who can help.

    Creating soccer robots isn't too easy and using optical systems for position- and target-"acquisition" is very difficult.
    Pnt already wrote about some things you have to consider, but i will add some more:
    - What about "linearity" of your picture? Does your webcam create non-linear distortion? (see this)
    - If you create a real soccer robot, there will be relative speeds between ball and robot. Have you already thought about optimazation for this? (Otherwise, your robot will behave like a dog crossing a quick flowing river!)
    - Does the robot act as a single player or are there more of them? You will need to "look" for other "players" in order to prevent damage to your robot and the others....
    These are some points coming to my mind in seconds (writing takes more time though.....), but you can see one thing:
    ONE SINGLE sensor is most often absolutly insufficient to solve such a task. Take in consideration a human footballer:
    He has eyes and ears to learn his surrounding and maybe some kind of "precognition" in order to prevent dangerous situations. This will make a good soccerplayer...and your job seems to be to transfer this to.... a robot
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Which Compact RIO Chassis and Controlleur for 3 axis control

    I already ordered and receive a 9012 (128MB, 64DRAM) controller and a 9102 (1M).
    A little logic of digital I/O, 4 high speed encoders read, 1 slow encoders read, 3 analogs outputs.
    I'm a little bit afraid I will miss space? What do you think.
    Thanks,
    Patrick
    Solved!
    Go to Solution.

    I don't know what to do!
    Should I invest in NI SoftMotion...?
    It's my first project as a mechanical engineer junior ... lots of money to invest...I prefered NI to all other motion controller till the beginning because of the "custom" but now, if I have an other software to buy... I will have to do a part of my career in controling robots
    NI Softmotion look simplier to control motion but... what will be the result of not using NI Softmotion? I'm doing gearing from a master encoder...(kind of contour move, no need of Softmotion, I think), other then that, straight line move...
    gearing:
    slave 1 = blablabla * cos(theta_master)
    slave 2 = blablabla * cos(theta_master)
    I return the 9102 and the 9012 and asked for the cRIO-9074 in case I have to use NI Softmotion. (it's 575$ more expensive, not too bad)
    What do you think?
    Thanks again,
    Patrick

  • Voice Control through LabVIEW pinouts

    Hello everyone,
    I'm working on a Voice Controlled Robot which I will be utilizing LabVIEW as well as .net in order to implement the Voice Recognition System. I'm getting a list of commands ready to implement. Does anyone know whether I will need 1 pin per command on the DAQ? or how does this work. My thinking was that I'll will need 1 pin on the DAQ sent to an arduino which in turn will go to my motor controller (Sabertooth 2x25), this is turn will operate my motors for the appropriate command. Has anyone done anything similar to this?
    Thanks!

    EMET_ENGR wrote:
    Hello everyone,
    I'm working on a Voice Controlled Robot which I will be utilizing LabVIEW as well as .net in order to implement the Voice Recognition System. I'm getting a list of commands ready to implement. Does anyone know whether I will need 1 pin per command on the DAQ? or how does this work. My thinking was that I'll will need 1 pin on the DAQ sent to an arduino which in turn will go to my motor controller (Sabertooth 2x25), this is turn will operate my motors for the appropriate command. Has anyone done anything similar to this?
    Thanks!
    .net to LabVIEW to DAQ to Arduino to Motor Controller - Did you just decide to use every piece of equipment on your desk?! 
    As Intaris has said, you haven't given us nearly enough detail, but I would say that this is several layers of complexity too many. Why not simply communicate with the Arduino directly using the LIFA toolkit or serially? This is a much better solution than sending digiatl lines high on a DAQ to send messages.
    -CC
    "If anyone needs me, I'll be in the Angry Dome!"

  • Robot soccer

    Hi, i'm working on a robot soccer, that has a webcam placed directly on the top of the robot to act as the robot's  "eyes", detecting the robot's position. I'm required to use Labview, with Viaion Assistant as image processing program to create a programme in such that the robot would move to the ball(target). I'm using rs-232 connecting between the host computer and a Basic Stamp 2 board(transmitter), a  RF module to communicate with the robot(receiver). Currently, i've made necessary image processing steps but i cant seem to get the coordinates of both the robot and target in the same program and i'm stuck on how to control robot's movement to the target using Labview programming. Hope to seek guidance from anyone who can help.

    I believe you posted this in the wrong forum. You need to post this to the Labview forum. You may get a response here, but this forum is for Multisim/Ultiboard and I doubt that there is anyone here that can help you.
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day

Maybe you are looking for

  • How to use LD_LIBRARY_PATH et al properly

    My ultimate goal is to get MonoDevelop working under OS X and also to develop some Macport 'ports' for the application components that MonoDevelop needs but are not there yet. So far I have managed to write the Macport 'ports' and each installs OK (t

  • Error while trying to start the application

    Hi, Could any one please suggest the cause for this error. This error occured when I tried to start the application installed on Websphere server. --------Reading configuration for server: server1 ADMU0111E: Program exiting with error: com.ibm.ws.pro

  • Embed and Accordion in a Tab Panel

    Has anyone tried embedding an accordion widget inside a tabbed panel? I'm running into an issue where the accordion doesn't behave properly. I'm assuming it has something to do with the hierarchy of div tags, but don't know enough yet to be certain.

  • Problem creating Oracle text index

    Hi, I am trying to create an index in Oracle 9i using Oracle Text. First i gave this grant as SYSDBA: "GRANT ALL ON CTX_DDL TO <USERNAME>" Then i executed the following : EXECUTE CTX_DDL.CREATE_SECTION_GROUP('MYPATHGROUP','PATH_SECTION_GROUP'); CREAT

  • Viewing VA03 differently in Production client and testing client.

    Do any expert out there, know why the accounting document cannot be view in the following document in VA03 but if i view in FB03 it exist. The behaviour is different between our Production client. Do i need to check any box to view this? i'm using EC