From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically changing the datalog binding file

Hi
I am using Labview 5.0 on an NT box to collect a relatively large set of
time-history data.
To make the datalog files manageable, I've made each test-run an individual
datalog file.
My problem now is that I have 15 tests (datalog binding files) and I want to
take certain channels of data from each channel and compare them across
tests using "enable database access".
The problem is that I have to go to my data acquisition VI and change the
log binding file 15 times for each comparison. That just seems like way too
much work for something Labview ought to be able to automate.
Is there a terminal to control where the database access location can be
manipulated to point to a path-control?

Help?

thanks in adva
nce.

--
________________________________________________________________
Geoff Raynak
Orthopaedic Biomechanics Lab
Department of Bioengineering
Department of Medicine
University of Washington
MS 359798
325 9th Ave
Seattle WA 98104
206.731.4346(voice); 206.731.5752 (fax)
________________________________________________________________
0 Kudos
Message 1 of 3
(2,420 Views)
There is an alternative method for retrieving the data
programmatically by using the low-level file I/O functions. A
description of the process can be found in the G programming
reference manual under the heading "Retrieving Data Using File
I/O Functions" (for version 5.1).

Basically, the data type for the log files is a cluster of two
clusters. The first is a time stamp consisting of an unsigned
32-bit integer (seconds)and an unsigned 16-bit integer
(milliseconds). The second cluster consists of the front panel
data. The order of this cluster is the same as the panel order
of the logged VI. You can create this data type and wire it
the "datalog type" terminal of the low-level File Open function,
which will return a file reference you can use to read the log
files. B
y customizing a file dialog routine, you can pick and
choose files, generate lists of paths, and process groups of
files from the path lists.

The beauty of using the low-level file I/O functions is that
once you become comfortable with them, you can use them in place
of the "data logging" feature. You gain more complete control
of your data file structure and have full flexibility in data
post-processing. Granted, this is not an automatic process, but
the low-level File functions are speedy to use once you get know
them.

If you have any questions you can email me. (remove anti-spam)

MaxMar


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
0 Kudos
Message 2 of 3
(2,420 Views)
greetings.
we want to turn valves in an array on and off with predetermined
timings.
we want an indicator for each valve to indicate the on or off state of
that valve at all times.
how does one make a VI such that the ongoing changes in this top boolean
indicator can be always updated?
best,
greg and paul
0 Kudos
Message 3 of 3
(2,420 Views)