06-24-2014 08:58 AM
Christian,
I am using LV2013 and I do not have CRI/_SubVI folder and associated VIs in my user.lib. I am working on a project that requires some of the VIs for cRIO backplane information. Where can I get those VIs. I tried the original document but I am unable to access the page and your attachment.
Regards,
Sofia
06-25-2014 10:29 AM
Hello Sofia,
The CRI documentation is available in http://www.ni.com/example/51852/en/
This document includes some older version of the CRI library, however, the latest version of CRI is available in VI Package Manager (VIPM)
06-26-2014 04:28 PM
If you write a program for the FPGA on the cRIO device, and include a frontpanel with a numeric display, then run the program with the host (PC)attached, how does the data get from the cRIO device to the PC?
I did not declare any way to transfer data from the FPGA module to the PC host.
08-28-2014 10:19 AM
Hi,
I tried to run the Get Remote cRIO Info, but the information about the device is returned incomplete.
The ipaddr and Hostname of the cRIO are missing.
Is there an alternative way to get those values?
Regards,
Pedro
08-28-2014 02:54 PM - edited 08-28-2014 02:55 PM
The cRIO Information Reference Library (CRI) is intended to run either on a host PC or on CompactRIO RT targets. I believe your question of data communication between an FPGA and a host PC is best answered in the NI Customer Education course LabVIEW FPGA, which explores the best practices for data communication between host, RT target, and FPGA targets. While I won't attempt to summarize that content here, I can mention that you do have the following communication options available to you when you want to pass tag data (latest value) from an FPGA to a host PC: Front panel objects and User Defined I/O Variables. If you want to stream data from the FPGA and guarantee lossless transfer, you will need to use another data communication method (such as a DMA FIFO).
If you are new to data communication methods, I highly recommend the LabVIEW FPGA and LabVIEW Real-Time series of NI Customer Education courses.
Thanks,
Lee
08-28-2014 03:56 PM
Pedro,
The Hostname and IPAddr properties are no longer supported in the System Configuration API as of version 5.6. In order to preserve backwards compatibility with earlier versions of the CompactRIO Information Reference Library (CRI), we kept the controls and indicators of all library items the same. As you have noticed, this resulted in the trade off that Hostname and IPAddr return empty when you run the Get cRIO Controller Info.vi and Get Remote cRIO Controller Info VIs.
The code below, depoyed to an RT target, will return the Hostname and IP address. The subVIs (String to IP and IP to String)can be found in the Data Communication > Protocols > TCP palette.
Thanks,
Lee
09-01-2014 04:34 AM - edited 09-01-2014 04:35 AM
Lee,
Thanks for your reply.
I would like to get the cRIO hostname on a VI running on a desktop PC (giving the cRIO ip address as an argument), could this be possible?
Regards,
Pedro
09-01-2014 05:26 AM
Another problem that i have came across is the Get Remote cRIO System Info.vi gives says that my cRIO has a module on slot 5 when it's free (pic in attachment with the wrong info).
I tried to insert a module in the slot 5 and it returned the information about the module without any error.
09-04-2014 11:40 AM
Pedro,
I am considering adding this to the next release of CRI, as part of Get Remote cRIO System Info.vi. This should be within the next couple of weeks.
Thanks,
Lee
09-04-2014 11:42 AM
Pedro,
Thank you for finding this issue. I will investigate it prior to the next CRI release. Can you provide me with a list of the modules you were using when you saw this behavior?
Thanks,
Lee