Thanks everyone for the tips. I managed to get the two graphs data out now. However, I am now stuck in another problem. Basically what I need to do is to capture a couple analog signals and save them in a file that's readable. So I used that "Write to Spreadsheet File" VI. Also, I would like to put the data in a graph while acquiring data.
So now, I'm just modifying the "Cont Acq&Graph Voltage-To File(Binary)" VI and the "Graph Acquired Binary Data" VI. The problem is that
1)if I picked **Analog 2D I32 NChan NSamp** for the DAQmx Read block, I will get an unscaled data readout to the spreadsheet, as well as the graph in the VI. However, the graph output from "Graph Acquired Binary Data" VI will be scaled to the correct voltage.
2)I then picked the **Analog 2D DBL NChan NSamp** because it will give me scaled output to the spreadsheet file. However, the problem now is that the graph output from "Graph Acquired Binary Data" VI is not scaled correctly anymore...in fact it's quite messed up.
So I went into the "Graph Acquired Binary Data" Block Diagram and see. I found this constant "0" with an arrow saying:
The representation of this constant needs to match representation used
in the Cont Acq & Graph Voltage-To File(Binary) example.
In this case we use an i32. To change the representation right click on the
constant and select Representation.
So I changed that representation to a DBL. But then when I run the problem, the error "LabVIEW: End of file encountered". Any idea what I did wrong? Thanks in advance!