LabVIEW Real-Time Idea Exchange

About LabVIEW Real-Time Idea Exchange

Have a LabVIEW Real-Time Idea?

  1. Does your idea apply to LabVIEW in general? Get the best feedback by posting it on the original LabVIEW Idea Exchange.
  2. Browse by label or search in the LabVIEW Real-Time Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  3. If your idea has not been submitted click New Idea to submit a product idea to the LabVIEW Real-Time Idea Exchange. Be sure to submit a separate post for each idea.
  4. Watch as the community gives your idea kudos and adds their input.
  5. As NI R&D considers the idea, they will change the idea status.
  6. Give kudos to other ideas that you would like to see in a future version of LabVIEW Real-Time!
Top Authors
Showing results for 
Search instead for 
Did you mean: 

Modify Hardware Model in LabVIEW Project Without Having to Create a New One

Status: In Development

Currently, if you have hardware in a LabVIEW project (e.g. a cRIO controller, cRIO chassis, or R-Series PXI card), the only way that you can change this to another product is by adding a new one to the project and deleting the old one. It would be nice to be able to use a configuration window to change the model number of a piece of hardware to a different, but similar one. For example, if you have a 9072 in the project but wanted to change it to a 9073. Another example would be the ability to change, via menus, a PXI 7813R to a 7854R. Of course the user would have to update any code written to account for changes due to the new hardware. This is especially convenient when you are simulating and configuring test systems but aren't quite sure exactly what hardware you need. Currently, for each new piece of hardware (similar or not) you have to create a new device and copy all of the IO, VIs, libraries, etc. under the new device in the project.

Kareem W.
National Instruments
Web Product Manager
Trusted Enthusiast

I came across this very requirement today, and it's not the first time. I would very much like to see an automated technique for updating the hardware definition in the LabVIEW Project. FOr me, it was upgrading an 9114 chassis to a 9116, which was a painstaking process of several hours. Time I'll never get back again which I'm pretty sure a wizard could do in a handful of seconds.

Thoric (CLA, CLED, CTD and LabVIEW Champion)


As a quick work-around for this issue, you can edit the project file using text editor since the LVPROJ file is just XML.  I was able to quickly change a cRIO target from a 9114 to a 9116 by editing the item tags. 


Each cRIO target has a property in the XML named "crio.type" under the , which is simply a string. If you are using the FPGA interface, then there is also an item under the chassis/FPGA Target for the target class.  I was successfully able to open the project after editing these tags, and the target was changed to the new target type. 


DISCLAIMER:  I did not attempt to compile an FPGA of build an executable after trying this method.  There may be other fields that are used for compiler configuration that also need to be changed.



<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="11008008">
	<Item Name="My Computer" Type="My Computer">
		...My Computer properties...
	<Item Name="cRIO" Type="RT CompactRIO"> properties...
		<Item Name="Chassis" Type="cRIO Chassis">
			...chassis properties...
			<Property Name="crio.Type" Type="Str">cRIO-9116</Property>  		<===== See here
			<Item Name="FPGA Target" Type="FPGA Target">
				...FPGA Target properties...
				<Property Name="Target Class" Type="Str">cRIO-9116</Property>	<===== and here
		<Item Name="Dependencies" Type="Dependencies"/>
		<Item Name="Build Specifications" Type="Build"/>


-Derek Roane
Active Participant

Also check out this CompactRIO Migration Wizard community example!

Deborah Burke
Senior LabVIEW Product Manager
Certified LabVIEW Architect
National Instruments
Active Participant
Status changed to: In Development
Deborah Burke
Senior LabVIEW Product Manager
Certified LabVIEW Architect
National Instruments
Active Participant

For my part, I needed to upgrade from a 9114 backplane to a 9116 backplane for the extra space. I text-edited the project file and just did a find-replace on all instances of "9114". I was able to recompile, showing the extra space, and download the bitfile to the FPGA target successfully. It looks like it works for this minor migration, at least.

Ryan R.