07-20-2015 09:22 AM
07-20-2015 09:32 AM - edited 07-20-2015 09:47 AM
Yes i got proper response for SNAP Query in Basic....Vi
But NO response for ESR & ERRS commands when checked in the same Vi.
For the ESR query,i tried giving "ALRM 0;KCLK 0;*ESE 53;ERRE 246;LIAS 7;*CLS;*ESR?" and also tried only with *ESR?.
Hope this is right.
Yes,i am asking about the Initialise Vi,about what exact changes to make.
For now,when i searched in NI forum,SR850 seeem to have serial comm.I tried with using its Initialise part but as usual,the EC in ID Query throws error so i disabled that part.
I am giving proper Term Char as u can see in the attachment.
07-20-2015 11:11 AM
07-20-2015 11:44 AM - edited 07-20-2015 11:46 AM
Please understand,i have problem only with Driver Vi.The Basicxxx.vi is not a part of this.I am getting proper response only in BAsic vi not in driver.,
Why is the EC in ID query always fails??Also how to get a response for ESR,ERRS.
I resolved the continous blink of Error LEd by taking the instrument to remote mode.
I still have the above mentioned issues along with no value being displayed at the output in LV.
07-20-2015 01:32 PM
07-21-2015 04:02 AM
Thanks!!
When i query in MAX,i able to W & R,after which a timeout is thrown but i think this can be ignored.
As i mentioned,i am taking the instrument to Remote Mode so there are no error LEd blinking in the instrument.
I also do not see any error msg in LV while execution.
Till here everything is Fine.The only issue is that,after Read Parameter.Vi there is no display at the LV output display though there are values being displayed in instrument.
07-21-2015 06:03 AM
Can you post a screenshot of the configuration tab in MAX? It shouldn't be throwing a timeout; to me, that suggests that perhaps the read isn't properly terminating even in MAX.
07-21-2015 06:04 AM
07-21-2015 08:08 AM - edited 07-21-2015 08:14 AM
Please find attached the MAX TO and NI Trace output pdf.
MAX TO was happening for each query.
The trace was taken for the complete vi(Stanford Research 830 Acquire Measurement - 1 Parameter) which includes Initialise vi too.
07-21-2015 08:44 AM
Please ignore the previous post and find attachment here.
For MAX TO,Basic VI Trace and Driver VI Trace.Sorry i did not do this before when u insisted as i diod not know what it is.
The TO was occuring for each Query.