06-09-2008 05:52 PM
09-12-2012 05:50 AM
hello,
I am also getting same problem, I have checked my all parameters which is same like my device,and yes i am tring to design the power suppy from hameg and I get problem dring initialize.vi run.I got error in query instrument Id and that screen i had attach here and i am really geting stuck here.
will you please help me to solve this error.
Thank you very much in advance.
Ankit.
09-12-2012 09:37 AM
Besides the com settings, have you checked the cable, or used another terminal emulation program, or if the command is terminated correctly, or if it is even the correct command?
Where did you get the driver? I don't see it as available from NI.
09-13-2012 03:48 AM - edited 09-13-2012 03:53 AM
Thanks for reply ,
this driver is not from Ni .I downloaded it from the website of Hameg powersupply (HMP4040).
as we have to design this powersupply for our system.I have check all the seeting and I am using RS232 cable via Moxa converter.
Will you please tell me how can I solve this problem.here i am attaching one more Ni-max page in which I got the error my system is window 7(64 bits) and I am using labview 2012(32 bits).
I can connect my powersuppy with pc but i cant access it as per time out error.
I have cheacked my initializat.vi seperatly but in that i got error in visa read,even try to false the instrument query id but same problem occured every time.
Thanks in advance.
Akki
01-04-2013 08:21 AM
HI i am faciing the same problem but some of the part of the command gets executed and i get the response back..but for other like to get the version number it gives me an error in the reult string like err04.. and in the errror out diagram error code -1073807339. I even tried using the time out given a 4 ms delay . even doesnt work Thabks in advance.well..hereby attaching the vi..please help.
01-04-2013 08:24 AM
Hi i am having the same issues.please help ..my vi reads only certain values but for the othe it doesnt respond rather it gives an err04...Please try correcting ..thanks in advacne.
01-04-2013 09:12 AM
Is this also for a hameq power supply or did you hijack this thread?
Without even knowing the make and model of the instrument, where you got the code, and other details, I don't know how much help anyone can provide. If some commands work and others do not, then you need to read the manual or contact the vendor to see what might be wrong. I would suggest using a terminal emulation program such as hyperterminal,procomm,putty, etc. to do the debug.
p.s. If you get an 'err04' in the string indicator, that is an instrument specific error and you must reference that error in the manual or from the vendor.
01-04-2013 09:43 AM
Dear Dennis,
There is a program written within the device and here it talks to device the SSB board and reads the response out. But the problem is with the $ver command which reads the version and the date of the device ,but when i reset the device it reads out well, but after sometime i again face with the problem getting errors..thanks in advance
01-04-2013 09:47 AM - edited 01-04-2013 09:48 AM
You still have not provided the make and model of this device - SSB is a big question mark as far as I am concerned. You have not provide the programming manual or where you got this code. I have no idea how to fix your problem as this point. Did you even try my suggestion about using terminal emulation program?
That VI you posted is poorly written. It does not configure the serial port and it uses Bytes at Serial Port.