Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB-6501 with Visual Studio 2022 VB.net

Hi there!

Is it possible to get the NI USB-6501 running within VB.net of Visual Studio 2022? If yes, PLEASE send me some simple code to read and write digital lines. Thank you very much in advance!

Best regards

LostInSpace69

0 Kudos
Message 1 of 5
(1,018 Views)

Using DAQmx in Visual Studio .NET With or Without Measurement Studio

NI-DAQmx .NET Examples

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 5
(991 Views)

Thank you very much for your help! The examples are using Frameworks which are out of support/date. I have to use .net Framework 6 or 8 (or the latest one: 9)

 

Best regards

 

LostInSpace69

0 Kudos
Message 3 of 5
(983 Views)

The examples were written many years ago and didn't get any updates. However, it still works in the recent version of .NET framework.

I managed to get it to work on 4.6.2 (GitHub - ZhiYang-Ong/dotnet-ni-examples: This repository provides additional examples for programmin...)

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 4 of 5
(975 Views)

First thank you very much of your help!!! But your code isn't working with Visual Studio 2022 with Framework later 4.8. May its caused by use of a cloud of your forms, but I guess it's based by National Intruments which haven't improved their code since 20 ore more years! I Switched back to VB6 SP2 which is working well for such a simple read/write digital IO question... Shame on National Instruments or shames on me, cause I was not able to find a solution to work with NI USB-6501 and Visual Studio 2022...

0 Kudos
Message 5 of 5
(942 Views)