LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx waveform out of FGEN Arb

New to FGEN, not to DAQmx.

I would like to record a waveform using DAQmx, save it as a file, then replay it out of a PXIe-5423.

I'm not having any luck manipulating a waveform to something the 5423 will read in.

Anyone have a example?

 

0 Kudos
Message 1 of 6
(3,392 Views)

Hi Steve,

 

What programming environment are you using?

0 Kudos
Message 2 of 6
(3,351 Views)

I am using Labview 2017.   I am getting the gist that it is called "G", the graphical programing environment.

I am probably making this harder that it is but I can't find a single example anywhere.

 

0 Kudos
Message 3 of 6
(3,345 Views)

One of the examples that ships with the FGEN driver is "FGEN Create From File" that you can find in LabVIEW by going to Help-> Fine Examples -> Hardware Input/Output -> Modular Instruments -> FGEN. This example uses the "niFGEN Create Waveform from file" .vi to generate a waveform from a file.

 

http://zone.ni.com/reference/en-XX/help/370524P-01/nifgenlv/nifgen_create_waveform_poly/ 

0 Kudos
Message 4 of 6
(3,337 Views)

rleonard3,

Not really what I was looking for. The example includes the waveform file with no explication of the format or how it was made. 

Let me change my question a little.

Now I want to wire the DAQmx Read VI output to an FGEN function that will produce the same waveform on the 5423.

I think I need to get only the "Y" data values from the waveform, convert it to 16bit binary then load in the the FGEN.  This last part has been tripping me up!

0 Kudos
Message 5 of 6
(3,304 Views)

I wrote a reply and it disappeared into the ether!  Great.

Once more!

I have seen the example you mention and it does not help.  I am very familiar with DAQmx and have no problem writing a file.  Using the example you mentioned I have no problem reading a file(written in a format that is not explained) into the 5423 using FGEN.  The issue I have is the saved waveform on the hard drive or just in memory will not load into the 5423.   What I need help with is how to manipulate the waveform date into a format the the 5423 will load.

Let me ask the question differently.

I want to read in date from a 6115 using DAQmx and wire it to my 5423 for output using FGEN (only because DAQmx will not work with this card).  

0 Kudos
Message 6 of 6
(3,310 Views)