Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Anyone help me with an AI Multi Device Synchronization in Continous mode ?

Hi,

I am new to this forum and relatively new to Measurement Studio.

I have started using Measurement Studio for ANSI C a few month ago and it work perfectly but as the program grew so did the need for C++.

In ANSI C everything was relatively simple but in C++ I need a working example to work on.

I started by looking at the example in : C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\DAQmx\Synchronization\Multi-Device\AIFiniteAcquisition
but the problem is that this one is in finite mode and I need continuous.

I have tried combining with another example for acquisitioning in continuous
work but I cannot make it work.

Please can anyone here help me !! Your help is much appreciated.


Thank you.
What shoud I do ?


Julian


Message Edited by The_Mind_Traveller on 09-25-2008 03:32 AM
0 Kudos
Message 1 of 4
(6,710 Views)

Hi Julian,

 

How are you doing today and welcome to the forum. 

 

I see that you are looking into one of the examples of finite acquisition for synchronized I/O across several channels or devices. Are you trying to do synchronization in your own application at the moment?

 

If you meant you couldn't get the continuous acquisition working alone without thinking about the synchronization part at this stage, I would suggest you to start looking into the examples of continuous acquisition for single channel first, and then when you feel more comfortable with it, move on to integrate the synchronization part for multiple devices, which the code would be very similar to the finite acquisition example you've already found.

 

Examples for single channel continuous acquisitions are located at,

 

 C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\DAQmx\Analog In\Measure Voltage

   

I will continue to look into your issues while I hope you can tell us more details about what exactly you are trying to do?

 

Thanks, 

Best regards,

Mark M.
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 4
(6,662 Views)


 Examples for single channel continuous acquisitions are located at,

 

 C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\DAQmx\Analog In\Measure Voltage

  


Any examples of continous acquisition with multiple channels? I really would need them badly 😞

0 Kudos
Message 3 of 4
(6,643 Views)

Hi,

 

I'm afraid there's no particular examples for multi-channel continuous acquisition that I could find. I suggest if you have Visual Studio installed, try using the DAQmx Assistant when creating a new project and you will see the options to acquire continuously across several channels, the code will be generated for you.

 

 

Best regards,

Mark M.
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 4 of 4
(6,611 Views)