02-01-2009 09:59 PM
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
Solved! Go to Solution.
02-02-2009 01:49 AM
02-02-2009 01:11 PM
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
02-02-2009 09:03 PM
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.
02-03-2009 04:06 AM
Hi Melody,
something like the attached example should work for you.
Mike
02-03-2009 10:57 AM
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
02-03-2009 12:33 PM
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
02-03-2009 12:34 PM
02-04-2009 08:52 AM
Hi Melody,
it's not an unbundle, it's the "Get Waveform Components" function.
Mike
02-04-2009 10:11 AM
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!