LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple read write module

Hi I am a brand-new user to labview.I have bought a cart from NI (PCI 6221) witch does not have a stand alone program to work as data logger. So I have to use the labview to read and write the values. (I have 12 analog inputs). Also I have the measurement & automation program from I have setup my cart.    I want to make a simple module (or use one if exist) to read the values from the cart and store them to a file witch is going to automatically change every week. So in week 1 I will have the file1 in week 2 the file2 e.t.c. Could some one help me on how to do this? Thank you 
0 Kudos
Message 1 of 3
(3,221 Views)

You can use the "Cont Acq&Graph Voltage-To File(Binary).vi" as a start. You can find this vi using the example browser and there browsing to "Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage".

This example does not change files and is meant for medium-fast acquisitions but can be altered for you needs.... 

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(3,199 Views)

Hi Kordou,

 

For this program, would a user manually select a week number or would the program be constantly running and checking the dates?

 

As well as binary files you can write to TDMS file types or also text files/spreadsheet files. There should be many "Write to File" examples in the LabVIEW Example Finder (Help»Find Examples...) under DAQmx, which is our data acquisition driver.

Jeff | LabVIEW Software Engineer
0 Kudos
Message 3 of 3
(3,175 Views)