LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OAT Analog Tacho Process (1 Tacho).vi Does not output to front panel

I can see the tachometer signal getting into the Transient playback.vi and I can probe it going into OAT Analog Tacho Process (1 Tacho).vi.  The signal pulses 0 - 10 V and I set the threshold voltage to 5 V  (pulses per rev = 1, Rising).  However, I am still not showing any data on my Frontpanel.  
Have you looked at any of the OAT shipping examples? 
For this, I think a good one to look at is called "Load Data and Perform Order Analysis (Analog Tach)" 
I don't have this particular example VI.  I have "Getting started with OAT (Offline, Analog Tacho).vi" and "Log Data (Analog Tacho, DAQmx).vi".   The Log Data vi runs correctly, writing data to a new file.  The Getting started.vi freezes after running for 1 sec.  It says that memory is full.

Any other suggestions for how to get my data to output?  Is there any other way to check that my data file is good and to be able to read it?  If you could send me that specific example (does it run under LabView 8.0?), I'd appreciate it. 
0 Kudos
Message 1 of 7
(3,939 Views)
You seem to be posting about the same general issue in three different threads. This just confuses (and irritates some) people. For one thing, not all the information is in one place, and also, which one are people supposed to respond to? Please keep the discussion with all pertinent information in one thread.
0 Kudos
Message 2 of 7
(3,919 Views)
Sorry.  Here are my other questions:

1. In Transient.vi , which records our data, I get Error-200152 saying that data read from EEPROM is invalid.  If I re-run the VI, I can proceed to recording data.  That is, I run the VI once and get the error.  I immediately run it again and don't get this error.  However, sometimes I have to re-run it several times before it will run properly. 
I'm assuming that you are using two 4472 devices, is that correct? 
We actually have 4 cards total.  Three of them are 4472. 
Dev 1 - 4472
Dev 2 - 4472
Dev 3 - 6229
Dev 4 - 4472
In Transient.vi we are only using channels off of Dev 1, 2, and 4. 

Where is the source of the -200152 error in the code? 
The source of the error is the oax_AI Config (DAQmx).vi associated with Dev 1.  It says the error occurred at DAQmx Reset Device.vi. 

Do you get this error if you run a test panel in MAX? 
Yes.  Dev 1 passes the self-test but fails when trying to read from the test panel. I am running LabView 8.0 (Run time 8.2.1).

2.  In Transient playback.vi, which plays our data on the front panel, I get Error -20003 occured at OAT Resample.vi .  It says samples must be greater than zero. 
Sounds like you are sending an empty waveform to the OAT Resample vi.  To debug this, put a probe on the waveform that is going into the OAT Resample vi and make sure that you are always sending in data and no empty waveforms.  It could be that this is only happening on a certain channel, so make sure to check each.
I can't run the VI long enough to probe the channel.  It gives me an error immediately, so I think the problem is at the beginning of the file.  If I ignore the error and continue, I can probe it and get data for every channel.

I'd appreciate any suggestions.  Thanks.
0 Kudos
Message 3 of 7
(3,916 Views)
Hi dmertz -

Please refrain from creating multiple posts/threads about the same issue.  It's easier for forum users and NI employees to help you if you keep all the information in one place.

Duplicate post here
David Staab, CLA
Staff Systems Engineer
National Instruments
0 Kudos
Message 4 of 7
(3,902 Views)
Hi dmertz -

To track this issue here are links to duplicate posts:

Duplicate Post

Duplicate Post

Regards,
  Sandra T.

Applications Engineer | National Instruments
0 Kudos
Message 5 of 7
(3,889 Views)
Hello dmerrtz,

Issue #1:

With regards to the error -200152, this error is often related to issues with the EEPROM on the device. Whenever we use the DAQmx driver with the 447x devices, it will always verify the checksum before performing any task. If the checksum is incorrect, it will throw and error. You can try to fix this by writting to the "User-defined Info" property of the EEPROM, which will force the checksum to update. Drop down a DAQmx  calibration property nodes, select "User Defined Info", now write something and run the VI to execute the task. After you have done this, reset the DAQmx device.

Refer to this KnowledgeBase:

Why am I receiving error -200152 after running my PXI-4472 through Calibration Executive?


Issue #2:


Try running the code with highlight execution. Also if you click on the "Retain Wire Values" and use the probe pointer (get to it by ctr+ shift+alt+ right click, to open the point palette) to select certain wires to observe the values the get. Make sure you switch you pointer back.

Regards,
  Sandra T.

Applications Engineer | National Instruments
0 Kudos
Message 6 of 7
(3,874 Views)
I am able to get RPM data from my tachometer signal.  However, I am not outputting any signal at 0 RPM.  Is there any way to get a zero signal from the OAT Analog Tach? 

If not, can I input an array of zeroes or something like that to fill my data set out?  I need to see the moment when my speed actually increases in comparison to some of my other data channels.  Any recommendations?

Thanks.
0 Kudos
Message 7 of 7
(3,813 Views)