05-15-2013 05:54 AM
Hi,
I'm trying to do some simple scans with a hameg hm8118 lcr bridge, but I keep receiving the error -1073807339.
The code Im using I downloaded from NI's website http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=80634808372B577CE04400144F1EF8... .
I have gone through both http://digital.ni.com/public.nsf/allkb/E6DFA2B8D7E99F9886256C14005E82F7 and http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0 without generating any fruitful result. I have managed to send some simple commands through windows hyperterminal but when I run the labveiw code I receive the timeout error 1073807339 at the first visa read. I have tried to use an usb connection (I installed the required software for that) and a serial connection both giving me the same result. I have also tried using two different computers but with the same negative outcome. Im using labview 2012 and visa 5.3. The hm8118 is very new (purchased in the autumn of 2012) and I have updated the firmware to its latest.
I'd appreciate any help I can get, because Im starting to feel a little desperate.
Thank you in advance /klirfan
07-05-2013 03:33 PM - edited 07-05-2013 03:36 PM
I have the same problem. Do you already know how to fix it? Thanks!
07-08-2013 08:27 AM
Hi sagfuasgfi
I haven't found a complete solution yet. I sent some emails to hameg, but they didn't reply me. So I turned to the distributor instead. They were talking about some kind of software malfuction (I wasn't the one who spoke to them). I sent the hm8118 to the distributor for them to repair it. They sent it back quite fast and claimed there was nothing wrong with it. I have not had the chance to test it yet as I have put that part of my project on hold. If I learn anything new I will get back to U.
Kind regards /klirfan
08-29-2013 11:13 AM
Hi Klirfan, I automatized the HM8118 by visual basic (RS232 interface, without any kind of problem. But now I'm trying to to the same by means of labview. I have usb or rs232 interface in HM8118.
I did exactly the same like you. Do you already know how to fix the problem?. I installed the labview driver, and by measurement&Automation, I'm not able to send any command...
01-15-2014 08:36 AM
Hello OLP
I was facing the same problem with HM8118
the Lab VIEW drivers were not working , Hence I have hardcoded own VI's but there is a non synchronous communication the expected outpot is diplayed
but some times there is no communication and there is missing of some data
I think there is a problem in
1. Delay between Read and Write or
2.start and termination bits missing
3.No chcksum
I have read the manauls but there was nothing sepecifally mentioned below is the attached VI , and manuals
What type of syntax did you use for the serial communication via Visual basic.
Did any one achieved success..!?
01-15-2014 08:37 AM
the VI
01-15-2014 08:50 AM
Simply saying the driver is not working is a pretty poor description of your problem. What is the error code that you get when you run something as simple as the Initialize function? Your code is not sending any termination character at all and that is certainly incorrect. Using the Bytes at Serial Port when VISA is configured to use a termination character is also incorrect.
01-15-2014 12:04 PM
Thankyou Dennis for your time and reply 🙂
I am extremely sorry if I was mean , but the problem was the same error which was mentioned by the above users
It was timeout error 1073807339.
1.yes there was no termination character mentioned in the manual( http://http://www.hameg.com/470.0.html?&tx_hmdownloads_pi1[product]=HM8118&tx_hmdownloads_pi1[produc....)
2.not using the bytes at port instead of constant resulted in no communication hence had to use the property node (by doing so i received the data from the device which was not continious)
kindly suggest me what was the problem, I have set the baud rate,stop bit,handsshake parameters set according to the manual.
Can it be the drivers and Firmware of the instrument mismatch.!?
I do not know what am I missing.I receive the appropriate bytes return from the serial read,but some times 0.
Thanks for you patience and guidance 🙂
01-15-2014 12:08 PM
communication instructions from the manual
01-15-2014 12:22 PM