Saving multiple signals to ASCII file

How can I save two (or more) signals from different sources to same ASCII file? I want to be able to compare the wanted and the actual measured signal by looking the ASCII file result...
The result file (sweep.txt) could look like this:
DC Signal  mean
1                 0.99
2                 2.1
3                 3.0
 My little sequence looks like this
Sweep (from 0V to 5V, 0.5 steps)
  Create analog signal
   |> DC signal
  DAQmxGenerate
  >| DC Signal
  DAQmx Acquire (10 samples)
  |> Voltage
  Statistics
  >| Voltage
  |> mean
  Save to ASCII/LVM
  >| mean
  >| DC Signal (I can't seem to add another source like this!!!)
End sweep
The way the Save step acts when trying to add another signal is rather...chaotic! You can TRY to add another signal but you can't select it, OR if you can select it it will cause an error later on...(Missing input)
And if I choose to export DC Signal and mean from the sweep output and then save it...The header talkes about "Frequency (Hz)" which is not related to the measurement at all...so it seems there are bugs in the software or my reasoning...And I can't seem to change the header either!
Shouldn't it be possible to save lots of different measurement data from different devices?!?! It seems like a normal thing to do!!
...My next sequence was supposed to measure the effiency of a regulator by sweeping the input voltage Uin (100 points) and the load resistance Rload (100 points ) and save the results in a file looking like this: (total of about 100x100 measurements)
Uin Iin Pin Uout Iout Rload Pload n
Oh and BTW i'm using Signal Express 2.5.0, is there an update availlable?
Thanks...
-Sami

I can think of a couple of issues that may be causing your frustrations. 
Issue 1:
The DC signal coming from the Create Signal step is actually a waveform with multiple samples, not just a single value.  The mean value is a double with one value.  The Save to ASCII/LVM step is not set up to save inputs of different types to the same file.  Since they can have different lengths, putting them side-by-side into the same file doesn't make sense. 
Try doing just a save of the DC signal and then another of the mean value and then take a look at the output data and you'll see the difference.
Issue 2:
When you have outputs of a Sweep, the outputs are functions of the selections made in the Sweep Output tab.  This allows the values of signals vs. the swept parameter, so you may have the DC signal swept against the frequency changes in the Sweep step.  Check the Sweep Output tab to verify you're sending out the data you want.
Adam.

Similar Messages

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • Saving multiples objects into a file

    I want to create a single file that has multiples things inside, like pictures (png) and texts. Does someone knows how it will be the structure of the binary file?
    I'm programming a draw software like photoshop, where my layers are BufferedImages. Theses bufferedImages must be saved into a file to re-open later and edit.
    Please I want just ideas....
    thanks

    If the objects that you store in your file are fairly independent of each other, one thing that comes
    to mind is to make your file a zip file of component files. That way you can use standard tools to examine
    it and edit it if you wish.
    Another thing to note is that if your file is largely a series of images, some image file formats,
    like tiff , jpeg and gif allow you to store sequences of images in one file.
    Here's a demo that creates a tiff file holding four images, then reads the file and displays the images.
    Stardard software like Kodak's "Imaging Preview" will allow you to flip through the images in the file.
    By the way, if you don't have readers/writers for format tiff, you can get them here.
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.imageio.*;
    import javax.imageio.stream.*;
    import javax.swing.*;
    public class IOExample {
        public static void main(String[] args) throws IOException {
            String urlPrefix = "http://www3.us.porsche.com/english/usa/carreragt/modelinformation/experience/desktop/bilder/icon";
            String urlSuffix = "_800x600.jpg";
            int SIZE = 4;
            BufferedImage[] images = new BufferedImage[SIZE];
            for(int i=1; i<=SIZE; ++i)
                images[i-1] = ImageIO.read(new URL(urlPrefix + i + urlSuffix));
            File file = new File("test.tiff");
            file.delete();
            int count = writeImages(images, file);
            if (count < SIZE)
                throw new IOException("Only " + count + " images written");
            images = null;
            images = readImages(file);
            if (images.length < SIZE)
                throw new IOException("Only " + images.length + " images read");
            display(images);
        public static void display(BufferedImage[] images) {
            JFrame f = new JFrame("IOExample");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel p = new JPanel(new GridLayout(0,1));
            for(int j=0; j<images.length; ++j) {
                JLabel label = new JLabel(new ImageIcon(images[j]));
                label.setBorder(BorderFactory.createEtchedBorder());
                p.add(label);
            f.getContentPane().add(new JScrollPane(p));
            f.setSize(400,300);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        //suffix is "jpeg", "gif", "png", etc... according to your service providers
        public static ImageWriter getWriter(String suffix) throws IOException {
            Iterator writers = ImageIO.getImageWritersBySuffix(suffix);
            if (!writers.hasNext())
                throw new IOException("no writers for suffix " + suffix);
            return (ImageWriter) writers.next();
        public static ImageReader getReader(String suffix) throws IOException {
            Iterator readers = ImageIO.getImageReadersBySuffix(suffix);
            if (!readers.hasNext())
                throw new IOException("no reader for suffix " + suffix);
            return (ImageReader) readers.next();
        public static int writeImages(BufferedImage[] sources, File destination) throws IOException {
            if (sources.length == 0) {
                System.out.println("Sources is empty!");
                return 0;
            } else {
                ImageWriter writer = getWriter(getSuffix(destination));
                ImageOutputStream out = ImageIO.createImageOutputStream(destination);
                writer.setOutput(out);
                writer.prepareWriteSequence(null);
                for(int i=0; i<sources.length; ++i)
                    writer.writeToSequence(new IIOImage(sources, null, null), null);
    writer.endWriteSequence();
    return sources.length;
    public static BufferedImage[] readImages(File source) throws IOException {
    ImageReader reader = getReader(getSuffix(source));
    ImageInputStream in = ImageIO.createImageInputStream(source);
    reader.setInput(in);
    ArrayList images = new ArrayList();
    GraphicsConfiguration gc = getDefaultConfiguration();
    try {
    for(int j=0; true; ++j)
    images.add(toCompatibleImage(reader.read(j), gc));
    } catch(IndexOutOfBoundsException e) {
    return (BufferedImage[]) images.toArray(new BufferedImage[images.size()]);
    public static String getSuffix(File file) throws IOException {
    String filename = file.getName();
    int index = filename.lastIndexOf('.');
    if (index == -1)
    throw new IOException("No suffix given for file " + file);
    return filename.substring(1+index);
    //make compatible with gc for faster rendering
    public static BufferedImage toCompatibleImage(BufferedImage image, GraphicsConfiguration gc) {
    int w = image.getWidth(), h = image.getHeight();
    int transparency = image.getColorModel().getTransparency();
    BufferedImage result = gc.createCompatibleImage(w, h, transparency);
    Graphics2D g = result.createGraphics();
    g.drawRenderedImage(image, null);
    g.dispose();
    return result;
    public static GraphicsConfiguration getDefaultConfiguration() {
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice gd = ge.getDefaultScreenDevice();
    return gd.getDefaultConfiguration();

  • Saving multiple records into text file

    Can I save multiple records into a text file at one go?
    My application has a list of data displayed there and when the user clicks on the save button it will save all the records on the screen.
    It works but it only saves the last record.
    Here are my codes
    // this is to display the list of data
    private JLabel[] subjects=new JLabel[20];
    private JLabel[] subTotal=new JLabel[20];
    private JLabel[] codes=new JLabel[20];
    private JLabel[] getTotal=new JLabel[20];
    String moduleCodes;
    String getPrice;
    double price;
    int noOfNotes;
    public testapp(Subjects[] subList)
    int j=0;
                double CalTotal=0;
              for (int i=0; i<subList.length; i++)
                   subjects[i] = new JLabel();
                   subTotal[i] = new JLabel();
                   codes=new JLabel();
                   getTotal[i]=new JLabel();
                   if (subList[i].isSelected)
                        System.out.println(i+"is selected");
                        subjects[i].setText(subList[i].title);
                        subjects[i].setBounds(30, 140 + (j*30), 400, 40);
                        subTotal[i].setText("$"+subList[i].price);
                        subTotal[i].setBounds(430,140+(j*30),100,40);
                        codes[i].setText(subList[i].code);
                        getTotal[i].setText(subList[i].price+"");
                        CalTotal+=subList[i].price;
                        contain.add(subjects[i]);
                        contain.add(subTotal[i]);
                        j++;
                        moduleCodes=codes[i].getText();                              
                        getPrice=getTotal[i].getText();
                        noOfNotes=1;
    // this is where the records are saved
         public void readRecords(String moduleCodes,String getPrice,int notes)throws IOException
              price=Double.parseDouble(getPrice);
              String outputFile = "testing.txt";
              FileOutputStream out = new FileOutputStream(outputFile, true);      
         PrintStream fileOutput = new PrintStream(out);
              SalesData[] sales=new SalesData[7];
              for(int i=0;i<sales.length ;i++)
                   sales[i]=new SalesData(moduleCodes,price,notes);
                   fileOutput.println(sales[i].getRecord());
              out.close();

    I suggest writing a method that takes a SalesData[]
    parameter and a filename. Example:
    public void writeRecords(SalesData[] data,
    String filename) throws IOException
    BufferedWriter out = new BufferedWriter(new
    FileWriter(filename, true));
    for (int i = 0; i < data.length; i++)
    out.write(data.getRecord());
    out.newLine();
    out.close();
    And it's good to get in the habit of doing things like closing resources in finally blocks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Saving multiple lines in a file

    ok I have a simple calculator that when you inset the text into text fiel one and when you insert text into tex input 2 when you hit the add subtract or any of the other buttons it will add the date, time, input 1, input 2, calculation performed, and answer. It is also supposed to be able to store each calculation not just one. I am kinda new to programming in Java and would love some hel here is my code
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*; // added
    import java.io.*;
    import java.util.*;
    public class JohnathanNoeExam7 extends JFrame {
         private Container contentPane;
         private JPanel leftPanel;
         private JPanel centerPanel;
         private JPanel buttonPanel;
         public JTextField input1TextField;
         private JTextField input2TextField;
         private JLabel answerLabel;
         private JButton plusButton;
         private JButton minusButton;
         private JButton divisionButton;
         private JButton multiplyButton;
         private JButton modulusButton;
         public JohnathanNoeExam7() {     
              super("Simple Calculator");
              contentPane = this.getContentPane();
              this.setSize(250, 100);
              Dimension frameSize = this.getSize();
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              this.setLocation((screenSize.width - frameSize.width)/2,
                                (screenSize.height - frameSize.height)/2);
              leftPanel = new JPanel();
              leftPanel.setLayout(new GridLayout(3, 1));
              leftPanel.add(new JLabel("Input 1:  "));
              leftPanel.add(new JLabel("Input 2:  "));
              leftPanel.add(new JLabel("Answer:  "));
              contentPane.add(leftPanel, BorderLayout.WEST);
              centerPanel = new JPanel();
              centerPanel.setLayout(new GridLayout(3, 1));
              input1TextField = new JTextField(10);
              input2TextField = new JTextField(10);
              answerLabel = new JLabel();
              centerPanel.add(input1TextField);
              centerPanel.add(input2TextField);
              centerPanel.add(answerLabel);
              contentPane.add(centerPanel, BorderLayout.CENTER);
              buttonPanel = new JPanel();
              buttonPanel.setLayout(new GridLayout(5, 1));
              plusButton = new JButton("+");
              minusButton = new JButton("-");
              divisionButton = new JButton("/");
              multiplyButton = new JButton("*");
              modulusButton = new JButton("%");
              buttonPanel.add(plusButton);
              buttonPanel.add(minusButton);
              buttonPanel.add(divisionButton);
              buttonPanel.add(multiplyButton);
              buttonPanel.add(modulusButton);
              contentPane.add(buttonPanel, BorderLayout.EAST);
              ActionListener l = new ActionListener() {
                  public void actionPerformed(ActionEvent e) {
                   double d1 = Double.parseDouble(input1TextField.getText());
                   double d2 = Double.parseDouble(input2TextField.getText());
                   if (e.getSource() == plusButton)
                        answerLabel.setText("" + (d1 + d2));
                   else if (e.getSource() == minusButton)
                        answerLabel.setText("" + (d1 - d2));
                   else if (e.getSource() == divisionButton)
                        answerLabel.setText("" + (d1 / d2));
                   else if (e.getSource() == multiplyButton)
                        answerLabel.setText("" + (d1 * d2));
                   else answerLabel.setText("" + (d1 % d2));
                   FileOutputStream out;
                   PrintStream p;     
                   double d3 = Double.parseDouble(answerLabel.getText());
                   try
                        out = new FileOutputStream("Calculation.log");
                        p = new PrintStream( out );
                        p.println("Input 1: " + d1 + " "  + "Input 2: " + " " + d2 + " " + "Answer: " + d3);
                        p.close();
                   catch(Exception f)
                        System.err.println("Error writing to file");
              plusButton.addActionListener(l);
              minusButton.addActionListener(l);
              divisionButton.addActionListener(l);
              multiplyButton.addActionListener(l);
              modulusButton.addActionListener(l);
              WindowListener w = new WindowAdapter() {
                  public void windowClosing(WindowEvent e) {
                   // Note the need to preface "this." with
                   // the name of the outer class.
                       JohnathanNoeExam7.this.dispose();
                   System.exit(0);
              this.addWindowListener(w);
                this.setVisible(true);
                      public static void main(String args[]){
              new JohnathanNoeExam7();
    }Thanks for any help you can provide

    I didn't look at anything else but if you want to write more than one line ever to your file you should change this
    out = new FileOutputStream("Calculation.log");to this...
    out = new FileOutputStream("Calculation.log",true);A quick look at the API reveals the follow constructor FileOutputStream(File file, boolean append) append means should I add on the end of the file or over-write what is there.
    By default you over-write. So in our case we say true instead which says add on to what is there.
    At the end of that little snippet you shoudl be closing that stream as well.
    So where you have
    p.close();You should have
    p.close();
    out.close();

  • Can Signal Express prompt the user for the next ascii file name?

    I am using the following to collect data from Thermocouples and Strain Guages in our plant.  It allows me to plt data every second, while recording only every 3 seconds to cut down the file size.
    Big Loop- 
    Small Loop- 
          Conitional repeat...
          DAQmx Aquire...
          Statistics (mean) Temp...
          Statistics (mean) Press...
          Current Iteration...
    End Small Loop-
    Save to ASCII/LVM
    The problem is that I have to configure the save step as "overwrite once, then append" so I get a single file each time the project runs.  How can I get Signal Express to either prompt the user for a new file name with each run or have the ascii file saved into the log directory for that run.  As it stands now, the file gets overwritten with each new project run.
    Thank you.
    new user

    Hi crawlejg,
    You can set signal express to increment the file being created each time.  But if you are looking for 1 new file each time the project runs you will have to use LabVIEW as this advanced functionality is not available in Signal Express.  If you need help getting this to work in LabVIEW or have any other questions please feel free to ask!
    Sincerely,
    Jason Daming
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How do I get channel names written into a logged ascii file in Signal Express

    Hi there,
    This maybe a rookie question but I am a relative rookie to this software, and I hope it has an easy fix!
    Background:
    Take a load of analogue inputs from a DAQ device into Signal Express, first thing that hits me is that unlike labVIEW you cannot right click in the channel configuration window and change the name from say... Dev2_ai0 to Air Pressure? I feel that if this was possible then I would overcome my problem? anyway I can't so onwards...
    I goto the DAQmx Acquire window on the top left and can right click and rename the channel, which is great... however this does not translate to the logged data as I get the ai0 channel names across the top of the columns and not the names that I have put in.
    Is there anyway of getting data like the attached snippet?
    Many thanks for your help in advance.
    Neil Barker, Redbull Technology.
    Attachments:
    Channel names.gif ‏4 KB

    Hi Dan,
    Thanks for the reply, that has certainly fixed my issue as I wasn't expanding the channel and selecting the channel that I had renamed.
    One last thing though:
    I now not only get the individual channel name but the prefix for the DAQmx Aquire, for instance I get the Input of Braketest and then the channels under the input data.
    It looks a bit like this....
    Braketest - Front Pres
    Braketest - Rear Pres
    Braketest - FR Temp
    Braketest - FL Temp
    etc etc...
    Now all of the channel names at the top of the columns have this long name. Can this be rectified? can I remove the "Braketest" bit?
    By the way I am saving it as an ASCII so that I can read it in excel.
    Many thanks, Neil.

  • Error in importing data from multiple ASCii files, Concatenat​e

    I am trying to use the "Importing Data From Multiple ASCII FIles.VBS" and the "Concatenate Groups.VBS" scripts downloaded from here, http://zone.ni.com/devzone/cda/epd/p/id/3870. When I run the importing data script and test it by highlighting the example data that comes with the download I get an error. "Error in <Importing Data From Multiple ASCII Files.VBS> (Line:60, Column: 11):  Variabls is undefined: 'AscIIAssocSet'  "
    The offending line of code is "  Call AsciiAssocSet(FilePaths(i), StpFilePath) ' assign STP file    "
    Screenshots of the error are attached.
    Can anyone tell me what this error is?  Am I just doing something wrong? Getting quite frustrated.
    Thanks in advance.
    Attachments:
    concactenate1.png ‏261 KB
    concactenate2.png ‏243 KB

    Please have a look at the DIAdem Example to concanate channels. Its delivered with DIAdem.
    Examples > Creating Scripts > Scripts > Appending Channels to Each Other
    Please use a dataplugin (File -> Text DataPlugin Wizard...) or the csv plugin to load your data.
    Greetings
    Andreas
    P.S.: The one you have downloaded needs the old Ascii Wizard that is not activated by default in newer DIAdem versions.
    If you want to use it anyway:
    Settings -> Options -> Extensions -> GPI Extensions ...
    Add gfsasci.dll

  • Premier pro cs5 saving multiple trimmed clips as indivdual files in format h264 mov, what is the quickest way to do it. i have 280 trimmed files.

    premier pro cs5 saving multiple trimmed clips as indivdual files in format h264 mov, what is the quickest way to do it. i have 280 trimmed files.

    Hello Ashraf,
    Sorry you didn't get any help on this post. In the future, please contact Adobe Support for 1-1 assistance on issues like this: Contact Customer Care
    Thanks,
    Kevin

  • Mapping and loading  single ASCII file into multiple tables in ODI

    We get an ASCII file that contains several different transactions (records) and I need to validate and map each record to different table in the target database using Oracle Data Integrator tool. Is it possible ? If so, how and how difficult it is ?
    I would appreciate a quick response.
    Thanks,
    Ram

    Hi Madha,
    Using Demo version, we are trying to load data from ASCII file. When trying to execute, we are getting the following error:
    7000 : null : com.sunopsis.jdbc.driver.file.a.icom.sunopsis.jdbc.driver.file.a.i
    at com.sunopsis.jdbc.driver.file.a.f.getColumnClassName(f,java)
    at com.sunopsis.sql.e.a(e.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
    The file has all text fields and no date fields. we made sure that there is data for all fields being loaded.
    Question is whether there is any problem in creating data in the Demo database which cameup with installation?
    I mean, do we need to create any privileges to insert/add/delete ? We are running this as user SUPVERVISOR .
    I appreciate if you can respond to this.
    thanks,
    Ram

  • Saving the content of JTable into a ascii file?

    Suppose I have a JTable with certain cols and rows, is there an easy way to retrieve the table contents and save them into a ascii file on disk?
    Thanks for your help.
    helen

    If colCount or rowCount is quite big, the "for loop" will spend some time to get the table content. Is there other way (not doing "for loops") to get the contents of JTable?
    Thanks,
    Helen
    TableModel model = mytable.getModel()
    PrintWriter writer = new
    PrintWriter(BufferedWriter(new
    FileWriter("test.dat")));
    int colCount = col < model.getColumnCount();
    int rowCount = model.getRowCount();
    for (int row=0; row < rowCount; row++)
    for (int col=0; col < colCount; col++)
    Object value = model.getValueAt(row, col);
    if (value != null)
    ll) writer.print(value.toString());
    if (col < rowCount - 1) writer.print("\t");
    writer.println();
    writer.close();What's so difficult with this, that the question pops
    up every week ?
    Thomas

  • Insert time stamp in ASCII file

    Hi all!
    I am trying to log data values from several channels (so far 4) into one ASCII file including a time stamp in the first column.
    The goal is one file that contains one time stamp per row (in the first column) and one column per channel. It may looks like this:
    TIME  Ch1  Ch2  Ch3  Ch4
    t1        a1     b1     c1    d1
    t2        a2     b2     c2    d2
    I want to save one row (time stamp and 4 channels) each minute as above into the same file. Nice would be to creat a new file each day.
    Problems:
    1. Using the "Save to ASCII/LVM" step: How can I get SignalExpress to insert a time stamp in the first column of each row?
        I have no problem inserting the 4 signals that generate me one column per signal. And using "Overwrite once, then append to file" I get one file for all signals.
        Any idea how to insert a time stamp this way? Or how to creat a new file every 24 hours?
    2. Another way I tried is to use the "Recording Option". But how can I get all the four signals saved in one file?
        After the DAQmx acquisition step I process the 4 channels individually (one scaling step and one threshold step per channel - because of different factors per channel).
        Activating the Recording Option (which would generate a new file every 24 hours, but not starting at 12pm each day...) I get 4 single TDMS-files (and their corresponding tdms_index and meta.txt files),
        one file per signal I am recording. I assume this is because they are 4 individual signals I'm recording and not a group of signals. Can I group individual signals together?
    Thanks for your help
    SSC
    PS: I work with SignalExpress 2.5 and have a NI USB-6210 connected.

    In the recording options tab you can set a stop condition to be 24 hours of data.  And then select the "Restart Log Automatically" option to start logging for another 24 hours.  You can also configure the logging to auto create an ASCII file once logging stops.  With this configuration an ASCII file will be created every 24 hours.  To enable ACSII file generation, select Tools>>Options.. And then set "Automatically export log to ASCII file to true".
    I believe that you will get one ASCII file for each TDMS file.  If you are logging 4 channels from the same device you should be able to log the entire group which would allow you to get only 1 TDMS / ASCII file.

  • Averaging values of multiple signals seperately

    Hi All,
    I am attempting to create a VI that will average data over a user defined amount of time (via boolean switch). The attached vi collects data once the "collect Data" switch has been triggered, when the test is over the user triggers the "average collected data" switch to get an averaged value. Please see attached VI.
    THis vi works fine for a single signal. However, the ultimate goal is to be able to do this whole process for n-number of sensors throughout my test loop with a final output as an excel file.
    I am pretty sure that I can get the data saved for an excel file but I cant figure out how to get all of the signals averaged seperately and placed into an array.
    Any help will be much appreciated!
    Thanks,
    Stefan
    Attachments:
    Average Collected Data.vi ‏13 KB

    Stefan,
    When you are doing the multiple signal process, will the collection time and averaging be done for all signals simultaneously or will there be separate Collect and Average controls for each channel?
    If all channels will be done simultaneously, you can probably just make your arrays 2D with each channel in a different column. Each iteration of the loop will store the data in the next row (if Collect is True).
    Notes on your VI: 1. You do not need the sequence structure.  Dataflow controls when things happen.  Your VI will work the same without it.
    2. The two case structures wired to Collect Data could be combined into one.
    3. Building an array inside a loop results in frequent memory reallocations.  As the array gets large this will cause the program to slow down and will fragment memory.  A better approach is to allocate memory outside the loop with Initialize Array and use Replace Array Subset inside the loop where the Build Array primitives are now. You will need to add another shift register to keep track of the next index to replace.
    4. Loops should usually have a time delay to prevent them from grabbing all the available CPU cycles.  Once you put in a real data acquisition process, that may provide the delay.
    Lynn

  • Scanning multiple pages into one file using MAC

    How do I scan multiple pages and save them into one file or document using a MacBook Pro laptop?  My printer is an HP Photosmart 7520.  When I use this printer and scan from my PC, it does allow me to scan multiple copies and save as one document by just adding pages as I scan.  When I scan with my MacBook Pro, it scans each page, however, I don't get any option or choice to save as one document.  It automatically saves each page as a separate document.

    Try scanning from your Mac. Use Image Capture app in your Applications folder.
    Click once on the scanner on the left side, then click on Show Details along the bottom. Along the right side you will see LOTS of options for scanning and saving.
    One of those is Format, make the Format PDF.  Just below that will be a check box allowing you to scan multiple pages to one file.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Scaning multiple pages into one file on a 4630

    Using HP 4630 printer, windows 8.1, wireless connection.
    Want to scan multiple pages into one file.
    Per user manual, I work from the computer not the printer.
    When first page is scanned am asked if I want to save, I click yes and name file.
    When I scan second page am again asked if I want to save, my file name appears, I am told it already exists and asks if I want  to keep or replace it.
    Whichever one I click, only the second page is saved.
    What am I doing wrong?
    Question: How do I scan mutiple pages into a single document?
    This question was solved.
    View Solution.

    I accept this solution with many thanks!  It was so obvious and I didn't see it.  The User Manual should mention this.

Maybe you are looking for

  • Recently updated to iPhoto '09 Version 8.1.2

    All my Faces are missing.  Once I discovered it, I opened iPhoto and named the same person about twenty times and it did not save the Face.  The corkboard is just blank, even though I'm identifying people.  I think it must have to do with the update.

  • Ghosting with External CRT Monitor. Any Solution Yet?

    a number of months ago i saw a LONG thread that, as far as i read, never really solved this issue. I was wondering if a solution was ever found. thanks, seth

  • Stuck in single user mode OS 10.2.8

    I forgot the admin password for this old iMac and can't find the system disk. So I started up in single user mode by turning on power, after chime pressing command, then S and holding until type began to come up on screen. When cursor stopped after "

  • How local interfaces work in EJBs

    How exactly local interfaces work in EJBs and how should I use them ? Thank you.

  • How can I habilitate Facebook video calls in OS Mavericks?

    When I installed the new version of OS X, the video call button in Facebook was gone. I cannot send nor recive video calls in Facebook. I know there are other programs to have video calls, like FaceTime, but not all my friends have an Apple product a