Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with USB-6211

Dear all.

   I am a biginner in LabVIEW. I am trying to use USB-6211 to generate N-samples analog output signal by reading input file from excel file (.xls). The input signal have 1501 samples and I need sampling rate at 250Ks/s. That mean, the output frequency is quite low, about 162Hz.

   I have studied the example (Gen Mult Volt Updates-Text File Source.vi) from DAQmx>> Analogout already. But in the example, it reads data from file by the function "Read Waveform from file.vi".

   The question is how can I modify to use with excel or text file?  Another question is USB-6211 can support in my work?

 

 

Thank you in advance.

Wichian.

 

  

0 Kudos
Message 1 of 4
(3,164 Views)
You can use the Read From Spreadsheet File if you save the Excel file as text with comma or tab separated data. Inorder to read from Excel directly, you use ActiveX. The Report Generation Toolkit can be used or search the LabVIEW board for 'Excel'.
0 Kudos
Message 2 of 4
(3,163 Views)

Hi, Dennis Knutson.

  Thank you so much for advice. I replaced "Read waveform from file.vi' with  'Read form spreadsheet file.vi' on example file "Gen Mult volt Updates-Text File Source.vi". The Wave form graph has shown corrected signal that I need. But it also shown an error on " wait until don" as attached file. I have tried to increase the number of timeout but it's still shown an error.

  I'm not sure I'm wrong something. please guide me please.

 

Thank you so much.

Wichian.

 

0 Kudos
Message 3 of 4
(3,154 Views)

Hi, Dennis.

 

It has been done already, thank you so much.

 

Wichian.

0 Kudos
Message 4 of 4
(3,151 Views)