LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I perform a trigger that collect the data for every rising edge continuously and then automatically put the data in a .xls file??

I need to collect the data for every rising edge a trigger perfoms. So far I could collect the data but it seems that it only collect the data in the start of triggering, but not continuously. I also want to put the data in an excel spreadsheet and automatically add new set of data when the next rising edge occur. Please help.
thanks a lot.
0 Kudos
Message 1 of 4
(3,316 Views)
LabWindows/CVI actually ships with a comprehensive set of examples for just about every area of programming you can use it in, including triggered analog data acquisition and ActiveX control of Microsoft Excel for data logging. Go to the following two directories on your computer to find respective examples for the two areas you are inquiring about:

1) C:\MeasurementStudio\CVI\samples\DAQ\Ai\DAQsingleBufExtTrig.PRJ

2) C:\MeasurementStudio\CVI\samples\activex\excel\excel2000dem.prj

Just make sure to study the examples carefully so that you fully understand the processes followed for triggered analog acquisition and the process of launching an ActiveX automation server for control, and then you should be able to merge the concepts shown in both of the example
s to make the application you desire.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 4
(3,316 Views)

Hello all.

I found this example and my problem is exactly the same but I need to do that with Labview?

Can someone help me? Thanks a lot!

0 Kudos
Message 3 of 4
(2,906 Views)

Hi,

 

If you need to solve this problem with LabVIEW, you should post a descriptive question in the LabVIEW forum, which can be found here: http://forums.ni.com/t5/LabVIEW/bd-p/170

 

Good luck.

0 Kudos
Message 4 of 4
(2,904 Views)