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: 

DeviceCode in Conditional Disable Symbols

Hi,

 

I have a LabVIEW project with two different RT targets (cRIO-9034 and cRIO-9049). I am using a conditional disable structure to have different code for the two targets in the same VI. I am currently using "DeviceCode" to identify the selected target in the conditional disable structure:

Conditional Disable Structure.pngConditional Disable Symbols.png

 

My questions are:

What exactly does DeviceCode mean? For example: Can two different cRIO-9034 have different values of DeviceCode?

 

Where can I obtain a list of DeviceCode values for different RT targets?

Best regards,
Andreas
0 Kudos
Message 1 of 2
(2,228 Views)

Hi Andreas,

 

By searching for "devicecode" in the help files of LabView 2018, I found the following description: DeviceCode "Specifies the target-specific product identifier code in hexadecimal format." It looks like you'll have to look up the default values for each target as I couldn't find the code published elsewhere.

0 Kudos
Message 2 of 2
(1,952 Views)