I try to read a gauge (instrument) via GPIB under win7 and win10.
I used the outdated library NI-VISA-NS in the past.
Now I'm trying to migrate my program (under VB.NET) to the library NI-VISA and get a lot of mistakes.
Old version (works):
I upload an image file from the meter to the computer - NI-VISA-NS:
mbSession.Write ("0; MMEM: Data? 'PRINT9.WMF'")
mbSession.ReadToFile ("d: \ PRINT9_.WMF", 310442)
New version under NI-VISA. The command "ReadToFile" is no longer available.
mbSession.RawIO.Write ("0; MMEM: Data? 'PRINT9.WMF'")
How is the file read now? How ti read binary data?
↧
Problem with GBIB-VISA-Read read binary data
↧