07-13-2015 08:25 AM
You should get rid of that 'Clear mode' case statement. I had that because I was testing an obscure bug in the implementation of VISA Serial Clear in the OS X version of the VISA Server. Since you're not dealing with that particular arcane combination, you don't need the case statement.
What values are you supplying for the termination character byte and End Write with term char boolean?
07-13-2015 08:42 AM
07-13-2015 08:52 AM
Again n Again Thanks!!
Yes i removed clear mode.
In the VISA serial Conf,i enabled TErm Char.Tried Term Char with x0A,X0D(LF,CR).I find there is no error from any Vi but still i do not get the value displayed at output.
1 major change, i added no. of bytes for all the reads of ESr,ERRS,LIAS vi.
NOt sure if this has some impact.
PFA
07-13-2015 09:04 AM
07-13-2015 09:18 AM
I have added the serial part of Agilent as u suggested.
I think REM is reqired only then the instrument will be controilled from Labview(I verified this in the SR830 manual.)PFA
As this is not included in my code currently,the Error LED in the instrument keeps blinking.
You said ERS command is wrong,the manual has same command and i am using it as it is in the driver.Lemme know what exact change u were refering to.
07-13-2015 09:27 AM
07-13-2015 09:30 AM
REM is optional; the instrument will respond regardless. Without checking, I don't think it requires (or indeed supports) the serial handshaking protocols.
07-16-2015 08:10 AM
Thanks for the input.
U mentioned ERRS is wrong command.Can u pls let me know the right command here.
Also,though there is no error popping in labview(checked by highlight),the Error Led in Instrumemnt blinks continously,it might be because of wrong command too.
If you can answer me for this,i can try with it as i tried changing ERRS to other commands but it did not work.
07-16-2015 09:40 AM
07-16-2015 09:41 AM