08-24-2003 09:10 PM
08-24-2003 09:45 PM
08-24-2003 10:50 PM
03-23-2006 09:36 AM
Bob,
Hi, your scroll bar example is great. I would like to use it to open a file and display the file but I can't get it to work. The file I want to display is a single column spreadsheet. Have you done anything like that before? Could you give me some suggestions? I want to be able to display the file and scroll through the data.
Thanks,
joe
03-23-2006 10:39 AM
First, the original post is a couple years old so it would have been to start a new thread instead of expecting the original poster to respond. Second, if you have a newer version of LabVIEW, you don't need the example anyway since scrollbars are built into graphs now.
If your data is in a file with some sort of separator between columns (i.e. comma or tab), you just have to use the Read From Spreadsheet File to get it and wire the all rows output to your graph. If the x axis is not set for auto-scale then you can then scroll through the data. On the front panel, right click on the graph and select Visible Items>X Scrollbar. If can't get this to work, provide some details on the file. Attaching the file and the VI you've written will go a long way in helping you solve the problem.