LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Offline Waveform Measuerments

Hey All,
I have a slight problem here. Just look at  "pulse and transition measurements.vi" example provided by NI in LabVIEW. I want to slightly modify this VI and use this in my Project.
 
I am capturing a waveform (lets assume for 10 cycles) from the Function Generator using DAQmx and storing as a binary file. I want to use this data into "pulse and transition measurements.vi" and take the readings.
 
When I put this data it shows this error
 
The type of the source is 1D Array of waveform(DBL)
The type of the sink is waveform(DBL)
 
I hope you all must have got what i mean to say. Please let me know if you require any further clarifications.
 
Thank you
--
Regards,
Sarang Dhananjay Jaiswal
Satyam Development Center, Banglore, INDIA
0 Kudos
Message 1 of 4
(2,872 Views)

Hi sarang,

why not save the data in the same  format that the pulse and transition VI accepts as input?

DAQmx read  is polymorphic and you can choose single or multi channel data in waveform type.

If not , you will have to either convert your acquired binary data to the input data type accepted by pulse and transition VI

or build your own VI to convert your binary data to sgl or Dbl and then achieve the analysis you want.

regards

 

 

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

Hi Sarang,

It sounds like you are getting an 1D array of waveform data, but the input expects simply waveform data.  What that means is you need to somehow simply input one of the indices into the VI.  You can use some of the Array functions to pull out the particular point you want.

Regards,

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

Hey All,

Thanks for the solution

Bye

--
Regards,
Sarang Dhananjay Jaiswal
Satyam Development Center, Banglore, INDIA
0 Kudos
Message 4 of 4
(2,841 Views)