09-17-2012 01:40 AM
No,
becasuse of weekend and my exam today I am on leave so I ll tell you tomorrow about the solution.
and thank you very much again for helping me.
09-18-2012 01:40 AM
hii baskar,
As you told me 3 sreps I tried that also but still I am getting same error that VISA:(Hex 0xBFF0015) time out expired before operation completed.
when I try to run my program then remot light of my powersupply ll be on means i can connect with my powersupply but after some time I got the error message as I wrote above.
I also varify my program with example which is given by Labview in tools and find example then serial in that advanced serial write and read.vi.
in first attampt I got same error VISA:(Hex 0xBFF0015) time out expired before operation completed,but in secont time I got the reading string from my instrument.
samething I also tried in my open visa test panal and in that INPUT/OUTPUT in first attampt i got same error and in sencond attampt I got success.
now I am confuse why is happen like this.
here I am attaching that photo in which i got error in initialize.vi.
and will you please tell me again that how can i put delay and where exactly i have to put it to remove this error and sorry for asking again becasue I am new so i didnt get it directly.
thanks in advance.
09-18-2012 03:20 AM
Hi akki,
For giving time delay,Right click in block diagram -->programming-->timing-->timedelay icon and give time in that icon and place between write and read Icon it will create delay in your program.Try to run the program with enable the bulb (near to stop button)
Cool, we try to solve this problem.where can u get driver for your power supply?.I thought you are getting wrong driver for your power supply.I searched in NI Support there is no driver for your power supply.you already refered link is correct (http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0)that is the correct way to solve this problem.You already solved but you have another error right ? that error depends upon wrong driver for your instruments.If you have the driver please send me
but you are having the same error when you are not connecting with instruments also ,so better you can check the baudrate,parity,stopbits,flow control and databits for your serial port.
cheers,
baskar
09-18-2012 03:41 AM - edited 09-18-2012 04:09 AM
hii,
I got driver online from the hameg site as I am using Hmp 4040 powersuppy.
I tried according to that link also but still I am getting same error.
and here i am sending you link of hameg
http://www.hameg.com/drivers.0.html?&no_cache=1
in product scroll for hmp4040 ,so you ll get the list.
in that i have installed third one in which plug and play is given.
09-18-2012 04:15 AM
Dear akki,
unfortunately u r taking wrong driver i already told u for your instrument have no labview drivers.your model no is HMP 4040 then y u take HM 1004-3 driver actually u r taking oscilloscope drivers just go through this link http://www.hameg.com/hm1004-3.0.html?&L=elivwdhzmrtojgpg&0=
In this link http://www.hameg.com/drivers.0.html?&no_cache=1 each and every model number is different instruments.unfortunately u dont have driver for your instruments.
In labview each and every instruments have unique drivers we are not able to use other driver with out any modification.
09-18-2012 04:27 AM
hiii,
sorry it was my fault that i forget to tell you that after cliking on this link
http://www.hameg.com/drivers.0.html?&no_cache=1
then
in product scroll for hmp4040 ,so you ll get the list.
in that i have installed third one in which plug and play is given.
09-18-2012 04:28 AM
sorry sorry i saw the wrong one just wait
09-18-2012 04:46 AM
ur downloaded driver is correct i am only saw the wrong one i dont know the where is the problem occur. did u run the program with highlight execution ?
09-18-2012 04:52 AM
ya i run with highligh also and i m facing problem during initialization.
so i make double click on that initialize block and again tried to run initialize.vi with highlight execution that picture is in attachment.
look it, may be you ll get some idea from that attachment.
09-18-2012 05:30 AM
hiii,
if i made changes according to this link then I am able to solve the problem from visa read in initialize.vi
http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0
but,still I am facing problem from Id query instument, and the problem is also same like privious one.
and one more thing that i would like to ask you that,Hameg already design their driver for powersupply and after than we made change by our self ., is it ok???
here I m sending you attachment in which i made change according to above link but still i m facing problem.