07-06-2011 03:35 AM
Hi!
I am making a program which acquires data from a TTL signal thru NI9402 and DAQmx in digital waveform, and then converts it to an analog waveform, for SVT convert to RPM (analog).vi, which displays the RPM's. On command it must start to generate speed profile and save it in a UFF file for further analyses.
The problem I have is: I am getting a signal in form of frequency and get it displayed on a analog waveform chart (so the conversion works), but then I can't get the RPM's and the following things (speed profile, UFF) from it.
I have created another program which simulates digital waveform (saving gasoline-large engine), and there the conversion to ˝RPM's˝ works.
What is the problem? What am I doing wrong?
5-7-RPM is the program in making, Test rpm is the simulated version, and the picture displays the signal i'm getting and the indicators that doesn't move.
I am using labview 2010 and sound and vibration toolkit.
07-06-2011 04:03 AM
It says dt=0 and it cant be.
07-06-2011 05:22 AM
The problem might lay in the digital waveform, as seen from pictures underneath. In the first picture there is the digital waveform indicator of the simulatet signal (it has many rows and columns and dt=0,0001), on the other hand the real time aquired signal has only one row and one column whitch only displays 0 and 1 and dt=0.
Maybe now someone could help?
07-07-2011 06:20 AM
Dear spitfir3 :),
Please look at 2 points in yout VI:
1. When you create task at the terminal : line grouping
2. When you read the digital signal at the amount of data you read .
Depending on your application, set properly the line grouping.
I would recommend you read multiple samples in waveform format to perform proper processing.
Let me know on your changes and results,
Mircea