LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HP34970A configuration via RS232

Please find attached a simple "init"-program made for
KEITHLEY K2400 SMU using serial port, the *IDN? command should give a response from your instrument. On frontpanel find some hints, what you should check on your computer and you easily can change parameters - please note: the K2400 instrument uses carriage return as termination of message - change to line feed, if required (do not forget to change this in "True"-case)
Regards .... wha
0 Kudos
Message 9 of 15
(1,341 Views)
1, Your attached file cannot work with error message "cannot load VIs resource".
2, I have tried to solve this problem with old serial port VIs supplied with source code. Please give me suggestion when you read my program with error code, which is attached in this mail.

Thanks very much.
0 Kudos
Message 11 of 15
(1,111 Views)
I have difficulties with your program; the first sub.vi
"serial port init" causes already error on my system - could not solve it. Find attached an .llb saved in LabVIEW5 - version with possibility to edit commands and parameters. Hope this helps.
0 Kudos
Message 13 of 15
(1,111 Views)
The difference between your serial VIs and mine is that you used VISA serial VIs but I used directly the serial port VIs from "Instrument I/O" in "Funtions". The basic theory of your VIs and mine is same, both about the communication via serial port. Neither I used the command "*IND?" nor the command to hp34970a, cannot the VI run correctly. The error code was still -1073807339, "Timeout expired before operation completed". I wonder if the commands for hp34970a, which I got from "Instrument Drivers", would be right. I attach the photo to show the command for temperature measurement and hope you would give me advice.
Thanks a lot.
0 Kudos
Message 14 of 15
(1,111 Views)
hi,
I have downloaded the hp3497a.llb from HP.
This library was made for LabVIEW4 - it seems to me,that at this time VISA was not devided in special I/O classes.I have updated especially the init-part; it seems to me that there are your main problems. Find attached four vi's saved in .llb. See comments inside.
The use of line feed and carriage return as termination of message in HP-vi's is not consequent.
Check the baudrate and all the other parameters on your computer - the HP-vi is fixed to 57600 baud!!
If you have further questions - please contact me
direct: werner.hasche@web.de
regards ........ wha
0 Kudos
Message 15 of 15
(1,111 Views)