07-04-2017 04:10 AM
I have some experience with LabView but none with this hardware.i am new using CRIO system(9004).how i can save the data using crio any example for this .
07-04-2017 04:27 AM
There's a CompactRIO Developer's Guide here.
07-04-2017 04:34 AM
any example for data saving in host
07-04-2017 04:38 AM
07-04-2017 04:38 AM
See Section 6 for an overview and description of the Sample codes.
07-04-2017 06:39 AM
You need to use two applications: one on your cRIO and one on your host/PC. You can send data between the applications using TCP/IP functions (look up the STM library) or Network Streams. So using this communication, you send messages to the host telling it to save the data being sent.
07-04-2017 08:19 AM
07-04-2017 09:14 AM
Hi maintenanace,
do you really want a "datalog" file or just a logfile of your data (which can be something completely different)?
LabVIEW comes with a huge library of example VIs, there are sure examples explaining how to use file functions…
07-04-2017 09:17 AM
hi there,
as crossrulez said, you have to have a mechanism of transferring data to your PC,
you have several options:
1. build your own TCP/UDP
2. Network Streams
3. Network Shared Variables
http://zone.ni.com/reference/en-XX/help/371361N-01/lvconcepts/data_comm/
afterwards you can write the data to TDMS
* http://www.ni.com/tutorial/9334/en/
* http://www.ni.com/white-paper/3727/en/
or .csv-/text-file
have a look in the examples coming with labview (search for TDMS or Network Streams)
with SSP you have online training which has two courses on RT
LabVIEW Real-Time 1The LabVIEW Real-Time 1 course delivers hands-on training for prototyping deterministic measurement and control systems. At the end of the course, you will be able to design, develop, and prototype a real-time application that handles communication between the RT target and a host computer using NI recommended methods and LabVIEW Real-Time.
|
LabVIEW Real-Time 2The LabVIEW Real-Time 2: Architecting Embedded Systems course delivers hands-on training for designing scalable, maintainable, and reliable embedded applications. At the end of the course, you will be able to translate your embedded system requirements into a scalable software architecture, choose appropriate methods for inter-process and network-based communication, design your real-time application for reliability, and efficiently deploy and replicate your real-time systems.
|
07-05-2017 02:16 AM
Hi GerdW
Thank you for your reply.
i need real data log from the crio