01-11-2006
03:58 PM
- last edited on
11-10-2025
07:54 PM
by
Content Cleaner
The documentation I was thinking of was the NI-DAQmx .NET framework 1.1 which is full of information. I know it can be a little overwhelming at first, but it's a great reference. Also, the Measurement Studio Development Library also has some great resources.
Also, you can find quite a few example programs from Example Code Library.
Good luck with your application!
03-27-2006 01:39 PM
03-28-2006 12:29 PM
03-28-2006 01:13 PM
05-22-2007 10:14 AM
Hi
I am currently upgrading my VB program from using traditional daq to daqmx. I have used gated event counting in traditional daq and would like to same functionality as that in my new program. I have figured out Edge event counting using digital pause trigger can be used instead of Gate event counting., but i dont have any example of digital trigger in VB. I have an example in c#.Net, but has entirely different set of library, i tried to search through the function definitions in VB, but i have not found any with respect to setting up trigger. It will be great if I get an example for using trigger or the functions which is to be used.
Thanks in Advance.
Ram
05-23-2007
04:39 PM
- last edited on
11-10-2025
07:56 PM
by
Content Cleaner
Hello Ram.
I see that you are trying to transistion from Traditional DAQ to DAQmx. Here are some really awesome resources to get you started (Take a look at Part2 there is information on triggering):
Transition from Traditional NI-DAQ (Legacy) to NI-DAQmx using Microsoft Visual Basic .NET
Transition from Traditional NI-DAQ (Legacy) to NI-DAQmx using Microsoft Visual Basic .NET: Part 2
Transition from Traditional NI-DAQ (Legacy) to NI-DAQmx using Microsoft Visual Basic .NET: Part 3
Transition from Traditional NI-DAQ (Legacy) to NI-DAQmx using Microsoft Visual Basic .NET: Part 4
In addition, take a look at the shipping examples for .NET at the following locations:
\National Instruments\MeasurementStudio2005\DotNET\Examples\DAQmx
\National Instruments\MeasurementStudio2003\DotNET\Examples\DAQmx
There are also other example on www.ni.com that would be useful. They many not be exactly that same as your application, but they can easily be modified.
I hope this helps, let us know if something is unclear.
Happy Coding!
Regards,
Sandra T.
Applications Engineer | National Instruments
05-24-2007 03:55 AM
Hi Sandra,
Thanks for your response. I have the documentation for .NET fundamentals, but I have not found any documentation for VB. I have noted a example Edge counting using Digital pause trigger in C#.Net. Could you please give me some detailed description how that program works? Because I can get some basic idea from the description given, but when i tried the program, I am getting counts irrespective of connection of source to pause trigger. I am getting counts when pause trigger is High and when it s low no counts. thats fine, but the trigger works even if I am not connecting any source to Dev1/PFI10
Thanks
05-25-2007
03:05 PM
- last edited on
11-10-2025
07:57 PM
by
Content Cleaner
Hello Ram,
I must of misread the last post, you are intrested in Visual Basic and not Visual Basics .NET. I was unable to locate the example that you are referring to. But I did find these examples:
Analog Software Trigger for Visual Basic
Hardware Digital Trigger for Visual Basic
Retriggerable Analog Output with Measurement Studio for Visual Basic
There are a number of resoures on our website. Shipping examples also install in the C:\Program Files\National Instruments\NI-DAQ\Examples\Visual Basic 6.0 folder of your hard drive. You can also reference the NI-DAQmx C Reference Help. The function names in the NI-DAQmx C API and the NI-DAQmx Visual Basic 6.0 API are identical. Use the NI-DAQmx C Reference Help to look up the descriptions of the NI-DAQmx functions in the NI-DAQmx Visual Basic 6.0 API.Regards,
Regards,
Sandra T.
Applications Engineer | National Instruments
05-26-2007 08:16 AM
06-12-2007 11:11 AM