Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Single pulse on a PFI line

Hi I'm a newbie.
 
Can anyone help me with outputting a 500ms pulse from an NI USB-6259 device using Visual Basic.NET 2005 alone.
 
 
 
 
0 Kudos
Message 1 of 4
(2,817 Views)
Hi Dal,

I assume you mean a newbie with DAQmx?

The following tutorial is a good place to start for information on how to program DAQ tasks in .NET:
http://zone.ni.com/devzone/cda/tut/p/id/4344

It's written for people who are transitioning from our older drivers NI-DAQ to our latest drivers NI-DAQmx. You'll be using DAQmx so you can just focus on those parts of the presentation.

There are also examples for .NET that ship with NI-DAQmx which you can either use or modify. You'll find them in
C:\Program Files\National Instruments\NI-DAQ\Examples

Here are some links to examples on the web for pulse generation:
http://zone.ni.com/devzone/cda/epd/p/id/2415
http://zone.ni.com/devzone/cda/epd/p/id/4812

Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 2 of 4
(2,760 Views)

Thanks Sarah, I actually did find those docs and they were helpful.

I have managed to complete that part of my project.

There does seem to be very little on either the NI website or the forums regarding programming in Visual Studio,NET alone, without using Measurement Studio, or LabWindows or the like, but I am slowly getting there.

 

Dal.

 

0 Kudos
Message 3 of 4
(2,758 Views)
Hi Dal,

I just spotted that you'd posted 3 weeks ago!!

Glad you've managed to get that working. With regards to content for .NET on our website, the web content is created by us application engineers and most of us are more proficient with NI software then VB .NET unfortunately!

We are continually adding to the resources available though so I'm sure the content for .NET will improve. Users can also submit code for the web themselves so if you are interested in sharing your application I'm sure it would be a valuable resource 🙂

Best of luck with the rest of the project!
Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 4 of 4
(2,756 Views)