06-28-2012 10:25 PM
All right. I upload the VI and could you examine it?
06-28-2012 10:26 PM
Hmm. I upload the vi and could you help me examining it? Thanks.
06-28-2012 10:29 PM
I don't have a DAQ handy, which VI is giving you the issue?
06-28-2012 10:34 PM
Filter VI is the trouble which i found but DAQmx is just being used to acquire data.
06-28-2012 10:40 PM - edited 06-28-2012 10:41 PM
Why can't you use a bandpass where you can set the high and low limits rather than two separate filters? Also, wire an indicator up to your waveform and then run your VI. Stop the VI and change the indicator to a constant and leave the constant on the block diagram. That way we have data that's causing the problem. Will be much more helpful in debugging.
06-28-2012 10:46 PM
I'm having a great deal of difficulty even reading this VI. Was it written in a language requiring 2-byte characters? All of the text labels are screwed up and I can't make heads or tails of them.
Charles
06-28-2012 11:02 PM
@Charles_CLD wrote:
I'm having a great deal of difficulty even reading this VI. Was it written in a language requiring 2-byte characters? All of the text labels are screwed up and I can't make heads or tails of them.
Charles
I had the same issue. If you turn on context help, you can find the two filters in the lower part of the big while loop. I couldn't find them by the name because that was messed up in context help too, but the descriptions werent so I read those.
06-28-2012 11:04 PM
I am not able to run the code on my end. I cannot get the text in the VI to display correctly regardless what I try. Can you place the "Get Waveform Components" after the DAQ acquire data and display the delta t and let me know what that says?
06-28-2012 11:14 PM
@Charles_CLD wrote:
I am not able to run the code on my end. I cannot get the text in the VI to display correctly regardless what I try. Can you place the "Get Waveform Components" after the DAQ acquire data and display the delta t and let me know what that says?
I can't, unfortunately I don't have the hardware. I could set up something simulated in MAX but it would be a lot easier if the OP just takes some data and saves a constant so we don't have to be taking our time to guess!
06-29-2012 12:54 AM
I'm sorry but the lab was written in Chinese though it does not matter.