Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa.h under NI-DQmx 8.7.1

I have an measurement program (C#) which works under Win2000 and NI-DAQmx 7.4 perfect using a trigger.dll written in C++. But under WinXP and NI-DAQmx 8.7.1, it always crashes without any announcement by importing the .dll. ([DllImport("trigger.dll")])

After looking to the source code, I think it's because there's no visa.h any longer in 8.7.1. Have I to rewrite the trigger.dll (in C#) or it's known an another solution?
0 Kudos
Message 1 of 3
(3,864 Views)

Hi Herby,

if you are using the visa function in your trigger.dll you have to install the NI-VISA driver.

Hope this helped out and feel free to reply if you have more questions

Best regards
Benjamin

0 Kudos
Message 2 of 3
(3,826 Views)
It is installed.

Also I found the reason why the trigger crashed. In the "VISA Interactive Control" the 6602 is not indicated. Thus, the trigger does not found any card. So i had to write the card directy in the trigger and not searched and choosen by it.

But why it is not indicated, I do not know. Probably an error installing the driver or something like this.

Thanks for answer.

Hannes
0 Kudos
Message 3 of 3
(3,822 Views)