Jump to content

Feature Guide: Using Dragon with 64-bit LabVIEW (using the "Required Bitness" setting and how to change a virtual environment's bitness)

Jim Kring

Recommended Posts

Dragon supports both 32-bit and 64-bit LabVIEW.

Here's some related information.

Dragon Project Required Bitness Setting

When you create a Dragon project, you can specify whether your project requires 32-bit or 64-bit LabVIEW (as shown below).   If your project sources run fine in either bitness of LabVIEW, then just leave this setting set to “any” and Dragon will take care of the rest.

Note: the project's required bitness setting specifies "Which LabVIEW version must be used on every developer's computer to work on the project."

Note that most projects do not need to use this setting, and should leave it set to "any".



Virtual Environment Bitness

Virtual environments have a “bitness” setting, too. You can think of this setting as specifying “Which LabVIEW version I am using on this computer to work on the project”. Dragon uses this setting to know whether to open the project in 32-bit LabVIEW or 64-bit LabVIEW on your computer.


Known Issue: When both 32-bit LabVIEW and 64-bit LabVIEW are installed, Dragon will create a 32-bit virtual environment

If you have both LabVIEW 2020 32-bit and LabVIEW 2020 64-bit installed, for example, Dragon will create a 32-bit virtual environment for your project. Because of this, you will find that if you try to open your LabVIEW project in dragon, it will always open in LabVIEW 32-bit.  If you wish to work on your project in LabVIEW 64-bit, you will need to edit the bitness setting of the virtual environment manually (and, you'll notice there's no way to change this in the Configuration user interface).

Here's how you can change the virtual environment to 64-bit

Inside of the lv-venv folder you'll find a lv-venv.config file -- open it in a text editor and make the following edits:

- change labview-path to the path to LabVIEW 64-bit, and note that 64-bit LabVIEW is not in “Program Files (x86)” folder

- change labview-bitness to “64-bit”

Save the lv-venv.config file and then re-open your Dragon project. The project should now open in 64-bit LabVIEW.



Link to comment
Share on other sites

  • Jim Kring changed the title to Feature Guide: Using Dragon with 64-bit LabVIEW (using the "Required Bitness" setting and how to change a virtual environment's bitness)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.