02-29-2024 08:05 AM
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
02-29-2024 09:01 PM
Using DAQmx in Visual Studio .NET With or Without Measurement Studio
03-01-2024 01:33 AM
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
03-01-2024 06:54 PM
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...)
03-06-2024 06:20 PM
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...