07-21-2015 12:28 PM
You can just delete the sub-VI; SR830s respond to remote queries irrespective of whether the front panel is in remote mode or not. If you make that change and put probes on the data buffer and error outputs of the VISA Read command after the *IDN? query, what do you get?Are there any errors, and do you get the proper identity string? The front-panel indicator will report an error because it's testing for the presence of the 34401, so that's why you need to probe the wires directly.
07-21-2015 12:40 PM
07-21-2015 12:49 PM - edited 07-21-2015 12:59 PM
Pls find the current Initialise Vi snap attached.
I enabled ID query but it throws error,u can find in attachment.
Whenever the ID Query is enabled,the EC throws error.
07-21-2015 01:08 PM
By default 'Termination Character Enable' is false, and hence the read will continue until the timeout occurs. Try adding another row to that property node, set it to Write and choose Message Settings->TermChar Enable, and then wire in a True boolean constant.
07-21-2015 01:15 PM - edited 07-21-2015 01:17 PM
I did the changes suggested by u but still the Read fails and the EC also throws error.
I tried changing the no. of bytes read to 25,it was not throwing error but even then EC was giving error.
07-21-2015 03:15 PM
07-21-2015 03:27 PM
I used IDN only,N is not seen in snap i attached.
07-21-2015 03:35 PM
07-21-2015 03:37 PM
Yes,i knew it and i used *IDN? only.The snap shows*ID*(N?)are not shown.
07-21-2015 04:40 PM