LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIOからインターネットを介して、FTPを使用したファイル転送ができますか?

Solved!
Go to solution

cRIOとWindowsPCとを同じネットワークとして、FTPによるファイルアップロードをしています。

cRIOとPCを物理的に隔離したいのですが、cRIOをインターネットに接続して、遠隔地にあるPCへファイル転送を行うことは可能でしょうか?

可能な場合は簡単な手順についても教えて頂けると幸いです。

宜しくお願いします。

 

0 Kudos
Message 1 of 5
(885 Views)
Solution
Accepted by topic author shi_fu

Hi shi_fu,

 


@shi_fu wrote:

I am uploading files via FTP with the cRIO and Windows PC on the same network.

I would like to physically separate the cRIO and the PC. Is it possible to connect the cRIO to the Internet and transfer files to a remote PC?


The cRIO and your Windows pc are always "physically separated"…

Well, you could connect your cRIO to "the internet" (from device side it is just a network connection to the next switch/router). When there is a route available between cRIO and "remote pc" then it is also possible to start a communication between them!

 

I would recommend to not connect a control device like a cRIO (or a PLC or similar) directly to "the internet" because of security reasons. Pleas ekeep that in mind before startng to talk to your local network admins…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(877 Views)

ご回答ありがとうございます。

確かにcRIOとPCは元々物理的に分離されてますね!笑

距離を気にせずにやり取りしたいという意味で書きました。

 

セキュリティを考慮してcRIOをインターネットにつなぎ、PCとの間に利用可能なルートがあればFTP可能である旨、理解しました。

 

LabVIEWやcRIOの内容からそれてしまいますが、「PCとの間の利用可能なルート」の作り方について、例えばどんな方法があるか教えていただけないでしょうか。

 

宜しくお願いします。

0 Kudos
Message 3 of 5
(858 Views)
Solution
Accepted by topic author shi_fu

Hi shi_fu,

 


@shi_fu wrote:

I'm going to deviate from the content of LabVIEW and cRIO, but could you tell me, for example, what kind of method is there to create an "available route to/from the PC"?


In my experience devices usually are located within local networks (behind a router/firewall/company server) and you cannot access them from public internet.

 

I guess your desired communication route will look like this: device <--> local network 1 <--> router <--> public internet <--> router <--> local network 2 <--> computer.

The problem is: "device" and "computer" will use local IP addresses, meaningless (aka "not accessable") to anyone connected with "public internet". You need to provide a way to let "device" and "computer" being able to know each other:

  • a public server, located in "public internet", accessable to both (that's the way software like TeamViewer operates)
  • a VPN connection between both "routers" to bridge the "public internet" by creating a connection between both "local networks"

Both options require additional work/administration, so you better talk with your local network admins to discuss the options available to you!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(838 Views)

Thank you for your kind explanation!

It was very helpfull.

0 Kudos
Message 5 of 5
(810 Views)