01-04-2017 06:43 AM
Hi,
I am a new cRIO programming. Developed simpled datalogging program using FPGA and RT. As per the example given, the code works perfectly but since the array dimension has been given as 500 columns, we are getting the max data points logged was 500 data points.
I want all the data to be logged until pressing the stop button. Attached the RT vi for your reference.
Regards,
X. Ignatius
01-04-2017 06:52 AM - edited 01-04-2017 06:53 AM
Hi Ignatius,
you should use shift registers for references (file reference, FPGA reference)!
Can you attach a TDMS file you created with your VI?
What kind of RT target do you use to have an UI with a chart? (The same with those stop buttons…)
Why do you use string functions to build a path?
Do you get any errors in your (inner) loop?
And after all:
WHY do you wire a TRUE condition to your CompoundArithmetic in the inner WHILE loop???
Generic question: You know how to use debug tools in LabVIEW?
01-04-2017 07:38 AM
Hi Gerd,
I tried modifying the example. Now Attached the original RT vi. sorry for the inconvenience.
1. Attached the TDMS file created using the vi.
2. RT target is cRIO 9004.
3. String for the path - modified to try creating multiple files. Now changed to constant path as it was the original as per the example code.
4. No I didn't get any errors in the loop.
5. Additionally attached the fpga vi.
01-04-2017 08:58 PM
Hi Gerd,
I think you were busy.
Can anyone help me in completing my simple data logging project.
Regards,
X. Ignatius
01-05-2017 04:01 AM
01-06-2017 06:52 AM
Hi Gerd,
Thanks for the input, it is working now.
I need the data saved in RT to be moved to Host PC. I tried using FTP get vi but it is not working properly. I had connected the while loop stop button to a case structure to execute the FTP get instruction. Am I right in doing this?
Regards,
X. Ignatius
01-06-2017 07:08 AM
Hi Igni,
I tried using FTP get vi but it is not working properly.
What does it mean? Any error messages/numbers?
I had connected the while loop stop button to a case structure to execute the FTP get instruction.
Why do you call a FTP.Get function in your RT target?
Am I right in doing this?
Dunno. You don't show snippets or VIs…
01-09-2017 06:45 AM
Hi Gerd,
Attached the vi as per the request.
I am using FTP.get to transfer the tdms files from the RT to the HOST PC.
Regards,
X. Ignatius
01-09-2017 07:14 AM
01-09-2017 08:25 AM
Gerd,
Modified the vi with FTP.PUT but I am getting an error. Attached the error screen and the vi.
Regards,
X. Ignatius