Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67331

text file transfer from myRIO to remote PC in a while loop for control

$
0
0

I am trying to transfer a text file on my desktop computer to myRIO and also read a text file from myRIO to my desktop computer. The control algorithm is running in python on my desktop computer. I tried with WebDAV from the following link but couldn't open a new text file in myRIO? It says permission not granted, but I can see different folders in the files folder.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019PlESAU&l=en-US

Wondering if I am doing something wrong.

 

I also read that it is not a good idea to transfer file in a while loop. I need to obtain the states (which are in the text file) in order to output the control signal from python in my desktop.

I am attaching the VI which tries to read and write files in the myRIO. Using WebDAV I wanted to read and write these files from myRIO.

Is there a better way to do this?

 

 


Viewing all articles
Browse latest Browse all 67331

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>