LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string constants, waveform charts and microsoft

Hello all-

I am running Labview 5.1 on a Celeron 466 with NT 4.0 and a
PCI-GPIB-488.2 and PCI-MIO16XE-50 DAQ card.

Yesterday my NT machine crashed hard, so hard that the vi that was
running was altered when I finally got the machine running again (it
took me three tries and a sys admin guy to get it booted).

When I reloaded the vi and ran it I found that some of the string
constants within the program had been changed. However, if you looked
with your eye, the acutal string hadn't changed, but the computer's
interpretation of that string was not the same as in the pre-crash days
(if determined this using probes and highlighted execution options). I
found that all I had to do was delete the terminal and then create
another constant and enter the correct (read "same") string to make the
vi run properly. Any plausible explanations (other than the usual
microsoft voodoo ?) This happened in several, but not all, string
constant instances within the vi.

The other post-crash difference is the behavior of a particular waveform
chart. This vi reads two DC voltages for each data point. However, the
data points of interest are not always consectutive, meaning that we
often skip some points. Example: 0,1,2,3,4,13,14,15,16,17,30,31,32.
We wish to plot these data points, *real time* on a point-by-point basis
as a function of data point. Before the crash I simply bundled each
voltage into a cluster and sent the cluster to a waveform chart and the
waveform chart displayed a scatter plot of data vs. point in the desired
manner, i.e. two voltage points for each data point where we collected
voltages and no voltage points where we didn't collect voltages (in the
above example points 5-12 and 18-29). Now labview plots the data
consecutively (as a waveform chart is supposed to work).

It would seem as though before the crash either a) my waveform chart was
not working as spec-ed or b) I was coding it differently than I thought
I was and now things are behaving as they are supposed to. In either
case, any suggestions on how to achieve my desired display? Waveform
graphs will do what I want, but only once the whole data set has been
collected and I need this data real time.


For both situations all of my six backup copies of this vi behaved in
exactly the same way.

Thanks in advance.

-Mike

------------------------------------------
Michael D. Wojcik
Department of Chemistry
University of Idaho
Moscow ID USA
83844-2343

wojc9603@uidaho.edu

------------------------------------------


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 1
(2,315 Views)