05-03-2013 09:36 AM
Hello,
I have a setting very similar to the one shown in this post. I.e:
. A CompactRIO 9025 (instead of the Industrial Controller Target)
. A Chassis 9144 connected to the CompactRIO with EtherCAT
. A NI 9870 plugged into the 9144
The post linked above seems to imply this setting could work. However, when I add C series modules to the 9144 I get an error message saying something like "The 9870 is not supported by this version of the Industrial Communication driver for EtherCAT".
. I'm using version 2.5 of the EtherCAT driver which seems to be the lastest version.
. Other modules are recognized properly, some of them with a warning message in case I want to use SCAN mode (but I don't). A NI 9213 for instance.
. Two modules come from a 3rd-party vendor, in case it's an issue.
. Moving the NI 9870 to the CompactRIO itself is not an option, that one is full like an egg.
Any suggestion is welcomed.
DLB
Solved! Go to Solution.
05-03-2013 09:41 AM
Hi DLB,
Make sure you are adding modules by right clicking on the FPGA Target, not the 9144.
If that doesn't work can you post screenshots?
05-03-2013 09:43 AM
The easiest solution would be to plugin the 9870 to your local RIO chassis and move a analog or digital module from that chassis in exchange to the 9144 chassis.
otherwise you have to use the FPGA mode for that module if that is possible.
Or you need to switch to a Ethernet expansion chassis instead, if you doen't need the tight synchronization of ethercat.
FYI The 2.5 driver is the latest one but it installs the 2.5 LV support only to LabVIEW 2012. If you have a older labVIEW it will install older binaries, the same way RIO does it. (2009-1.0.3/2010-2.1/2011-2.3)
DirkW
05-06-2013 03:52 AM
@Jesse Denis
Thanks for pointing me to the correct way of adding devices. I had right-clicked on the wrong item indeed.
@DirkW
Moving the NI 9870 to the CompactRIO is unfortunately not really an option, because I have many high-throughput modules there that cannot be moved to the 9144. I need DMA for them.
So, I was able to add the NI 9870 module to my project. Here is how it looks now (sort of, many VIs removed for clarity):
The problem I face right now is that it did not detect the module properly. I when I insert a node I/O, and select the write method, I get this:
When in fact I should see this (taken from the example FPGA VI for 9870):
Notice the Data, Timeout and Timed Out connectors don't appear on my VI.
Labview shows the arrow for a valid VI, but when I try to compile it I get a Xilink error. Did it actually detect the NI 9870? What can I do ? 😞
DLB
05-06-2013 09:29 AM
Hi DLB,
It is an FGPA I/O invoke node being used - they have a weird user experience. Right click on the node and select the module under "Select Item." After that your node should be populated.
05-06-2013 09:41 AM
I have tried that multiple times and in multiple combinations with drag-drop and/or select method...
DB
05-06-2013 09:43 AM
Interesting - I was just able to do so. You might force recompile the VI, otherwise feel free to post your project and I will see if I can replicate.
05-06-2013 10:24 AM
I've sent you a PM with the code.
Thank you.
DLB
05-06-2013 10:25 AM
I forgot to mention it: recompiling didn't help. 😞
05-06-2013 10:56 AM
I was able to get things working just by removing the diagram disable structure and selecting the correct serial port again. This may be a localization issue. Is your operating system or version of LabVIEW French?