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.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Device and LabVIEW Project Issue/Bug

Issue/Bug: There is no OS and CPU Configuration pane in the LabVIEW Project manager. There is no way to correctly set the Real-Time CPU and OS properties in a LabVIEW Project.

 

According to this NI webpage there is supposed to be an OS and CPU Configuration page for Real-Time targets. 

Target Properties Dialog Box - NI

 

The OS and CPU Configuration html page is currently broken.

LotsaMotsa_0-1666994686982.png

 

CPU and OS properties

https://www.ni.com/docs/en-US/bundle/labview/page/lvprop/app_apptarget_oper_sys.html

https://www.ni.com/docs/en-US/bundle/labview/page/lvprop/app_apptarget_cpu.html

 

The Conditional Disable Symbols do not work for setting CPU and OS properties.

Conditional Disable Symbols Page (Project Properties Dialog Box) - NI

 

This issue was observed when creating and modifying a LabVIEW Project generated by the Custom Device Wizard.  Here are the steps to recreate the issue/bug.

 

1. Install the Custom Device Wizard release from the following repo

GitHub - ni/niveristand-custom-device-wizard: LabVIEW project template for VeriStand custom devices

 

2. Create a Custom Device LabVIEW Project from the Wizard.

LotsaMotsa_0-1666995316031.png

 

Note: *.lvproj Contains Incorrect OS

TargetCPUID (3=Intel x86) and TargetOSID (15=Pharlap)

LotsaMotsa_1-1666995440238.png

 

Changing the Conditional Disable Symbols does not fix the issue.

LotsaMotsa_3-1666995844148.png

 

LotsaMotsa_2-1666995824797.png

 

3. Load the Custom Device to the Real-Time target

LotsaMotsa_4-1666996158245.png

 

 

Deployment Error
LabVIEW: (Hex 0x464) VI is not loadable.

In a built application, this error might occur because the VI being loaded was last compiled for a different OS or with CPU features, such as SSE, that this target does not support. In this case you must rebuild the application for the target OS and make sure SSE compiler settings in the build specifications match the target platform. This error also might occur if the VI is a polymorphic VI, which cannot be loaded in the LabVIEW Run-Time Engine. You must load an instance of the polymorphic VI instead of the polymorphic VI itself.

NI VeriStand:  Open VI Reference in Custom Devices Storage.lvlib:Open Device Reference (HW Interface).vi->Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi->NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi->NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi->NI VeriStand Engine.lvlib:VeriStand Engine.vi->NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi<APPEND>
An error occurred loading VI 'FPGA Comms Interface Engine.lvlib:RT Driver VI.vi'.
LabVIEW load error code 22: This VI was compiled on another platform and can only be loaded in the full development version of LabVIEW.

 

 

There needs to be an obvious way to change the OS and CPU in the Real-Time target property window.  This issue/bug leads to tough to track down errors.

 

Please update these pages to address this issue/bug.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z00000159mcSAA&l=en-US

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DpXuCAK&l=en-US

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8fSSAS&l=en-US

0 Kudos
Message 1 of 3
(944 Views)
0 Kudos
Message 2 of 3
(938 Views)

The craziest part is that this is no way for the user to actually know what the actual Target OS and CPU properties are.

 

In present case, TargetCPUID (3=Intel x86) and TargetOSID (15=Pharlap).  Nowhere is this shown in the Real-Time target properties.  Why is that?

 

LotsaMotsa_0-1666997126524.png

 

(These are not the actual target properties.  Only conditional disable symbols.)

LotsaMotsa_1-1666997136688.png

LotsaMotsa_0-1666997882788.png

 

 

LotsaMotsa_2-1666997148369.png

 

LotsaMotsa_3-1666997158538.png

 

LotsaMotsa_4-1666997168540.png

 

LotsaMotsa_5-1666997178272.png

 

LotsaMotsa_6-1666997186928.png

 

LotsaMotsa_7-1666997197470.png

 

0 Kudos
Message 3 of 3
(927 Views)