Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel analogue read and write with fixed probes number

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

0 Kudos
Message 1 of 5
(3,322 Views)

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

0 Kudos
Message 2 of 5
(3,302 Views)

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..

0 Kudos
Message 3 of 5
(3,297 Views)

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

0 Kudos
Message 4 of 5
(3,295 Views)

Hi Andrzej,

 

You should be able to find DAQmx examples for VB6 under the following folders:

 

Visual Basic 6.0

NI-DAQmx 8.5 and Later

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\...

NI-DAQmx 8.3.1 and Earlier

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 

0 Kudos
Message 5 of 5
(3,264 Views)