Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

CompactRIO configuration

Hi

 

I have labview 2010 in my pc and i want communicate with cRIO 9022 using RJ45 cable.

 

I have already installed the drivers NI RIO 3.5.1 & NI RIO 4.0 but i still can't find my compactrio in the MAX.

 

Is it any other drivers that i should install or what's the problem exactly?

 

regards

0 Kudos
Message 1 of 38
(6,883 Views)

Some networking things to consider:

  • Depends if how you are connecting the PC / cRIO together - just connected directly together (this may need a crossover LAN cable - though not 100% sure), or through a dedicated ethernet hub/switch, or just straight onto an existing network (in which case you may need to change DHCP adressing)
  • Have you set up the IP addressing on the cRIO correctly - the cRIO manual explains exactly how to set the IP address up, I can't remember if cRIO *only* works with a fixed IP (i.e. no DHCP), but that's how we have ours set up.
      • follow the procedures in CompactRIO Operating Instructions and Specifications document in the section “Configuring IP Settings and Installing Software on the Controller section”. See NI reference document “NI_cRIO_Getting_Started_372596a.pdf”, section named "Installing Software on and Configuring the Controller" which contains the steps to follow - http://www.ni.com/pdf/manuals/372596a.pdf
  • Is the IP addressing and network cards settings on your PC correct for the above
  • You may have a firewall issue blocking traffic - try turning it off and seeing if that makes a difference
  • I seem to remember that the initial configuration has to be done through Ethernet port 1 on the cRIO - the 9022 has two ethernet ports. But for some reason once set-up, our cRIO is networked to our development PC using Ethernet Port 2 - I'm sure there is a reason for this.

 

You should be able to see the cRIO in:

  • MAX
  • Distributed System Manager
  • and in a web-browser - simply by typing in the cRIO's IP address

 

Other things to check:

  • Are all cRIO dip swicthes in the correct position - as per the manual
  • Does the leds on the cRIO light up correctly showing POST - as per the manual

 

That's about as much as I know.


Andy

Consultant Control Engineer
www-isc-ltd.com
0 Kudos
Message 2 of 38
(6,882 Views)

Hi Andy Clegg

thx for these informations

 

I should see two lights on the network cable connection, one solid and one rapidly blinking. This indicates that there is communication. but i see no blinking lights on the cable connection !!!

0 Kudos
Message 3 of 38
(6,880 Views)

That sounds like you aren't getting any network communication to the cRIO. How is it that you have the cRIO hooked up? 

 

If you get a good connection and see those network communication lights, but still don't see your cRIO in MAX check out this KnowledgeBase for a lot of good troubleshooting steps.

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 4 of 38
(6,859 Views)

Hi

i finish the configuration of my hardware and i build a compactrio project

 

now i want to communicate with some device using serial interface.

 

i have NI 9879 module.

 

how to implement my serial interface vi ?

 

regards

0 Kudos
Message 5 of 38
(6,856 Views)

So you got the cRIO visible - what did you have to do to fix it ?

If you ask a question it is nice to post the solution.

 

 

Regarding getting the serial interface to work:

  • first you will need to know all the settings the device you are going to connect to uses - baud rate, parity bit, etc etc
  • use the "find examples ..." in the LV getting started window to find a pre-built example - they are best starting point - and configure/check works

 

Consultant Control Engineer
www-isc-ltd.com
0 Kudos
Message 6 of 38
(6,846 Views)

Hello

To fix it i start NI configuration manager after using these links:

http://digital.ni.com/public.nsf/allkb/D0B2EB96C4E81690862572BC007B2FBC?OpenDocument

http://digital.ni.com/public.nsf/websearch/B9107A7F281F9B408625720B0078E5A8?OpenDocument

 

But now i have my vi "serial interface" and i want to implement it , how?

i have NI 9870 module

 

regards

0 Kudos
Message 7 of 38
(6,840 Views)

Just as some general information about the 9870 you can check out these help articles on it.

 

I'm not sure what you're trying to do with the 9870, whether you're setting it up through the scan interface or using it with the FPGA module. 

So, I'm not sure what methods to recommend to you. Could you give us some more background on your application and explain what problems you're having?

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 8 of 38
(6,831 Views)

Hi

Can you explain briefly the difference between the scan interface and the FPGA module?

 

With NI 9870 i want to try my serial interface vi .

 

i send a command to an perephiral, then i read what i recieve

 

regards

0 Kudos
Message 9 of 38
(6,815 Views)

The scan interface is a preconfigured bit file we have created to be deployed to the FPGA on the cRIO for general use applications. Its your only option for the FPGA if you don't have the FPGA Module

There are some special steps you'll need to go through to use the 9870 in scan interface mode as described in the help here.

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 10 of 38
(6,812 Views)