Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Legacy DAQ and s-series 6111

Hello Emilis,

Hopefully this helps you out.  Please let us know how it works for you.

Regards,

Jesse O.
Applications Engineering
National Instruments
Jesse O. | National Instruments R&D
0 Kudos
Message 11 of 13
(990 Views)

Hi Jesse,

so, synchronous acquisition works. Actually, I wrote a short code in delphi and used op_scan function (instead of scan_start ) which was in Your C++ example. Simultaneous acquisition occurred even with initial daq 7 which comes with labview 7.
Interestingly, asynchronous acquisition function scan_start doesn't work in simultaneous regime neither in case of 7.0, nor in case of 7.5 daq. Again, I would not surprised if it is just my error (maybe I don’t know some peculiarities how use daq legacy functions) in coding, because when only one physical signal (sin) is connected (second input is open), I see two signals,- it is a nonsense.
Any way, I reached the goal.

Thank You very much for Your assistance,

Emilis.

0 Kudos
Message 12 of 13
(978 Views)
Hello Emilis,

I'm glad your application is now up and running.  The code I posted was a modified shipping example.  There are other asynchronous examples that you could modify.  All C examples can typically be found here:  C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC

These examples might help you out, if you want to see if there is a problem in your code.  If there is anything else we can do please let us know.  Again, if you are starting a new application I would recommend using DAQmx.

Have a great day,

Jesse O.
Applications Engineering
National Instruments
Jesse O. | National Instruments R&D
0 Kudos
Message 13 of 13
(963 Views)