04-13-2011 10:41 AM
I need the set of new commands which replace the old GPIB commands, for example ibwrt. The new command is simply Write. Please Help.
--PeterY
04-14-2011 01:57 PM
PeterY,
I dont think I quite understand what the issue is here. Our 488.2 commands have not changed in well over a decade. The commands can be found in the start menu>>National instruments>> NI 488.2>> NI 488.2 help. In the help file, under function reference, there is a list of all of the available commands. Any clarification you could provide would be very helpful. When did this issue pop up, and what kind of GPIB device are you communicating to?
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments
04-14-2011 02:15 PM
Kyle,
I am communicating with a NASA-built radiometer, which I didn't build. It was built in the 1990's I think and has worked with the NI GPIB device drivers under Visual Basic 6 for years. Now I am having to convert the VB6 legacy code to VB 2008.NET and use a NI GPIB- USB-HS interface to talk to the radiometer. Several months back I ran across a table on the internet which seemed to list new commands for VB 2008. It replaces the write command ibwrt with the word Write, for example. That's the only one I remember. In my VB2008 code ibwrt causes an error, but when I substitute Write, the error goes away. Unfortunately, Read does not work for ilrd. There are a few other commands I'm having trouble with: ildev and ibdev.
I found a sample VB 2008 program in the software that came with the GPIB-USB-HS which refers to a command GpibDevice.Write. I tried that but that gave an error when I tried to use it with more than one argument.
By the way, I found no function reference under start menu>>National Instruments>>NI 488.2>>NI 488.2 help.
I'm by no means a professional programmer; I don't even play one on TV! Any advice is appreciated.
Thanks,
PeterY
04-14-2011 04:06 PM
PeterY,
I havent been able to find a similar chart, but Ill keep looking.
In the help, the function references can be found here: