05-13-2015 04:43 AM
I am using the SR830 driver from the link below(Labview 2012),
I tried converting the GPIB driver to RS232 driver by replaving GPIB Write,Read with Serial Write,Read.Also by adding the the serial setting(Baud,Parity etc) at the Initialize vi.
After this when the run the Vi,i get ERROR-1074003951.The error says "The ID Query failed. This may mean that you selected the wrong instrument or your instrument did not respond. You may also be using a model that is not officially supported by this driver. If you are sure that you have selected the correct instrument and it is responding, try disabling the ID Query.."
Please guide me.I wanted the Initialse to happen successfully,as without this vi all other Vis are failing.
05-13-2015 05:34 AM
05-15-2015 04:08 AM - edited 05-15-2015 04:09 AM
Thanks Dennis 🙂
It was indeed helpful.
I am using a part of 34401 code from Initialise vi.I have done the necessary changes for RS232 Serial Config.
Everytime i get Error 1073807339 at Remote part.I have tried increasing the Read Byte Count,Changing OPC to LOCL of SR830,etc.
But it was not fruitful.
It is expecting for something else here.I am kinda struck here for morwe than 24hours so thought of getting your support so i can proceed futhur in this BIg Ocean 🙂
TIA
05-15-2015 06:03 AM
05-15-2015 06:21 AM
Thanks again for your quick response.
I must have mentioned earlier that I have already tried communicating with the device.It reads ID so my cable has no prob.
Also I require REM in my code thus the retained that part.Also i have the Termination Character as None,so i do not get any error coz of it.
I find the error pops initially at VISA Open itself.
05-15-2015 06:37 AM
05-15-2015 06:51 AM
Hi krupa,
you can check the points mentioned it the following paper for troubleshooting the timeout error.
http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0?OpenDocument
I suspect the termination character being the cause of the error as well.
The tutorial below gives you a few approaches how to handle termination characters.
http://www.ni.com/tutorial/4256/en/
regards