From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating New Blocks for LEGO MINDSTORMS NXT


Khair wrote:

The Lego NXT software release (not toolkit) is a wonderful interactive environment, that should be provided as an add-on application

on its own, call it "block application builder".  I see many useful applications in a variety of different industries where businesses wish to extend to their customers interactive and intuitive interface that they can program in their desired configuration of the product's behavior according to their own use cases. ..

 

Please make this happen, it will bring about a lot of good.


That's a really good suggestion. I occasionally hear a request like that but it's of course a big effort. Would you be willing to repost this suggestion on the ni idea exchange (http://ni.com/ideas)?  That will give your feature request a larger audience than just this thread and I'm curious to see what the reaction will be.

 

-Joel

Joel Sumner
NI-Shanghai
0 Kudos
Message 31 of 45
(15,393 Views)

Hi,

 

I'm using the NXT toolkit and Labview 7.1.1 and created some blocks and successfully imported them into the LEGO software. So far so good. BUT: When I add a control to the implementation vi, there is no plug for this new control shown in the data hub below the picture of the block. This behavior is indepent of the presents or contents of the Drawers.dat file. How do I manage, that the hub is expanded by the new control?

 

Thanks, Detlef

0 Kudos
Message 32 of 45
(15,217 Views)

Hi again,

 

does anybody have a suggestion for the issue I describes above?

After adding an additional control to the example vi of the Toolkit and importing the new block into the mindstorm software, the block only has the initial four controls in the data hub, but the new fifth data "test" isn't mentioned.

 

Look below for a view to the configuration.

Thanks for any hints!

 

Regards, Detlef

 

Example Block  

 

0 Kudos
Message 33 of 45
(15,193 Views)

Have you wired your new control to the connector pane?  I'm not sure that's the problem, but it seems like a possible explanation.

 

In case you haven't, here's a document that provides more detail on how to do this:

 

http://zone.ni.com/reference/en-XX/help/371361F-01/lvconcepts/building_connector_pane/

 

(Note that, while the page says "LabVIEW 2009 Help," most of it still applies to older versions of LabVIEW.)

------
James Blair
NI R&D
0 Kudos
Message 34 of 45
(15,182 Views)

Hi James,

 

thank you very much! This was the information I needed. Now it works fine.

I never read about the connector pane before in any document I have about the NXT-Toolkit. Now I do 🙂

 

Regards

Detlef

0 Kudos
Message 35 of 45
(15,176 Views)

I have a block with an integer field and a drop down unit selector.  Is it possible to have the integer input change when the dropdown "units" value is changed? 

 

For example if 22 and mm are entered but then the mm is changed to lego block units, can the 22 be scaled and updated on the block?

 

I know you can change a control's value with a property node, but how do I get this to update only when the unit value is changed?

 

Thanks for any ideas,

0 Kudos
Message 36 of 45
(15,135 Views)