06-30-2013 01:31 AM
I'm trying to implement the LabVIEW FPGA Waveform Acquisition and Logging on cRIO template in LV2012sp1 onto a cRIO-9002.
So I'm stumped as to how to proceed and the documentation guidelines do not address this issue at all. I would greatly appreciate if someone could point me in the right direction.
07-01-2013 11:55 AM
Hi Greg,
Have you tried reformatting the RT controller? This might work since we are dealing with the SVE not being recognized. There is also a possibility that since your NI-9002 is an older device the drivers are having compadibility issues. Let me know if the reformating helps.
07-01-2013 06:16 PM
Thanks Ryan,
I reformatted the RT and reinstalled software to the cRIO. Unlike previously, this time I specifically identified add-in components, including the Network Variable Engine and the Variable Client Support (which the first pane in Add/Remove Software seems to indicate is already on the RT). So the installation is completed... Now these components (Network Variable Engine & Variable Client Support) are listed in MAX cRIO/Software (unlike previously). So this is an improvement. The Shared Variable deployment is now successful along with many other componets, but deployment now hangs on:
Failed to load shared library lvanlys.*:DotProduct_head:C. Ensure that the library is present on the RT target.
The process of identifying the specific needed software components to load, out of a myriad of possibilities, is indeed not clear at this point. Perhaps this is documented somewhere in the template lvproj that I'm trying to implement...
07-02-2013 10:20 AM - edited 07-02-2013 10:20 AM
Hi Greg,
Can you send a screenshot of the message? We have seen a similar issue in the past and it usually just requires a software repair. Try doing a repair on LabVIEW and installing NI-RIO 12.1. I just want to see if this changes the behavior at all. Thank you for your patience as we figure this out.
07-02-2013 11:55 AM
Here's the deploy:
Initializing...
Calculating dependencies...
Checking items for conflicts. This operation could take a while...
Preparing items for download. This operation could take a while...
Deploying Shared Variables.lvlib
Deploying NI_Real-Time Target Support.lvlib
Deploying Message Queue.lvlib
Deploying NI_AALPro.lvlib
Deploying NI_AALBase.lvlib
Deploying NI_PackedLibraryUtility.lvlib
Deploying NI_FileType.lvlib
Deploying nisyscfg.lvlib
Deploying Shared Variables.lvlib:Actual Loop Period\\192.168.0.2\Shared Variables\Actual Loop Period deployed.
Deploying Shared Variables.lvlib:Buffer Backlog\\192.168.0.2\Shared Variables\Buffer Backlog deployed.
Deploying Shared Variables.lvlib:Contiguous Memory\\192.168.0.2\Shared Variables\Contiguous Memory deployed.
Deploying Shared Variables.lvlib:CPU Usage\\192.168.0.2\Shared Variables\CPU Usage deployed.
Deploying Shared Variables.lvlib:Drive Space\\192.168.0.2\Shared Variables\Drive Space deployed.
Deploying Shared Variables.lvlib:Number of Data Files\\192.168.0.2\Shared Variables\Number of Data Files deployed.
Deploying Shared Variables.lvlib:System Time\\192.168.0.2\Shared Variables\System Time deployed.
Deploying waveform01.lvproj
Deploying Hank(successfully deployed target settings)
Deploying NI_PackedLibraryUtility.lvlib:Get Exported File List.vi (8.90 K)
Deploying Clear Errors.vi (3.99 K)
Deploying DialogTypeEnum.ctl (2.00 K)
Deploying FindEmptyElement.vi (6.87 K)
Deploying Error Cluster From Error Code.vi (37.48 K)
Deploying niLvFpga_Run_Dynamic.vi (11.47 K)
Deploying DialogType.ctl (2.00 K)
Deploying Watchdog status enum.ctl (2.00 K)
Deploying NI_Real-Time Target Support.lvlib:RT Get Number of CPUs.vi (4.29 K)
Deploying TagReturnType.ctl (2.00 K)
Deploying Open File+.vi (21.16 K)
Deploying NI_AALBase.lvlib:Real Dot Product.viNI_AALBase.lvlib:Real Dot Product.vi loaded with errors on the target and was closed.
LabVIEW: Failed to load shared library lvanlys.*:DotProduct_head:C. Ensure that the library is present on the RT target. Use MAX to install NI software or FTP to transfer custom libraries to the RT target.
Deployment completed with errors
--
07-03-2013 10:52 AM
Hi Greg,
Were you abe to attempt and repair LabVIEW and update NI-RIO to 12.1? By the way, which version of LabVIEW are you using?
07-03-2013 12:46 PM
After proceeding through the RT deployment errors and then adding the missing software components one by one, the deployment now completes without errors. When I run the UI Main.vi, connection to the controller fails:
UI Error -314004 - Create Network Stream Writer Endpoint in UI - Initiate Connection.vi->UI Main.vi
In UI Main.vi the "Controller Address" must be specified. I'm providing the IP address, but it does not seem to matter what address I use, or even whether the cRIO is even on...
07-08-2013 12:20 PM
Did you try the repairs like I suggested?