LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-232

Hello,
 
I am starting a project to communicate the multimeter HP 34970 A with my computer. However, I can not communicate with my instrument using an RS-232 cable. I did a similar thing using GPIB-USB. Then, I downloaded the drivers and they should be the same but now it doesn't work the same program with RS-232.
If I go to Measurement & Automation Explorer I can check that I am connected with my instrument, and if I send IDN? to identify the instrument I receive the right answer. So, the problem should be only with Labview. In fact, all the examples that you can consult in the 'NI Example Finder' don't work in my computer. For example, if I try to run the example 'Basic Serial Write and Read.vi I receive the next  message:
 Possible reason(s):
VISA:  (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.
 
If someone knows what it fails or how to fix it I would really thank him/her.
 
Vicente
0 Kudos
Message 1 of 2
(2,653 Views)
From the error message it sounds like you are talking to a valid serial port, but the port is being used by another application. You aren't by any chance trying to talk to the serial port while MAX is still open are you? Are you sure you are attempting to connect to the proper serial port? Are any other programs open that could be accessing the port?

To make doubly sure that there is nothing else running that could be holding onto the port, try restarting the computer and before doing anything else, run your VI and see if it can talk to the port.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 2
(2,645 Views)