Hi Claudio,
As I understand it you�re trying to do simultaneous analog input and output and then write to file. First you need to decide which NI-DAQ driver you�re going to use. NI-DAQ 7.0 and later comes with two drivers Traditional NI-DAQ and NI-DAQmx. You can check the following link to determine the latest version of the driver compatible with your board. Under the version the document lists whether the board is supported under Traditional NI-DAQ (T) or NI-DAQmx (mx) or both.
NI-DAQ Driver Support for WindowsYour program will look completely different depending on which driver you choose to use. If you�re using LabVIEW 7.0 or 7.1 and your board is supported under NI-DAQmx I would suggest u
sing this driver.
After deciding which driver to use a good way to start is by looking at the shipping examples. You can browse through these by going to Help >> Find Examples from LabVIEW. This opens up the NI Example Finder. If you�re using NI-DAQmx I would suggest looking at the Multi-Function-Synch AI-AO and Multi-Function-Synch AI-AO � Ext Dig Trigger examples. You can find these by opening the NI Example Finder and on the Browse tab navigating to Hardware Input and Output >> DAQmx >> Synchronization >> Multi-Function. I would suggest looking under Hardware Input and Output >> Traditional DAQ >> Simultaneous Analog IO for Traditional NI-DAQ examples.
For examples on writing to file I would suggest looking under Fundamentals >> File Input and Output.
I hope this helps!
Sarah Miracle
National Instruments