LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cycle average and RMS.VI unexpected error

I have an application that performs continuous acquisition IQ with NI 5600, calculate the RMS value of waveform.   When I've run the program, I've found out that the sub-vi, ma_ptmFetch.vi, within the cycle average and RMS VI, is returning an error(-20308),  which says "ma_ptmFetch.vi" when called from "Cycle Average and RMS 1 chan.vi" . Then error (-20312) input waveform size is zero.  I have changed the default value of reference levels, that have not changed nothing.

Can anyone help, with this problem?
0 Kudos
Message 1 of 9
(4,882 Views)
Have you actually checked the size of the waveform you're passing to the function? The simplest way to do that is to stick a probe on the input. The default values have nothing to do with the Y array size of the waveform.
0 Kudos
Message 2 of 9
(4,876 Views)

Hi Mr. Dennis,

Thank you for your response. How can i do to stick a probe on the input.

Another question is: I want to know time reel of execution of my program.  Does there exist a mode to measure time that a treatment in a loop while in labview puts?
 
I need quikly the reponse please.
Thanks very for the response.
0 Kudos
Message 3 of 9
(4,861 Views)

You right click on a wire and select Probe.

If you have the Professional version of LabVIEW, you have the profiler (Tools>Advanced>Profile VIs). You also have the time functions on the Time & Dialog palette. Get a start time at the beginning and a stop time at the end and subtract the start time.

You might want to check the LabVIEW Learning Center for some information on classes, books, and on-line tutorials.

0 Kudos
Message 4 of 9
(4,852 Views)
Thank you very much but I don t understand, what wire I must stick (references levels,percent level settings, error, signal)? and what probe i must put?
 
Thank in advance.
0 Kudos
Message 5 of 9
(4,849 Views)
Since the error message says that your input waveform size is zero, then the thing to probe is the signal in and the default probe will be perfect. I'm sure that what you'll find is the you really don't have any signal to analyze. How are you getting a signal? Why don't you post the VI you've written? Also, in order to get all of the subVIs that you may be using, post an LLB. You get this by doing a Save with Options and selecting Development Distribution.
0 Kudos
Message 6 of 9
(4,844 Views)
Thank you, but I have stick the signal.
I send you my VI in attach,
Thank you very much
0 Kudos
Message 7 of 9
(4,841 Views)
Well, I don't have the modulation toolkit or the 5660 so all of those VIs are missing, so I'll go back to my original recomendation. Probe the signal input and see if there's any data there. Maybe the MT Get Complex IQ Component is not returning anything. You can also temporarily move the IQ Waveform indicator to the input signal of Cycle Average and RMS. Do you have any data in the "Y" indicator?
0 Kudos
Message 8 of 9
(4,837 Views)

Hi,

I have verified the input of the signal but, after sometime the input is zero, the error which is returned is *overload* because the is overload.

I want to know what occurs exactly at the time of the acquisition and the processing data acquired with Ni 5600.  When J write my programme of processing of data in Labview, if the loop time of processing of data is slow than the acquisition, I want to know if PXI put the data in a buffer or then the data are lost. 
 
J wait your answer impatiently. You can tell me the documentation were can i read to see the answer.
 
0 Kudos
Message 9 of 9
(4,830 Views)