05-09-2010 12:04 PM
Hello,
I am trying to create a vi, which will read from a binary file, count = 1, and then feed that data to the sine wave as the frequency. I am not able to mention th data type input for the readfile icon.
I am attaching the vi that is created and the xls file.
Thanking you,
with best regards
Gopi
05-09-2010 12:28 PM
Presuming that you could read an Excel file, the function returns an array so you would have to use index array and you would actually have to wire up the data type. However, the read from binary is not at all suitable for reading native Excel files. You would have to be very familiar with the Excel data format to know which byte in the file contains the column data and separate that out from all of the Excel formatting junk. Use ActiveX or export the excel file as comma or tab separated text and use the Read From Spreadsheet function.
If you want to keep the native excel file, just search the forum for Excel. There are literally thousands of posts (and answers) on the subject. If you have the report generation toolkit, you have all that you need for reading Excel.
05-10-2010 12:05 AM