07-10-2007 09:34 AM
I would like to write to disk file from a VI running on CompactRIO RT controller.
To do this I use the usual VIs for writing to file (binary or txt format). The RT VI is running correctly without any error but when at the end I go to open the created file I cannot find it at the specified hard disk path (C:\path\filename.txt). I saw examples writing to disk file from RT VI running on CompactRIO RT controller therefore I suppose that will be possible. Is it perhaps necessary to specify a particular path to have access to the PC hard disk from CompactRIO RT controller?
Could anybody help me?
Thanks in advance
07-12-2007 04:31 AM
I would like to further explain my problem. I have LW full system + LW FPGA module + RT module 8.2.1, I’m using the Front Panel Communication Protocol and not the Network Communication Protocol, that is, I’m using the RT Development system to communicate with the RT Engine running inside cRIO –9104. I created two VIs one for FPGA and the other one deployed on RT target (no Vis having windows as target) acquiring data from the c-modules NI-9215 and NI-9205 and displaying it to graphs. What I would like to do is also to store the acquired data to a file on the PC hard disk. What happen is that the two Vis are running and communicate correctly thanks to the RT development system but no files are generated on the hard disk path I defined.
What could be the problems?
Thank you
07-12-2007 09:51 AM
07-12-2007 10:34 AM
Thank you for information, could you let me have further details? In particular what is the path I have to use to save a file to CRIO and where I could find some examples on how to transfer the file from cRIO to hard disk PC programmatically through FTP?
Thank you
C.
07-12-2007 12:33 PM
Hi,
When you are using the format "C:\path\filename.ext" you are actually saving on the cRIO's flash memory. This is fine if you are not saving files often because you can open an FTP client to the file on the cRIO. To do this, type the following into your web browser ==> "ftp:\\192.168.1.50\" and browse for that path. THen you can copy the file to your local machine. However, this is not recommended for continuous logging or for large data files.
If you are looking to create data files more often, then you will want to consider developing a host application that retrieves the data that you want to store via TCP/IP and creates the data file on the host computer. There are several NI examples that show how to do TCP/IP communication to an RT target. These can be modified to retrieve the data that you want to save.
I hope this helps and good luck!
Mike
07-13-2007 10:16 AM
Hi,
I tryed with ftp transfer and everything is ok.
Thank you again.
09-03-2008 07:54 AM
Hi everyone!
I know I arrive a bit late on this topic but I would love to know which example you used to finalize you recording. I want to write a big amount of data from 3 modules NI9211 (mounted with cRIO 9014) to a file on my computer and the only thing I've done for now is just visualizing the signals. I would like to need some help to record data this way, is it possible? You have to understand that I'm completely new to this kind of application of Labview.
Thanks
Julie
04-23-2011 02:39 AM
Hi,
I am new to topic as well as NI forum.
i would like to some interesting facts about Compactrio.
My system has got ubuntu, running labview 2009.
I got some application s/w, running in host pc [eg speech recognition s/w]
As i speak , the s/w would recognize me and respond to it.
Now problem is, the compactrio need to retrieve the result of those S/W and compactrio output should respond to my command.
how to mingle those s/w with compactrio ?
How does Compactrio would retrieve the result of those s/w ?
Kindly help me !!!!!!!!!!!!!!!!!
04-23-2011 02:39 AM
Hi,
I am new to topic as well as NI forum.
i would like to some interesting facts about Compactrio.
My system has got ubuntu, running labview 2009.
I got some application s/w, running in host pc [eg speech recognition s/w]
As i speak , the s/w would recognize me and respond to it.
Now problem is, the compactrio need to retrieve the result of those S/W and compactrio output should respond to my command.
how to mingle those s/w with compactrio ?
How does Compactrio would retrieve the result of those s/w ?
Kindly help me !!!!!!!!!!!!!!!!!