Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a reason why I can acquire an acceleration signal with Compact DAQ but not with RIO?

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.

0 Kudos
Message 1 of 3
(5,870 Views)

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,

Dom C
0 Kudos
Message 2 of 3
(5,837 Views)

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

0 Kudos
Message 3 of 3
(5,830 Views)