Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDaq MX slower than traditional?

I have a nice application I built in VB6.0 with traditional NIDAQ to use a PCI-6601 board for measuring a frequency. I recently rewrote the program in VB.NET and NIDAQmx. Everything works, except the program is extremely slow to load (perhaps 30 seconds?) whereas the older style was immediate. It does seem to be much slower the first time it is run (which is everytime during debugging) but still takes longer to load everytime. Is this normal? Is there anything I can do to speed it up?

-Matt
0 Kudos
Message 1 of 2
(2,985 Views)
The exeuction speed of DAQmx is definitely faster than the execution speed of Traditional DAQ. However, in your case, you are seeing a slower load time. I believe the reason for this is actually .NET as opposed to DAQmx. When using DAQmx or Traditional DAQ in an API that allows for both, I have never seen a speed difference in loading.

Check this out too:
http://zone.ni.com/devzone/conceptd.nsf/webmain/EE47B125BB9E053686256FBC0014C384?OpenDocument&node=10181_US

Regards,
0 Kudos
Message 2 of 2
(2,967 Views)