Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Running cRIO and myRIO simultanously

Hello guys,

    I am working on a project which requires motor control and load cell measurements. I have cRIO with 9514 module to control motor. However, due to limited budget I was not able to buy another module to load cell measurement. Therefore, I decided to use myRIO, which was able to me to measure force from load cell. My project requires measuring force and using it to control the motor. So, I would like to know if I can make two VIs, one for motor control and another for load cell and then a main VI, where I can call the other VIs and make communication between them. 

0 Kudos
Message 1 of 2
(2,353 Views)

Hey Basit,

 

You absolutely can!  Check this white paper that talks through all the way's to communicate between Windows/RT/FPGA on the RIO platform.

 

My recommendation, I would create a VI for each of your pieces of hardware.  One for the cRIO that does your motion control and one for the myRIO for your data acquisition of the load cell.  The tricky part may be if you have to communicate quickly between them as network communication isn't the fastest or deterministic, but as long as your load cell measurement doesn't control your motor super fast then you should be fine.  

 

You will most likely also want to make a Windows VI to communicate with the two VI's running on the RIO's.  Definitely plan out your system and what needs to happen where so that you can have a plan for building your application.

 

-Bear

Regards,

Ben Johnson
ʕง•ᴥ•ʔง
0 Kudos
Message 2 of 2
(2,325 Views)