08-18-2006 04:47 AM
08-18-2006 08:08 AM
I have tried it with Visual Basic 2005 Express Edition.
Take a look at these threads.
http://forums.ni.com/ni/board/message?board.id=140&message.id=18587&query.id=37618#M18587
http://forums.ni.com/ni/board/message?board.id=140&message.id=16783&query.id=37686#M16783
08-18-2006 08:24 AM
08-18-2006 08:32 AM - edited 08-18-2006 08:32 AM
If your instruments are newer and can communicate using VISA, the example using VISA-COM as written by Makoto in one of the threads works. I was able to verify that.
I have two older HP counters 1970s vintage which don't work with VISA. That's when you'll need to use the NI-488 calls and add references to them in your VB2005 project. Examples are at C:\Program Files\National Instruments\MeasurementStudioVS2003 . That subdirectory will most likely not be there since installation of .NET component is NOT installed by default for NI-488.
Message Edited by nyc on 08-18-2006 09:33 AM
08-19-2006 09:10 AM
08-19-2006 10:03 AM
08-21-2006 08:07 AM
I'm not sure what you mean by "poorly written".
Those projects file are for VB.NET 2003. There are changes between VB.NET 2003 and VB.NET 2005.
I opened the SimpleReadWrite project into VB2005, and it will automatically convert it.
In general, Visual Basic 2005 is a big change from Visual Basic 6.
08-21-2006 08:38 AM
At first I didn't think it was using any coding conventions.
Although on second glance it is using CamelCase. (I prefer Hungarian)
There are no comments at all.
It doesn't explain what all the commands are doing and what is necessary when you want to expand.