11-15-2017 06:13 PM
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?
11-17-2017 08:22 AM
Hi Steve,
What programming environment are you using?
11-17-2017 09:52 AM
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.
11-20-2017 07:46 AM
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/
11-23-2017 08:04 PM
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!
11-24-2017 11:32 PM
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).