04-01-2010 11:42 AM
Hello
I communicate with FRA(Solartron 1250). When I am reading from FRA using VISA READ palette,at the starting time for example sweep from 0.1Hz to 1KHz, showing data loss like 0.1 then 0.0 next is 0.125 then again 0.0 next is 0.158 next is 0.0 after getting 0.2 or 0.3 it is giving continuous data upto 1KHz. And also some times the while loop is not stopping.
I programmed it as an automatic stop - it taking the 1KHz data and comparing with the given data(numeric DBL value) and it stops. It holds long time.
why the data loss happens, is it due to the timing interval? One time I tried with delay, wait palette with 1.5S it is not corrected. Please give me a solution for the issue.
Thank you
04-02-2010 11:39 AM
Hello
As I noticed that whenever ask questions about FRA solartron or pickering nobody will respond.
Why it is happening that I don't know?
04-03-2010 11:16 AM
I for one, do not understand your question. What exactly do you mean by 'data loss'?
Why don't you attach your code so someone can better understand what you are doing and please provide some details.
04-07-2010 05:00 AM - edited 04-07-2010 05:04 AM
04-07-2010 09:30 AM
It would seem that occasionally, you are getting a scan error and that is resulting in the all zeroes. You are clearing the error after the scan so this is obviously something you have seen. Instead of blindly clearing the error, you need to determine why the error is happening and fix it. You are doing the same thing after the VISA Read. Since you decided to not attach the text file with the raw data, I cannot determine the cause. I can say that doing a VISA Read in a loop is very, very unusual. The vase majority of GPIB instruments will not continuously send data. You actually have to write a query and then do a read. The instrument is non-standard and I'm not sure how much anyone can help without having the actual instrument.
If you want some more help, remove the clear error function and capture the input string when an error does occur.
04-07-2010 12:38 PM
hello Dennis
i will try this solution. actually i put the clear message palette on this is the VISA READ showing some timout message. this one already i disussed with you in earlier messages. And also scan from string also showing some error message(i forgot now)
whatever i will try without this clear message and get back to you on this.
thank you for response and solutions.
04-08-2010 12:53 PM
hello dennis
I tried without clear error message. But the timeout problem exists. due to that problem the run always in error. the above problems are exists. and one more thing, in the graph i used shift registers as per discussion from this forum the stored graph is not going blank when the next run starts. how to change this.
Please help me
04-08-2010 12:59 PM
04-09-2010 11:44 PM
hai
1. Timed out problem solved by changing the byte count from 1000 to 39. Actually data output of FRA was 39 bytes only.
Now it is showing OK with some error code. (I forgot to take the code from office).
2. what about shift registers? the shifted data is not clearing the next run
thank you
04-10-2010 09:14 AM