07-24-2014 05:52 PM
Hi. I am a new Labview user and I have a question about interfacing with FPGA. I have a compactrio and a 2 ni 9237 which a couple of pressure sensors connected to it. At the begining I just wanted to make sure that my sensors are working well so I tried to take their readings and comparing it with the calibration data. The problem is the reading I am taking does not change at alll according to the attached graph. I also attached a couple of pictures of my program. I would be grateful if somebody tell me what I am doing wrong according to the attachments.
Thanks.
Solved! Go to Solution.
07-24-2014 10:38 PM
The way you have written the code will not give you what you are looking for.
07-25-2014 02:44 AM
If all that is required is to test that the sensors are working and that the cRIO is connected correctly then do you need to be using the FPGA at all?
Why not just use the RT environment on the cRIO and avoid having to wait to compile the FPGA every time?
07-25-2014 02:00 PM
Thanks for the reply. Can you show me on the attached files what modification you mean?
07-25-2014 02:02 PM
I want to make sure I am taking the exact value corresponding to the sensor output. Someone told me the only way to take the exact value is using FPGA interface. Otherwise the output is not meaningful. Is that right?
07-26-2014 12:00 AM - edited 07-26-2014 12:02 AM
@MajTal wrote:
I want to make sure I am taking the exact value corresponding to the sensor output. Someone told me the only way to take the exact value is using FPGA interface. Otherwise the output is not meaningful. Is that right?
Thats a myth. For pressure sensors a simple DAQ card is good enough to make measurements. FPGA cards are suggested in Stand alone control application and then in cases where a high sampling rate is required which cannot be satisfied by using a PCI/PXI DAQ cards.
07-26-2014 05:51 PM
P@Anand: Did you see the VI file I attached earlier? Can you please modify them according to what you said in your earlier comments?
07-26-2014 09:56 PM
Sorry, I would not encourage that. Its your learning chance so please try your best and come back if you face any issue, or not bale to understand the concept.
07-27-2014 05:20 AM
For understanding CompactRIO, there is a Developer Guide to help:
http://www.ni.com/compactriodevguide/
If you havent got any Real-Time or FPGA course training, then this is a must to start with.
07-28-2014 10:04 AM
Thanks for motivating me but I could not do anything more of that! I would be much beyond grateful if you just help me this time and correct my VI codes. I am really in rush dear friend.