I am using HP34401a.lib, which is coming with LabVIEW distribution CD, to control HP34401a multimeter. If I choose GPIB, it works fine, but if I choose serial port to control the meter, then I got the following error message: Error-1073807246 occured at OLD VISA Open in HP34401A Initialize.vi -> HP34401A Getting Started.vi Possible reasons: VISA:(Hex oxBFFF0072) The resource is valid, but VISA cannot currently access it. In another occasion I also got the following error message: Error-1073807331 occured at Property Node (arg 9) in HP34401A Initialize.vi -> HP34401A Getting Started.vi
I don't know what I should do to correct those errors. Any suggestion is highly appreciated. The serial port and cable has been tested with Loopback.vi, it works O.K.
As far as the first error, VISA cannot access the serial port if another application has it open. Make sure that you don't have something like hyperterminal open while you're trying to the driver. The second error is "The specified attribute is not defined or supported by the referenced resource." and I would check to see if the version of VISA that you're using is up to date. You might try removing arg 9 which I think sets the DTR line.
By setting the Flow Cntrl of the property node from DTR/DSR to None, actually I got rid of the complain about "arg 9". Now no more error on the DTR line, but I still cannot get the reading. On the LED screen it did display Rmt after I hit the run arrow, it means some communication between HP34401A Getting Started.vi and the multimeter is going on, but the read operation is not right, the new error message reads as follows: Error-1073807339 occured at VISA read in HP34401A Control Mode.vi->HP34401A Initialize.vi->HP34401A Getting Started.vi, Possible reasons: VISA Time Out expired before operation completed. I am a newcomer to the LabVIEW, any suggestion is fresh to me. Many thanks in advance.
I have the same problems with LV6i ,RS232 and HP34401. I don't know why, I have tried to set the ID Query (Initialize.vi) on "Don't Check" -> no result Setting the Flow Cntrl on NONE -> Error 1073807360 at "VISA OPEN" (open.vi New or Old) in Initialize.vi The cable is Ok, because it works on the PC with Win98 (LV6i, RS232, Hp34401a the same Programm ) !!! Why it dos not works with win2000 ?!?!? Have you any answer?