02-06-2013 04:20 PM
Hi LAVA,
I am using HBM MGCplus ML01 amplifier http://www.hbm.com/en/menu/products/measurement-electronics-software/laboratory-test-stand/mgcplus/?.... I am using Hall sensor to measure the voltage values as the magnetic field varies. So i have connected output of the hall sensor to the input port of the DAQ and my daq is connected to my laptop through rs232 to USB (rs232 in daq and usb in laptop)
when i inserted this cabel, it showed New hardware found and I installed the drive and i installed. In device manager i am able to see COM5...
Since it is USB - RS232 cabel, will this acts as serial communication?
I have attached my program, pls tell whether i shud use VISA Flush I/O buffer, else this program will work properly.
02-06-2013 04:49 PM - edited 02-06-2013 04:51 PM
As long as it shows up in MAX as a com port, you can use it.
A flush buffer is not always required but it can get rid of any spurious data in the buffer before you start doing a read.
Why aren't you using the driver?
p.s. If you are going to post to both Lava and here, you might not to be so obvious.
02-06-2013 04:57 PM
thanx for the reply...
My DAQ driver is too old and it supports only GPIB.. I have to update the driver from gpib to serial once i successfully tested this program (that is acquiring the hall voltage)
That was my first post in lava, just curious to have solutions from many brainies..
Thanq once again Denis
02-06-2013 05:55 PM
02-07-2013 02:00 AM
yes!! but its not working properly, so i decided to do from the scratch by myself...
02-07-2013 02:21 AM
hi,
with this program i started execution by connecting usb-rs232 between laptop and my hardware.. i didnt connect my sensor to be calibrated in the input of the DAQ..
i got an error, "VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error"