Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Load cell save data according to time

Solved!
Go to solution

Hello,

I have NI 9237, NI cDAQ-9172 and a load cell. I downloaded the 'load_cell_null_off_shuntcal' VI from the web. And now I need one more step to save the load cell data according to time in an EXCEL file( first column is time and second column is load).  And how to control the data acquisition rate?  Is there any example for this application ?  Any help would be appreciated!

 

Thanks!

 

Melody 

0 Kudos
Message 1 of 17
(4,830 Views)

Hi Melody,

please see this link for some examples.

 

Mike

Message 2 of 17
(4,827 Views)

Hey Mike,

I went through that thread  and found a zip file named 'excel_toolkit_lv6i.zp'. Unfortunately, my labview version is 8.5 and I can not open their VI files in 6i. Actually what I need is not the fancy postprocessor EXCEL staff. I just want to save the real time data in two columns. So what I need is a simple example which can save time and  load to a spreadsheet file.

Could you please help?

Thank you!

 

Melody

0 Kudos
Message 3 of 17
(4,816 Views)

Hi,

I have a VI that control and save load cell data according to time. My question is whether the 1D waveform contain time stamp?  If yes, how could I write the time and load cell data in two columns ?  I attached the VI here. Please help.  

 

 

0 Kudos
Message 4 of 17
(4,808 Views)

Hi Melody,

something like the attached example should work for you.

 

Mike

0 Kudos
Message 5 of 17
(4,800 Views)

Hey Mike,

Thanks for the quick reply. I am really a beginner for labview and  I can not find several icons in the file. I try to list the name from left to right here (in labview 8.5)

DAQmx Read(Analog 1D wfm N chan N sample)     

Unbundle by name (looks a little different from mine)

Number to fractional string

?

?

Build Array

Write to spreedsheet file.

Is that correct?  Could you tell me what's the icon for '?' .  You may either give me the VI or just tell me the name, which is easier for you!

 

Appreciate your help!

Melody

 

0 Kudos
Message 6 of 17
(4,789 Views)

Hey Mike,

I think I've figured out what's those icons. Please ignore my last reply.

 Another question: I connected 'DAQmx Read' and 'unbundle by name'. The error says: "you have connected two terminals of different types. The type of the source is 1-D array of waveform(DBC). The type of sink is cluster of 2 elements. One thing I'm not sure is whether the 1D waveform included dt and t0 or not?  I tried to select t and dt, but there is only two elements X and Y.

 I attached the VI here. Please help!

 Thanks!

 

Melody

0 Kudos
Message 7 of 17
(4,784 Views)
The VI is here.
0 Kudos
Message 8 of 17
(4,783 Views)

Hi Melody,

it's not an unbundle, it's the "Get Waveform Components" function.

 

Mike

0 Kudos
Message 9 of 17
(4,765 Views)

Hey Mike,

I can't add it in the block panel. It says: 'Object not dound. The object might exist in a different palette view or might not be support on a target in the project Explorer window'. My labview edition is 8.5. Am I short of some toolkits or what's wrong with this?

 

Thanks!

0 Kudos
Message 10 of 17
(4,763 Views)