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.
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.
07-17-2006 04:19 PM
07-18-2006 01:01 PM
Hello,
I apologize, but I am unclear about what you are asking. I see one location where data is being written to a lvm file – and that is in the top left (producer) loop embedded in the main outer loop (any reason you aren’t using sub-VIs?). You indicate that you want to reduce the file size being written. This implies you are either writing redundant data that can be condensed, or you are writing data more frequently than necessary. I’m uncertain about the particular problems you are encountering, but a good strategy for tracking it down would be to reduce your program to remove as many components as possible while still reproducing the problem. Once your program is drastically reduced, the structural problems leading to the problems will hopefully become more clear.
If you have any additional information, clarifications, or questions please feel free to post those. Also, posting screenshots or smaller representative code is always a great idea. Thanks for posting — have a great afternoon!
07-18-2006 02:23 PM
07-18-2006 04:45 PM
07-19-2006 02:54 PM
Good afternoon,
Hum…. I don’t know exactly what could be going wrong, but I believe that it is something in the way the program was designed. Before debugging that, take a look at the attached example. This program generates simulated data, and writes it to a file in the same manner your program does. Run this on your computer for a while, and see if it behaves in the way you would expect. Hopefully this example will help clear up the problem with it only writing a subset of your data. To resolve how to reduce your file size, you will need to either change the file format to be a binary file, or reduce the amount of data written. If you are reducing the amount of data you want to write to the file you’ll have to choose what data you consider important enough to write to the file. There are may ways to choose the important data – one popular way is to only write one sample per X acquired. You won’t get all the data, but depending on what you choose for X you should get enough to analyze. There are built-in functions which will decimate the arrays of data for you which should make the reduction easier.
I hope this helps!
07-24-2006 04:41 PM
03-18-2010 08:14 AM
sir
i am also doing an experiment on rotating bending fatigue testing machine.i was thinking to use labview for acquiring the strain subjected in the gauge legth of the specimen.can i use fatigue module in labview for my experiment