10-25-2007 09:24 AM
Hey,
1) On the flash memory of your RT controller you will find the operating system and all the drivers you will need. If you want to delete the flash you have to format it via MAX, but then you have to setup your cRIO again
2) If you format the flash everything gets deleted. If you then setup your cRIO and target your programm code there will be nothing else in the flash memory!
3) On your cRIO device you have dip-switch where you can choose wheter to start the application or not (called NO APP).
4) If you want to stop also the FPGA vi when you stop the userinterface you have to use e.g. a variable to stop the FPGA loop. Attached you will find an example.
Christian
10-25-2007 09:36 AM
@vishnu123 wrote:
5.Suppose next time when i connect to ftp://xx.xx.xx.xx i dont want to keep earlier files there how to delete them?Because my doubt is if i am using the file name which is same as the prevoius one there is aproblem of appending the new data to the old file.?
10-25-2007 09:40 AM
10-25-2007 01:12 PM
12-19-2007 10:01 PM
Christian,
From the number of time this thread was read, it would appear that it is not as simple as I would imagine. Like Vishnu, I am trying to collect data from a CRio to a file for further analysis.
What is working: A FPGA vi collects data at high rate: 8 Synchronous samples, at 400 micro seconds, a Mix of software generated values and measured values monitoring the behaviour of our system.. They are sent to the RT CRio via a Fifo where a VI is collecting 4 seconds worth of data by assembling the arrays together as they are received from the FPGA. The data is displayed on a graph.
What is not working: We would like to be able to save the data either continuously or by snapshot. When using the WriteTo text file subVi in the CRio I get an error on open. I also tried the write to Spreadsheet to no avail.
What is confusing to me is where is the subVI trying to write. The sub VI isa running on the CRio while the intended target is the hard drive on the Host computer. Is this possible? In the case where the CRio is on a network how can the CRio know which host to write to. Is this suppose to work? IF yes, what would generate the Open Error?. Obviously this is a very large amount of data and I am also worried about the system capabilites.
If this not the way I am suppose to use-it, what would be the optimum? We have tried to send the data via Global Variable from Crio to the host where a VI is trying to catch the Data. But I do not seem to be able to make-it work.
Thanks
12-20-2007 08:50 AM
Hey,
If you want to store the acquired data on your Host PC you will need to build a communication between RT target and Host, e.g. using TCP/IP, UDP, STM, shared variables, ...
In your case I would suggest to use STM Simple TCP Messaging Protocol (http://zone.ni.com/devzone/cda/epd/p/id/2739) to transfer the data to your Host PC and then save it there using e.g. TDM storage VIs. At your RT VI just keep in mind whats the timecritical part and place it in a own loop (TCL Time Critical Loop), from which you transfer the data using RT FIFOs to another loop (NPL Normal Priority Loop) doing the communication to the host via STM.
Attached you will find an example of communication between FPGA, RTController and HostPC (Data Storage on Host not included!). To run it you will need to install the STM library.
Hope this helps!
Christian
06-27-2011 11:50 AM
Hello ..to all..
I m using cRIO 9074 for aquiring data from 24 pt 100, 6 flow sensor, I am trying to write data through writedata to spreadsheet.vi and TDM but nothing is worked..:(
i tryied almost all possible way ...
is there any suggestion ..how can i write data for further analysis..
Regards
Tejas