LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate signals using a file

Solved!
Go to solution

Hi,

 

I want to generate signals with my USB-6211 from a pre-written file, so i have a file filled with sample points and want to generate a signal with that file. The file can grow rather big. So i need to find a way to partially fill the generator with samples...?

 

Anyone?

Best regards,

Thijs

0 Kudos
Message 1 of 3
(2,196 Views)
Solution
Accepted by topic author ThijsBoeree

Hello Thijs,

 

Which file you are using? excel? TDMS? txt? or other?

 

I just assume you have written your samples to a normal txt file.

 

For this you can read in your spreadsheet (if its only data without columns, that does not matter) you can use the Read from Spreadsheet File.vi

This VI reads in all data you specify (how many rows, offset etc.) after that you can just adjust your array with the normal array functions and give this data

to your AO task.

 

Let me know if that was helpful or if you need further information.

 

kind regards,

 

Markus

0 Kudos
Message 2 of 3
(2,148 Views)

I do it with the "Do Not Allow Regeneration" setting. There's an example in the example finder.

 

Regards,

Thijs

0 Kudos
Message 3 of 3
(2,124 Views)