04-29-2010 04:52 AM
Hello,
I'm using DAQmx NI-USB-6259
I have problem with with parallel execute writing analogue signal (for example 1000 points
per 1second) on physical channel Dev1/ao0 and at the same time read
1000 points per 1second from physical channel Dev1/ai0
how to do this?
I've tried to use DAQmxExportSignal but it doesn't work well or simply I don't know how to do it
properly 😞 Maybe should I use another function?
Best regards,
AndrzejS
04-30-2010 03:38 AM
Hello Andrej
Please take a look at the architecture developed in: Multi-Function-Synch AI-AO (adds extra feature of AI-AO synchronization).
It can be found in : Help-> Find Enxamples -> Hardware Input and Output -> DAQmx ->Synchronization -> Multi-Function
Success,
Emil
04-30-2010 04:48 AM
ups.
Fisrs off all - thanks for you response
But I use VB6 😞
and still I am not sure that "Synchronization" is supported by my NI USB-6259..
04-30-2010 05:23 AM
If you were using LabVIEW, you could have been using the example as an architectural starting point.
Now I have seen you also have a similar post under VB area of the forum.
Regards
05-03-2010 04:28 AM
Hi Andrzej,
You should be able to find DAQmx examples for VB6 under the following folders:
Windows Vista examples are located at:
C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\Visual Basic 6.0\...
Windows XP or 2000 examples are located at:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\Visual Basic 6.0\...
Examples are located at:
C:\Program Files\National Instruments\NI-DAQ\Examples\Visual Basic 6.0\..
Synchronizing an analog output and analog input task using the DAQmx driver API should be done same way as in LabVIEW, thus check this link to see the synchronization concept.
I hope this helps!
Regards,
Barna
National Instruments