简体   繁体   English

如何将tdms数据保存到crio上的USB记忆棒

[英]how to save tdms data to a USB stick on crio

Morning, 早上,

I want to save the files to an external USB stick on CRIO, cause the internal crio system can't hold too much data. 我想将文件保存到CRIO上的外部USB记忆棒,导致内部Crio系统无法容纳太多数据。

And also, how can I log in to the internal system?I tried with ftp://, it's not working, and I can log in to the system using http:// but I can delete anything form the system. 另外,我该如何登录内部系统?我尝试使用ftp://,但它不起作用,我可以使用http://登录到系统,但可以删除系统中的任何内容。

Many thanks. 非常感谢。

Aileen 爱琳

Your USB Drive seen on cRIO as drive U:\\ 您的USB驱动器在cRIO上显示为驱动器U:\\

Write code under cRIO and use Open TDMS.vi connect path control and specify the path. 在cRIO下编写代码,并使用Open TDMS.vi连接路径控件并指定路径。

For internal memory it would be C:\\test.tdms For USB U:\\test.tdms 对于内部存储器,它将为C:\\ test.tdms对于USB U:\\ test.tdms

Use operation input for that VI and connect there open or create constant to create test.tdms file if does not exist. 使用该VI的操作输入,并在该处连接打开或创建常量以创建test.tdms文件(如果不存在)。

Than use TDMS write to log your data. 比使用TDMS写入来记录数据。

PS. PS。 This would be helpful for you: http://www.ni.com/tutorial/52028/en/ 这对您会有所帮助: http : //www.ni.com/tutorial/52028/cn/

You can save data using standard File I/O functions/VI's. 您可以使用标准文件I / O功能/ VI保存数据。 You will also have to use standard windows file naming and file paths conventions such as a backslash...etc. 您还必须使用标准的Windows文件命名和文件路径约定,例如反斜杠...等。 Also as mentioned above, you will need to use u as the first drive and v as the second and so on. 同样如上所述,您将需要将u用作第一个驱动器,将v用作第二个驱动器,依此类推。

This might be helpful: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7iaSAC 这可能会有所帮助: https : //knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7iaSAC

Also NI support engineers can be very helpful in answering these questions. 此外,NI支持工程师在回答这些问题方面也将非常有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM