NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

AIT ARINC 429 Add-On Feedback

Hello Stephen - I am having trouble deploying in Veristand with the ARINC429 Ver. 1.8.0 add-on, when i remove the add-on it deploys fine.  I am using Veristand 2012 with XP on my host machine, PXIe-8135 chasis (Pharlap) with an AIT PCI-C429 Card, and the AIT 4.6.0 driver.  I have tried to repair/unistall/reinstall all these components but I get the same errors.  I feel I am following all the install instructions properly cause I see the card in MAX and can apply the add-on.  Below are the errors i see witth and without loading an XML database.  Any thoughts?  I also wonder if there are any setting I should apply in NI-VISA?  THANKS

With add-on and example database in system def.

The VeriStand Gateway encountered an error while deploying the System Definition file.

Details:
Error -2 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi

This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.

Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-2) or for its hexadecimal representation (0xFFFFFFFE).

With just add-on in system def.
The VeriStand Gateway encountered an error while deploying the System Definition file.

Details:
Error 1430 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi

Possible reason(s):

LabVIEW:  The path is empty or relative. You must use an absolute path.
=========================
NI VeriStand:  Create Folder in AIT 429 Custom Device.lvlib:Resolve DB Bin File Name and Path.vi:2->AIT 429 Custom Device.lvlib:ConditionallySerialiaze.vi:1->Engine Data Compilation.lvlib:Call Action on Compile VI.vi->Engine Data Compilation.lvlib:Process Action on Compile VIs.vi->Engine Data Compilation.lvlib:System Storage to Engine Binary.vi->System Storage Compiler.lvlib:System Storage To Multiple Engine Binary.vi->NI VeriStand Server.lvlib:System Storage FG.vi->NI VeriStand Server.lvlib:NI VeriStand Server.vi->NI VeriStand Gateway.lvlib:VeriStand Server Wrapper.vi<APPEND>
<Not A Path>

0 Kudos
Message 71 of 193
(4,187 Views)

Hi awoods8221,

Thanks for the detailed problem description. The error -2 is one being thrown by the AIT driver on the real time system. To get more information, can you visit the console out web page of your target and see what error information is printed there? Open your web browser and type in the IP address or DNS name of your target, hit enter, then click on the console window button on the left column.

Take care,

Stephen B
0 Kudos
Message 72 of 193
(4,187 Views)

Thanks for the quick response.  Not sure how much of the console window you needed so only copied everything from of the start of the AIT429 Custom Device Error

******AIT 429 CUSTOM DEVICE ERROR******

Source:    AIT 429 Custom Device.lvlib:429 RT Driver Init.vi:3<ERR>
Could not open AIT board with SN: 6 on "local"
Resource not found for serial number


<b>Complete call chain:</b>

     AIT 429 Custom Device.lvlib:429 RT Driver Init.vi:3

     AIT 429 Custom Device.lvlib:AIT 429 RT Driver VI.vi:2

     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

Code:    -2

******AIT 429 CUSTOM DEVICE ERROR******


****************************
System error encountered.
:::Details:::
Error code: -2
Error Message: ****************************

System awaiting new configuration from client.
Finalizing DAQ devices...
Finalizing FPGA devices...
Finalizing data sharing devices...
Finalizing models...
Unloading system definition...
VeriStand Engine idle. Awaiting command...
VeriStand Engine idle. Awaiting command...
VeriStand Engine idle. Awaiting command...
Preparing to run system definition...
Loading c:\ni-rt\NIVeriStand\SystemDefinitionData.nivscfg

System Definition Details
-----------------------------
Name: MRJ PROJECT
Version: 1.0.0.49
Description:
-----------------------------
Loaded 0 calibrations.
Initializing DAQ devices...
Initializing DAQ waveform tasks...
Initializing engine timing sources...
Initializing FPGA devices...
Initializing inline custom devices...

****************************
System error encountered.
:::Details:::
Error code: -2
Error Message: ****************************

System awaiting new configuration from client.
Stopping system definition...
Stop time: 08:22:18
02/23/2014

Finalizing engine timing sources...
Finalizing inline custom devices...
******AIT 429 CUSTOM DEVICE ERROR******

Source:    AIT 429 Custom Device.lvlib:429 RT Driver Init.vi:3<ERR>
Could not open AIT board with SN: 6 on "local"
Resource not found for serial number


<b>Complete call chain:</b>

     AIT 429 Custom Device.lvlib:429 RT Driver Init.vi:3

     AIT 429 Custom Device.lvlib:AIT 429 RT Driver VI.vi:2

     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

Code:    -2

******AIT 429 CUSTOM DEVICE ERROR******


****************************
System error encountered.
:::Details:::
Error code: -2
Error Message: ****************************

System awaiting new configuration from client.
Finalizing DAQ devices...
Finalizing FPGA devices...
Finalizing data sharing devices...
Finalizing models...
Unloading system definition...
VeriStand Engine idle. Awaiting command...
VeriStand Engine idle. Awaiting command...

0 Kudos
Message 73 of 193
(4,187 Views)

looks like you are specifying the board is serial number 6, but the driver could not find a board of serial number six. Pull out your card and take a look for the serial number sticker. It probably doesn't say number 6. Note the actual number on the card and enter that as the serial number on the main page of the custom device

Stephen B
0 Kudos
Message 74 of 193
(4,187 Views)

Corrected the SN info but seing th following from the console window

****************************
System error encountered.
:::Details:::
Error code: -2
Error Message: ****************************

System awaiting new configuration from client.
Stopping system definition...
Stop time: 10:06:06
02/23/2014

Finalizing engine timing sources...
Finalizing inline custom devices...
******AIT 429 CUSTOM DEVICE ERROR******

Source:    AIT 429 Custom Device.lvlib:429 RT Driver Init.vi:3<ERR>
An API failure occurred. uapiMonInit returned -1. General error.


<b>Complete call chain:</b>

     AIT 429 Custom Device.lvlib:429 RT Driver Init.vi:3

     AIT 429 Custom Device.lvlib:AIT 429 RT Driver VI.vi:2

     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

Code:    -2

******AIT 429 CUSTOM DEVICE ERROR******


****************************
System error encountered.
:::Details:::
Error code: -2
Error Message: ****************************

0 Kudos
Message 75 of 193
(4,187 Views)

hmm.. Can you try updating the firmware on the board

Stephen B
0 Kudos
Message 76 of 193
(4,187 Views)

That was it updating the firmware on the AIT card took care of the deployment issue, thanks.  Link to updating firmware below.

http://digital.ni.com/public.nsf/allkb/17C19D3934C18FCF8625793E006CFEA6

0 Kudos
Message 77 of 193
(4,187 Views)

Adam,

Can you try one more thing for me before I contact AIT about the lack of signals. Can you try an older version of the custom device, version 1.7.2? You can get it here: https://decibel.ni.com/content/docs/DOC-18466/version/23

You will need to delete the currently installed custom device folder and install that one, also, you will need to use a new system definition. (The sysdef with the 1.8 custom device is not backwards compatible)

Thanks for your patience

Stephen B
0 Kudos
Message 78 of 193
(4,187 Views)

Hi Stephen,

I've been working with the ARINC 429 Add-On Version 1.8.0 and Veristand 2012.  Our setup right now consists of three transmitters each wrapped to a corresponding receiver.  One of the transmitters consists of three 50 Hz labels and the other two receivers have a combination of 200 Hz and 50 Hz labels.  What I am finding is that the data that is transmitted over the 50 Hz labels (all three transmitters) is not always the latest data.  The 200 Hz labels update properly.  I see some change detection was added to this version of the add-on for the transmitters which I believe is the root of our problems.  I've tried using different rates to isolate the problem and it appears that the fastest rate labels always work but the slower rate labels tend to miss the changes of the data most of the time.  If I make all the labels 200 Hz or 50 Hz everything updates correctly.  Right now I have reverted back to Version 1.7.2 of the add-on and it appears to work correctly.  Let me know if you have any thoughts on this or would like any more information.

Regards

0 Kudos
Message 79 of 193
(4,187 Views)

Hi bpotts,

That certainly sounds like a bug. Thank you for reporting it. I will be looking into that asap.

Stephen B
0 Kudos
Message 80 of 193
(4,187 Views)