What do I need to create custom blocks and in particular the VIX part?
2 Answers
You only need the official LEGO MINDSTORMS EV3 software.
LEGO provides a "EV3 Block Developer Kit" on the MINDSTORMS downloads page. This contains some minimal instructions on creating blocks. It also contains an older version of the EV3 software.
However, I have found that any version of the MINDSTORMS software can be used in "developer mode" by creating a file named MindstormsEV3.ini with the following contents:
<?xml version="1.0" encoding="utf-8" ?>
<Tokens DeveloperMode="True" />
Save this file in the directory where the software is installed, e.g. C:\Program Files (x86)\LEGO Software\LEGO MINDSTORMS EV3 Home Edition\, then start the software.
-
This works. Drop a Block to a Program and double-click the block to inspect its .vix internals. Now you are in LabView edit mode.leo– leo2018-07-06 10:32:20 +00:00Commented Jul 6, 2018 at 10:32
-
When trying to save a .vix -- even a new Project and new .vix -- I get a "Unexpected error during save. Is the file read-only?". (Win7 SP1. file permission should not be the issue).leo– leo2018-07-06 10:35:08 +00:00Commented Jul 6, 2018 at 10:35
-
With a fresh copy of Lego Mindstorms Home Edition or Education, the error went away, but the save action is not saving the edited .vix back to disc. Any ideas?leo– leo2018-07-08 15:39:33 +00:00Commented Jul 8, 2018 at 15:39
-
Use Export... on the Developer menu to save the .vix file to disk.David Lechner– David Lechner2018-07-08 19:15:15 +00:00Commented Jul 8, 2018 at 19:15
For input output you can use the OtherFiles Folder> EV3 and import the PBricks primitive.