Send variable vision to the NXT brick manufacturer

Hello

I have a color sorting machine controlled by a Mindstorms NXT brick. I think that Labview has a module to communicate with the Lego brick, but I was wondering if the Vision Builder (that we currently use for another application) may also communicate with the brick (we do not have LabVIEW). In the end, after insecting of the object with Vision Builder, I would like to send a variable (depending on the inspection) to the mailbox NXT, preferably via usb or BT, which could serve as a motor for the servo drive. If there is no such communication module, is there a code that I could insert in the program of Vision Builder that allow such communication?

OK, just in case someone needs another solution to this, I was able to find a workaround (without the need to install LV). I use a bridge of communication who listen to orders received on the TCP/IP Protocol (available in Vision Builder) and transmits on the NXT (USB or BT) brick. You can find more information about it on the Mindstoms Page Anders. If you have problems with the software, feel free to reach out to the author - he is a great guy and an amazing developer!

Tags: NI Hardware

Similar Questions

  • How to shorten the execution time of the NXT (TETRIX & MATRIX toolkit) brick

    Hello

    How to shorten the execution time of the NXT brick?

    (TETRIX & MATRIX toolkit, running time)

    The software is 2012 LabVIEW for LEGO MINDSTORMS

    Thank you.

    Hi 40123157,

    You use the module in an appropriate manner, and there is no simple way to improve the time of loop iteration beyond what you've done. Here are my suggestions:

    (1) the i2c commands take a long time. In your application, it may speed up if you run only move the engine only when the engine speed has changed.

    (2) for this particular example, you do not use the release of the report engine. If this VI does not need to run it can be removed.

    (3) If you need to speed up execution other than that, as a user advanced LabVIEW, you can create a copy of the VI of engines to move and change it as you choose. All you have to to the "DC motors' entry is use cluster to array on the cluster, as shown below. I think you can speed it up by running all the settings before the loop (type sensor and fixed connection configuration), and removing the value of power if you send only the values between-100 and 100.

    (4) drawing on the screen can be slow you down here.

  • Can I send value cluster through the shared variable?

    Hi every1,

    I want to send a cluster through the shared variable. While creating a shared variable, there are options to choose the type of data, but there is no option to Cluster.

    But there is an option of "custom control". How to use it?

    Hi, Germain,.

    Create your control and save it as a file on your disk *.ctl. If you use the "custom control" option, and then select your control. If this does not work for your control, you can use the function 'flatten in string' to send a string.

    Mike

  • Help! Error 1047 to LabVIEW: LabVIEW failure of sending variable to the script server. Server

    Hi community, I have a problem with script labview matab, I have this problem:

    Error 1047 to LabVIEW: LabVIEW failure of sending variable to the script server. Server

    Possible reasons:

    LabVIEW LabVIEW: Cannot send the variable to the script server.

    We have some documents that mention possible reason why this error occurs, you might see if either of the following apply to what you see.

    http://digital.NI.com/public.nsf/allkb/8BEBC0C86541224286257AF300561B5E?OpenDocument

    http://digital.NI.com/public.nsf/allkb/2B3FF46C8512C4F786256CF30071BE53?OpenDocument

  • Help! Double vision on the screen...

    Double vision on the screen which is so bad I can hardly read what is ISO screen. I had this problem since March. I had to disabled my GeForce 9800 GT since the update of the driver is not good.  I uninstalled Aero. The screen is normal for 5-10 minutes, then goes into ugly mode.  Sometimes, the computer starts in double vision.
    Thank you... John

    It may not be the video card, it can be the screen itself.  It may even be a problem with the hardware.  You have another monitor, you can interact with to see if the problem moves - while we will have a good idea if it's the computer or the monitor.  The same goes for the Videocard if possible.

    You can get in trouble with your device drivers, firmware and/or software. Go to the Device Manager by going to start / find and type Device Manager and enter and then double-click on the program icon that appears.  Check each device to a red x, yellow! or white?  These identify devices with problems probably (drivers, but also of conflict or something else).  Click on each for more details and troubleshooting tips.  If you need to get drivers (and you should do at least the monitor and video card at least all you have time to do - they can help way beyond simply solve this problem), let the computer dealer or the manufacturer of the device (NOT of Microsoft Updates).  In fact, you must disable automatic updates in Windows Update driver as follows: http://www.addictivetips.com/windows-tips/how-to-disable-automatic-driver-installation-in-windows-vista/. Follow these steps to get the drivers: http://pcsupport.about.com/od/driverssupport/ht/driverdlmfgr.htm.  Once you have the drivers, you can install them via the Manager device as follows:http://www.vistax64.com/tutorials/193584-device-manager-install-driver.html.

    If the above does not help, I think it is a material and not a software problem.  I would take the system to a repair facility of the competent computeer for diagnostic, repair or replacement.  You can also consider sending for service to the manufacturer.  Compare the cost, schedule, guarantees, parts availability and cost and these things before deciding.  The decision is yours.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Variables in LABVIEW for NXT

    Hi, I need to create a variable then we can be changed and write the new values. For example. I left the button NXT, which when it is pushed so I made some 20 subtracts variable and then added to the same variable, this value is then displayed on the NXT screen. But when you press the right button with this value is added to the value of 20 and found again the same variable. And it is constantly repeated. The current value is displayed on the screen of NXT. How can I solve? Through local variables?

    Thank you for having responded

    Hello!

    What I would do, is to use a While loop with a shift register and a structure dealing with three cases. One case is when you press the left button, the second for the right button and the third for the case when nothing was happening. You must also make sure that it increments only once when the buttons are pressed, not increment the button is pressed. Essentially of edge triggering.

  • Network variables shared to the host PC

    Hello world

    I need to send the results of a time operation real PC to PC host without affecting the determinism on the PC in real time.

    To do this, I have two periods loops, the two race 417 microseconds, but at different levels of priority. Who runs the algorithm on the PC in real-time is a priority of 1000 and the other loop that transfers just results from the PC to the host PC in real time is a priority of 100.

    I measured the worst time taken to perform my loop of high priority to be 150 microseconds. I have so much time to send the results to the host PC. (I want to results updated all 417 microseconds).

    I run the algorithm for 40 seconds on the PC in real time. But the values are updated on the host at the end of 40 seconds PC and not at each iteration of the loop I want.

    What was my mistake?

    Kind regards

    Prashant

    Thank you all for the responses.

    I found my mistake. I had wired a variable directly from the first loop timed for the second timed loop. This is the reason why the second loop was still waiting and never run. I used dummy shared variables to transfer data between the loops. Now, the loop works very well.

    Thanks again

    Prashant

  • Providing the address of the variable response to the Notification Service to the BPEL process

    Hi all

    I use the Notification Service in my BPEL process to send e-mails. The sender of the email (or reply address) is variable and is passed in the BPEL process. I can't get the email to be sent to the reply address that is passed in. I tried to assign both ReplyToAddress and FromAccountName, but the only address that is used is one that has been set up as the account (as described in the present document Oracle 11 g Release 1 (11.1.1.6.1) and the configuration of the Human Workflow Services components - Motors). I tried the following, but to no avail:

    <assign name="AssignEmailParams">
         <copy>
              <from>'Default'</from>
              <to>$sendEmailRequest.EmailPayload/ns1:FromAccountName</to>
          </copy>
           <copy>
               <from>$inputVariable.payload/client:from</from>
               <to>$sendEmailRequest.EmailPayload/ns1:ReplyToAddress</to>
            </copy>
             ...
    </assign>
    

    <assign name="AssignEmailParams">
         <copy>
              <from>$inputVariable.payload/client:from</from>
              <to>$sendEmailRequest.EmailPayload/ns1:FromAccountName</to>
          </copy>
             ...
    </assign>
    

    Am I missing something? Any help would be greatly appreciated.

    I use JDeveloper 11.1.1.7.

    Thank you

    Bill

    Hi Bill,

    I know the sender and answering addresses can be configured on the properties of Human Workflow notification (check link below)... But I don't know if a sender/dynamic response is supported, you may use the e-mail rather than the notification one activity...

    http://docs.Oracle.com/CD/E28280_01/admin.1111/e10226/hwf_config.htm#BHCJDGFJ

    See you soon,.

    Vlad

  • Send variables from flash AS2 to php mySQL

    Hi I have a question to adobe. So I finally created a system to connect / register with php and mysql and flash as2. That works, and here's the link:lumosityentertainment.hostei.com/PhPLoginSystem.swf

    But I have a question. How to send variables from flash as2 to my mySQL database? And then how to load their MySQL to flash as2? Also when variables get edited or changed as if I had 6 gold and then now I have 7 but how do send flash that updated data in my database? I know you use php and other things but I have examples of easy php and codes as2? I'm a beginner in php, but I know a decent amount of AS2. I searched all over google and adobe for the answer forums, but none of them really helped. I am currently working on a flash game on my site and I'm doing so that players can save as their gold, armor, weapons etc and then load them by logging into their account.  Here is my game that I currently use cookies to save the data:

    lumosityentertainment.enjin.com/playfantasydreams

    var sendLV:LoadVars = new LoadVars();

    var receiveLV:LoadVars = new LoadVars();

    receiveLV.onData = function(src:String) {}

    trace (SRC);  or be it for debugging

    }

    sendLV.somedata = somedata;

    sendLV.someotherdata = someotherdata;

    sendLV.sendAndLoad ("yourphp.php", receiveLV, "POST");

    /////////////////////////////////

    ////

    PHP

    .

    .

    $somedata = $_POST ['somedata'];

    $someotherdata = $_POST ['someotherdata'];

    write to your sql

    {if (whatever)}

    echo "success";

    } else {}

    echo "failed."

    }

    /////////////////////////////////

    PS when you use the adobe forums, please check the useful/correct, if there is.

  • How can I force a send this page if the user presses a tab?

    This may be obvious buy I start everything just with the APEX then maybe someone can tell me...
    How can I force a send this page if the user presses a tab and they go to another page before I run the backup of page variables?
    Thank you!!!
    C

    Hello

    If you use version 4.x Apex while you can create a dynamic action for this.

    * If this answer is useful or appropriate then please mark and award points.

  • Send data directly to the printer.

    This? to have been invited before, sorry I did not found in multiple searches.

    Is it possible to send a fusion of data directly to a printer?

    I have a postcard merged data of variable images on the front and address info. on the back for 20,000 records.

    Create merged document or pdf export will produce a document of 40,000 pages if he actually succeeds.

    Is this possible?  Any help is very appreciated!

    PS I'm on CS5

    Nope. It is the operation of merge data. It's primitive, but it's free. A real solution in the printstream is certainly a possibility for many commercial printers, but these modules are not cheap.

  • Sending an id to the next page

    Hello

    Need more help please. OK, so I've created this site to database. Everything works perfectly, but when my pages redirect it does not send the value of the id to the next page if I add '? ID = 5"manually in the browser address bar, and then it displays the correct details for this particular id. How to use dreamweaver for the generated send me to keep the site working properly? What I have to physically php code or is there a Dreamweaver feature that can do this for me?

    Please can help you.

    Thank you

    Owen

    Owen,

    Provide a recommendation more detailed your query. Shooting in the dark is not desired by volunteer contributors of this forum. Ideally the session for the user id must be created during its connection, defined not based the result of a query later.

    You wrote:

    What I want to do is once a user registers on the registration page that the page should redirect to a success page and have a message ' thanks user X for recording.

    You can also this simply echo the value post on page registration success the user name 'name' which was 'named' regardless of the registration form. If field registration form for the user name is called echo on the success page username by entering this php

    Thanks for registration.

    The item values survive that the duration of a pageload. After that, they are destroyed. So if you want to keep the data to display then you need to create a session for the post value variable. Google the term How to create the session variable or similar term and you will no doubt find countless resources that explain the process entirely.

    Remember that by default Dreamweaver Server behavior connection automagically creates the SESSION ["MM_Username"] for the username of the logged in user. Simply echo the SESSION ["MM_Username'] to display the user name for the user connected.

    Look here: http://cookbooks.adobe.com/post_Display_user_s_name_and_other_details_after_login-16672.ht ml

    best,

    Shocker

  • extraction of XML in process variables: (no not the case)

    Hello

    I have a process that takes xml as input data and it must extract the data in process variables, I created. For this I used setvalue processes, where the input parameter is of type xfaform. For this variable, I gave the form as the url of the model (I tried both pdf and the xdp). It loads the schema so file when I checked in the settings of schema. I traced this value (one of the objects in xml) to an another process in the setvalue parameter variable. When I run this process, I don't see the value of the XML object is assigned to the process variable.

    The process is not any mistakes out there. I checked the records as well. I don't know what Miss me in the mappings. I use version 8.2. I have attached ACL that contains the processes and resources. Your help will be very appreciated.

    Thank you

    Chaitanya

    I gave the pdf as a reference model to the xfaform variable. So, will receive navigate the XPath for companyname, it takes thatpath.

    You might be able to break through to the node you want to in xPath Builder, it does not mean that the xPath expression will work based on the data you will receive. You must ensure that you send other xdp data that the xPath will not work.

    Send by email button submit xdp data. Just xml. The difference is that data xdp encapsulates the XML with data/data/xdp tags. What you see when you get off using xPath for an xfaForm variable Designer.

    I think you have two options:

    1 use a normal submit button, set the data to submit to the XDP data and submit URLs using the MAILTO Protocol.

    2 - having an input xml variable and change your XPath to match the structure of the xml file you will receive.

    Jasmine

  • Send variables from flash to PHP

    Hello world
    I have a problem when sending variables from flash to PHP
    Here is the code:

    submit.onPress = function)
    {
    c = new LoadVars ();
    c.NME = "Myname"
    c.sendAndLoad ("getVars.php", reply, 'POST');
    }

    PHP code:

    <? PHP
    $name = $_POST ['nme'];
    Print 'your name is. " $name. «. < br / > ';
    ? >

    What I'm doing wrong here.
    I get an error message saying notice: Undefined index: name in \xxx\getVars.php on line 2

    Please help me. Thanks in advance

    2 things that I notice immediately

    1. you never initialize the variable 'Reply' to your sendAndLoad.
    2. you must pass a string encoded in URL variables which is ampersand delimited. Usually the returned string would look like echo ("" & result = 1 & msg = your % 20name % 20is %20 '. ") $name. ». 3rd % 3Cbr % &");

    Your mistake is that the information is not get passed correctly. I usually use $_REQUEST communication flash-php, although this should not make a difference. I've seen people use $_REQUEST for testing purposes and will then to $_POST when finished.

  • How to send variables in ASCII or ISO?

    I'll send variables to a flash form for an application using POST. Unfortunately, the application don't like utf - 8, character set, I think that Flash I send. I have to get the Norwegian specificity in the mail, the application sends the variables FRO Flash-based...

    How can I send in ASCII, ISO or other character sets?

    I got the answer:
    Place the following code in the first frame:
    ------------
    System.useCodePage = true;
    ------------
    Finally!

Maybe you are looking for