07-02-2020 08:04 PM
Dear experts...
I am currently trying to collect acceleration sensor data using cRIO-9042 and NI9232 module, but when I run the FPGA code created by referring to the NI homepage, only the input data is 0... (please see the Figture)
If you know the cause or solution of this phenomenon, please reply.
I will attach a VI and a project.
Thank you.
Solved! Go to Solution.
07-02-2020 09:07 PM
I guess this is caused by error7. File path "c:\analog_input.tdms" is not valid for Linux-RT.
Please check valid path --> Working with File Paths on Real-Time Targets
07-03-2020 12:36 AM
Dear, Emboar.
Thank you very much for your opinion.
I changed the file storage location to'/home/lvuser/test.tdms' by referring to the link you provided, but the same thing happens.
Maybe it's because of another problem.
Thank you.
07-03-2020 01:24 AM
07-03-2020 01:43 AM
Error 7 is gone, but the data is still only measured as zero...
Thank you.
07-03-2020 02:09 AM
07-03-2020 09:47 AM
What sensor are you using? Do you need to turn on the IEPE for the sensor?
07-09-2020 11:28 PM - edited 07-09-2020 11:36 PM
Sorry, I'm late.
When I looked at the FPGA I/O output as a probe in FPGA.vi, I found the following values:
The meaning of the sentence in the red box is 'not executed'.
And Second figure is current Labview project tree.
What's the problem...??
07-10-2020 05:04 AM - edited 07-10-2020 05:11 AM
Notice in your project there is a I/O called "Mod2/Start". You need to write a TRUE to this in order to enable the ADC on the module. So write to that IO before your loop.
For more details: NI 9232 (FPGA Interface)
07-14-2020 09:34 PM
As you told me, I used 'Mod2/Start', 'Mod2/Stop' block, then It works well !!
Thank you very much.
Have a nice day ^^