07-26-2012 08:28 AM
Hii,,
Actually i face a problem in programming cRio device with modules 9505&9234 for motor & accelerometers.
we get the examples code for the two modules & it worked well for each one individually.
when we tried to make a new project for the 9234 module & a new vi for the host and the fpga then copy the contents of examples VIs into the created one, we have an error in transfer data from the FIFO in the fpga to the read FIFO in the host.
what is this problem ?
P.S.
The path for the project created have a ".lvproj" for the project & two ".vi" for the host & fpga but,
the path for the example project have a ".lvproj" for the project only
Thanks in advance
Ali Zein
07-31-2012 09:00 PM
Hello Ali_Zein,
Thanks for the post, I have a few questions for you in order to have a better understanding of your application:
Based on the information provided I did some research and found some documentation that may help you with in your application.
CompactRIO Motor Control Basics Tutorial
http://www.ni.com/white-paper/6143/en
Hope this helps! Paul-B
08-01-2012 08:39 AM
Dear Paul-B, thanks for reply ..
1) Exactly, I use two examples from example finder as my local distributor suggest:
I am trying to combine these two VIs together or any other thing to control motor & monitor accelerometer simultaneously
2) I used the same setting in the example FIFO which is Target to Host - DMA / Data Type: FXP, word length: 24bit, integer length: 4 bit.
My application is a structure mounted on it 8 accelrometer & an unbalanced motor, and the student should change motor speed & monitor the frequency response of the structure through the 8 accelerometers.
--
There is a problem too in using example project for the 9234 module .. its response is similar to be a noise more than signal & tottally different from DAQ & it gives me just a noise & don't respond to vibrations changes as expected.
I tested the accelrometers on cDaq & run well but on cRio it's very strange as i can't configure sensitivity like DAQ.
Thank you very much for help Mr.Paul-B :))
Sincerely,
Ali Zein