04-04-2009 04:25 AM
Hello Sir,
I m working on interfacing devices using labview 5.1 version.
In that I've to get continuous data. I m using Micro Ohm Meter to measure resistance.
I've used read buffer as out put. In that it will show only one reading for 10 seconds..
Another problem is
My device showing 33.52 ohm resistor value..
but in my read buffer command shows 3352 without decimal point.
I know here some thing wrong with datatype, for my device port settings I've used avial number from serial port settings. In that it used
unsigned long integer type. I don't know how to use floating point to get readings as my device shows like 33.52.
If possible send me the PDF of user manual for labview 5.1 version.
thanking you
With regards
Shridhar
04-04-2009 08:22 AM
maybe you need the interface description of your device not the labview definition.
Are you sure that your device is sending a decimal point or that it simply needs a divide by 100 to get the correct reading in LabVIEW.
Some devices send data without decimal point for simplicity.
04-04-2009 03:23 PM
Sir,
I will use your idea only, if i change the value of resistor from 33.33 to 3.333 I've to devide by 1000.But its not good for me.Any way i got the solution for my decimal point.Thank You.
I will be in touch with you for my labview problems.
Thanking you
Shridhar
04-07-2009 01:59 PM
Sir One Problem,
How to save our Data to direct folder while on running the VI it must ask the path.Any solution for this problem Sir.
04-07-2009 02:11 PM
Provide the path. You will always get prompted for a path if you have a blank path wired to the file write functions.
You can use a front panel path control or a constant on the block diagram. You can even dynamically create the path. It all depends on what you want.
04-07-2009 02:20 PM
No Sir I've used for loop in my VI, I tried to give path name to save data in file.But its asking for each second data should be replaced in the same file,why this is happening sir.My task is to store data for 10 seconds means if i gave for each second it must take 10 readings in a same file.Which commands I have to use.
Reply me Sir
04-07-2009 02:39 PM
04-09-2009 03:16 AM
Sir,
I used open/write/close function to save my data.After 10 readings(10 seconds in my code) it will ask where to save.But if I tried to open later my PC showing this is not a VI try another one.
I don't know whether this problem is due to my device,first of all it is not sending decimal point. It is sending unsigned long integer type only so that I m missing decimal point in my out put.
Second problem is, saved file is not opening.
If You have any suggestion for this please post it.
Thanks with regards
Shridhar
04-09-2009 08:57 AM
It would be so much simpler if you had just posted your code.
So, doing some guessing, check the pos mode input of the write and make sure you don't have it set to start. That would overwrite the contents.
And what is the format of the file you are saving and what are you using to open it.
I don't understand at all your statement 'if I tried to open later my PC showing this is not a VI try another one'.
05-08-2009 07:54 AM
Respected Sir,
Now I m trying to interface keithley 617 electrometer using Labview and GPIB card. For that we have created code. Using this we want to measure continuous readings form 617.
We are getting reading from 617 meter. But we want to measure current for that we have connected 1 kilo ohm resistor to the device using BNC cable(According to Keithley manual) voltage range is -1 to 1 increment of the order of .1 means after -1 automatically labview must take -.9 next -.8 next -.7 till up to 1 after that it must stop collecting data.
I m going to attach my code. Please try to solve according to our need.
With regards
Shridhar