Huxley Posted July 10, 2007 Report Share Posted July 10, 2007 I'm still making the transistion from PLC to Labview programming, so I'm finding some of the basic tasks in PLC are totally foreign to me in LV. Using an existing program in 8.2.1, average and peak running current is collected per cycle, displayed on a waveform chart, and then sent to a Csv file. What I would like to do is log average running current (not the peaks, or stall, or in-rush) that is collected in each direction of the test sequence (Up, Down), and then have it as part of the file saved at every cycle. Note that the current is already collected and displayed, but what's stumping me is adding the logic to filter out when the data ia collected, and average it out. Likely a basic task, but any suggestions will be appreciated. Quote Link to comment
Ton Plomp Posted July 10, 2007 Report Share Posted July 10, 2007 It sounds like you record one point in every cycle for every direction? If that's true use the Point-by-Point VIs and esp. Mean ptbp use for every direction another VI (not in a for loop!) Another pointer: Lose the .csv file, and get some real action: TDMS is your friend! Use a time channel to log the moment of the measurement, and for every direction a measurement + average channel. Ton Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.