Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Please code some example for PCI-4472

Please code some example for data acquisitioning using PCI-4472 card in visual studio C# for multichannels and saving data on the drive
0 Kudos
Message 1 of 3
(3,346 Views)

Hello Sajid,

Thank you for your post on the discussion forum. Some examples are installed with the NIDAQmx drivers. A specific example for a PCI 4472 may not be included (you may find some examples for DSA devices or more generic DAQ cards), but these examples will give you a excellent starting point. You can test your device, set your device name and do some additional setting in the measurement and automation explorer.

The Measurement Studio 8.1.1 Visual C++ example paths for Windows Vista are x:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\MStudioVC2003 and x:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\MStudioVC2005.

The Measurement Studio 8.1.1 Visual C++ example paths for Windows XP and Windows 2000 are x:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\MStudioVC2003 and x:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\MStudioVC2005.

Please find also some examples on our support page ( www.ni.com/support ), I hope this one is usefull to you; http://zone.ni.com/devzone/cda/epd/p/id/4828

You can also use Labview signal express for simple data loging. The lite edition is included with the driver.

Best regards,

Martijn 

 

 

Martijn S
Applications Engineer
NI Netherlands
Message 2 of 3
(3,344 Views)
Hi Sajid,
 
It looks like there is a duplicate post on the LabVIEW board. When dealing with hardware it's prefered to post to the Multifunction DAQ board or a more specific hardware board. For example since you are using a DSA product, you would get the best response from the Dynamic Signal Acquisition board. But that's just for future reference.
 
I'll let the other post do the explanation of included examples but I would like to point out that to acquire from multiple channels in one task, simply put a colon and then the span of the channels. For example Dev1/ai0:3 will acquire everything on the first four channels with the same timing. Also, the DAQ Assistant is not available in C# but you can setup tasks in MAX before hand and then call them. You an also create Global Virtual Channels in MAX and refer to these when creating your task programtically in C#. These two options (configuring in MAX) will give you the ability to have muliple channels in a more graphical environment.
PBear
NI RF
0 Kudos
Message 3 of 3
(3,327 Views)