Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add decimal point in out put data

Well, the first thing you will have to do is place your code in a loop. I would recomend using a shift register to hold the voltage value and with each iteration of the loop, increment the voltage by the step you want. Terminate the loop when your limit is reached.

 

This is a very basic programming task in LabVIEW or any other language. Try to write something based on my description and see how far you get.

0 Kudos
Message 11 of 43
(2,929 Views)

Thank You Sir,

 

I will try according to your suggestion, But I thought we have to give command to our device in labview, through that it can directly give desired readings with increment. In this I don't know what command I've to give for an increment.

 

Regards

Shridhar

0 Kudos
Message 12 of 43
(2,928 Views)
There very well could be a command to sweep througn a series of voltages and take a measurement. That would be in the manual for the instrument. You would need to read that, find out what the command is, and write the code. I don't have the instrument or the manual and I am not going to try to hunt it down. My solution will work just find if there is not a built-in sweep command.
0 Kudos
Message 13 of 43
(2,925 Views)

Ok Sir,

 

I already read that manual no command for increment. I will contact to keithley meters by the time I will try your suggestion.

 

Regards

Shridhar

0 Kudos
Message 14 of 43
(2,919 Views)
I just looked at your VI a little closer. If the increment and final voltage do not initiate a sweep, then what is the purpose of the commands? maybe your are not requesting the correct measurement type? 
0 Kudos
Message 15 of 43
(2,908 Views)

Sir,

 

For device we have to give command, using that command device will starts to interact directly by command with computer.But we have to give initial value and final value, next we have to mention of what order should be the increment.

 

Use of command is, device will directly interact with our PC for the order of increment, if we want .1 increment it must take .1 as the difference between each reading. If we want .5 as increment then each step must be .5 difference only. Device must ask and  give those readings only..

 

I will try to use labview commands only, incase if it becomes complicate then I will go for device command, for simple code.

 

0 Kudos
Message 16 of 43
(2,896 Views)
Sorry, that makes no sense to me. You say that the instrument has no method to perform a sweep yet your code appears to try to do that. On closer inspection, you also appear to be sending garbage with the increment and final voltage controls. You are not using a format string to create an actual command. You just can't go around making stuff up. If the instrument does not support a sweep command, you can't use the instrument itself and you simple cannot 'go for device command'. As I already said, you need to read the manual to see what the instrument is capable of.
0 Kudos
Message 17 of 43
(2,889 Views)

Ok Sir,

 

You only try to solve my problem, I will also try here.But I m not so much familiar with Labview.I will say what are my need.

 

{Otherwise you send me some important links from that I should learn more about labview,difficult  job this one as beginners with complicated device.}

 

My work is to interface the 617 device for measurements of current or voltage or resistance in our lab.617 device will work within 10 mA.So anyone can use this device for measurements in our lab but they don't know the conditions, So if the device facing more than 10mA then it must automatically go for Zero Check mode(stand by)Some one wants to measure current from  -1v to 1v (we have connected 1 kilo-ohm resistor to device according to device manual) with the increment of .1 or .2.

 

If some one wants to measure current from -5v to 5v increment is .1 or .2 or .5 etc.

So here resistance is fixed voltage is variable by user.increment is also variable by user.Like this we have to change our code.If possible try to do this one sir, otherwise I'v to spend lots of time on this.

 

Afterwards we have to collect continuous data from our device.for that I will discuss later.Now I need solution for this.

 

I will wait for your solution.

 

With hope and regards

 

Shridhar

0 Kudos
Message 18 of 43
(2,886 Views)

Yes, and I have given you the starting point for you to write the solution in LabVIEW.

 

My last couple of questions have been in reference to your understanding of how the instrument (and not LabVIEW) works. You have made several conflicting statements regarding the instrument's abilities to perform a sweep from commands that are sent to it.

0 Kudos
Message 19 of 43
(2,884 Views)

Ok Sir,

 

Then I will try to do myself, If i face any problem in Labview then i will contact you.

 

I read the manual of instrument in that there is no command for increment.So I've to use shift register only.

 

With regards

Shridhar

0 Kudos
Message 20 of 43
(2,866 Views)