Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Help in Looking for vi file to binary file conversion

Hi,

          I am fairly new to Labview. I am looking for a  vi that can convert my vi file (the file generates an arbitrary waveform, amplitude vs. time) to a binary file. Can anyone please help me how to construct this vi. Thanks in advance.

 

Thanks & Regards,

Varindra

0 Kudos
Message 1 of 4
(3,386 Views)

Why did you post this generic question to the Multifunction DAQ board?

 

Have you looked at the example programs that ship with LabVIEW? Open the example finder (Help>Find Examples) and go to the search tab. Enter 'file'.

0 Kudos
Message 2 of 4
(3,384 Views)

Sorry for the wrong posting. I had posted it here since I am looking for exporting the waveform to my NI5421 Card. Can anyone please suggest what steps I need to follow if I am creating some bit-pattern and I need to export it to my NI5421 Card.

 

Thanks & Regards,

Varindra

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

 

Hi,

 

If you look at the Fgen Arbitary Waveform.vi example that ships with LabVIEW (use the example finder and search for 5421) then you'll see that all you need to make this code generate your own custom waveform is an array of doubles that contain your waveform points.

 

This then means that if you want to load the data from a file or somewhere else, you'll need to convert it from whatever the source format is into an array of doubles.

 

 

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