From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add Class Specific Target to a Project Programmatically

Solved!
Go to solution

Hi,

 

I'm trying to create a vi which can programmatically create a project and add a target device to it (PXI-7954R). Currently I'm having no problems creating a project and adding a FPGA target to it, but it isn't class specific i.e.. Its not the 7954R.

I've found a really horrible way to do it by opening up the project file as a text file and picking through and adding what needs to be added (looking at a already created project with the target in it to compair).

Does anyone know of a way to add a class specific target to a project in the labview environment without having to manually change the project file?

Any help would be very much appreciated

0 Kudos
Message 1 of 2
(2,581 Views)
Solution
Accepted by James Hall

Hi James,

 

You need to add the correct Class ID into the Project Item Type terminal.

 

You will then have to create and set the correct Tags associated with that Item.

 

Please See Attached,

 

Regards,

 

Steve

Message Edited by SteveBale on 02-24-2010 03:45 AM
Message 2 of 2
(2,578 Views)