01-25-2013 03:14 AM
When I acquire an analogue input signal from an accelerometer, I have no problem with a C-DAQ, however I cannot acquire the same signal with a RIO. I have enabled the IEPE AC coupling option but this still does not work.
I attach my code, any help or advice would be fantastic.
01-29-2013 08:08 AM
Dear Darly_TBG,
I hope you are well. Thanks for posting to the forums.
I have taken a look at your application and noticed a few things in your FPGA.vi that are probably causing the issues you are seeing.
- You have a red coercion dot on the input terminal of 'Elements'. This suggests a data type mis-match between the FPGA I/O node and the Sensor FIFO you have created. In FPGA, you need these data types to match.
- You haver used a stop control in the while loop. In FPGA you do not want to have controls as these won't be used at run-time.
- The value of the input constant for the 'Timeout' should be the default - a value of 0 not -1. Take a look at the LabVIEW Context Help>>Detailed Help for further information.
I have attached a word document that explains the changes I made to your application with screen shots.
If you could let me know how this goes for you, that would be great.
Kind Regards,
01-29-2013 10:41 AM
Dominic, that wass great help thank you.
In actual fact it was the timeout that was the issue.
With regards to the coercion dot this was not a problem but it is never good coding practice to have these.
Thank you
Daryl