From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify existing example code for CompactRio NI 9237 to write data to file?

So right now I'm using the CompactRio NI 9237 example Getting Started code for reading a load cell. However the example code only gives me a snapshot of my current force values and does not give me a continuous data log of the values. I'd like to store the files in something easy to read like an excel file for example or notepad.

 

 

The example code is pretty complicated and I'm a complete beginner to LabView and CompactRio so any help with modifying the code would be great. I'm not sure either what file type is best to store the data.

 

The example code can be found under the LabView example finder

>>Hardware input and output >>compactrio>>Module SpecificIO>> Analog Input>>NI 9237

 

Thank you.

0 Kudos
Message 1 of 3
(2,348 Views)

Hi Kevin,

 

you will find examples using

File -> "New…" -> Project -> Project from wizard -> Real-Time project

 

This way you will get a project with data transfer from RT target to host PC to store data on your PC!

Best regards,
GerdW


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

Thank you!

0 Kudos
Message 3 of 3
(2,283 Views)