05-26-2011 05:38 AM
Solved! Go to Solution.
05-26-2011 05:51 AM
Sorry was unable to attach in the last post.
05-26-2011 07:14 AM
Are you expecting to see data as the instrument performs the sweep? That's not how it works. It does the entire sweep first and then returns all of the results at once. The alternative is to skip the built in sweep function and provide each step value one by one as you take a single point measurement.
05-26-2011 09:39 AM
Thank you for your reply can you help me how can I do it, should I replace the third vi in the block diagram with a for loop. Please do help me, I am new to this..
05-26-2011 09:56 AM
Posting from my phone and I don't have LabVIEW but the basic idea is to find a function in the driver (or the command in the manual) to set the source and not use that configure sweep function. You could use the Ramp function to create an array of source values. This array gets passed to the 'set source' function inside a for loop. A single point read would also be inside the loop. The result would be wired to a chart.
This is going to be slower than using the built-in sweep function and you are going to have to write much of the code yourself. What is the problem with just letting the instrument perform the measurement that it is designed to do? You will get the same data when the sweep is complete and you really don't get any additional information by seeing the result point-by-point.
05-26-2011 10:19 AM
Thanks Dennis, I am new to Labview so I am not getting many parts of what you are saying, so whenever you come online on your pc please do help me with the programming. And I need real time data as during experiment I need to change things according to the changing data.
05-27-2011 08:55 AM
Here's a very basic example.
05-27-2011 12:01 PM
Thanks again Dennis for posting, but I was able to make a vi thats working but little complicated with help of your last description. Sorry was not able to post today.
Thanks a lot buddy..
The vi I made is this one, if you feel further improvements can be made, kindly comment.