01-03-2019 10:46 PM - edited 01-03-2019 10:47 PM
HI
I encounter a problem that is how do i send and receiveXML file.
I have LV project at my destop pc and there was a Crio device connect to the network,because my project is not under the Crio,it is under my computer,i try to read the xml inside the Crio i used 'FTP' but can not access to Crio. Is there other way to read and send xml to Crio without a real FPGA project.
Solved! Go to Solution.
01-04-2019 12:32 AM
Hi pi number,
i try to read the xml inside the Crio i used 'FTP' but can not access to Crio.
Is FTP enabled/installed on your cRIO?
Which cRIO? Which (LabVIEW) software version?
Is the cRIO accessable using a browser?
Is there other way to read and send xml to Crio without a real FPGA project.
Yes sure, you can program some communication between a PC host and a cRIO target!
Is there a (LabVIEW) software running on your cRIO? Do you have access to the CRIO?
01-04-2019 12:54 AM
Hi GerdW
The Crio is 9074 and labview versin is 2016,i can access from browser
Because i am new to labveiw and do not know how to made this communicaiton to cRIO target!,do you have some sample VI?
01-04-2019 12:58 AM
Hi pi number,
Because i am new to labveiw
Yes, I see from how you write the word LabVIEW… 😄
Did you notice that "Training" section in the header of this LabVIEW board?
do not know how to made this communicaiton to cRIO target!,do you have some sample VI?
LabVIEW comes with a huge library of example VIs and projects.
There are also example projects showing how to communicate from PC host to RT target!
01-04-2019 01:03 AM
Hi GerdW
Ok i will find some sample vi and test it
Thanks
01-04-2019 01:05 AM
One other thing,because my project is seperater from the project which is ruuning at cRio target.
Is that also possible made the code to access to cRio target?
01-04-2019 01:20 AM
Hi pi number,
my project is seperater from the project which is ruuning at cRio target.
Is that also possible made the code to access to cRio target?
Having direct communication between PC host and RT target is (IMHO) simpler.
But you can also access the cRIO using FTP (for older cRIO, or after installing the FTP software package) or WebDAV (for recent cRIOs with actual software package)…
When you can access the cRIO using your browser then you can do the same with LabVIEW.
01-04-2019 03:00 AM
Hi GerdW
Yes can use FTP to access to cRio but in labview it can not work,i used the follow path
01-04-2019 04:10 AM
There are specific FTP VIs available under the "Data Communication -> Protocols -> FTP" Palette.
01-04-2019 04:21 AM
Have a snippet. I'm feeling generous.
This was to FTP a file out of the RIO to local PC, modify some settings and FTP back to the CRIO. Then delete local copy.
Assumes RIO FTP is set up with username = Admin, Password = "" which I think is the default on the VXworks RIOS.
0xDEAD