08-24-2009 09:48 PM
Please find attahed the vi where the string is converted to number.I hop ethis works I am not too sure..try it out and use the indexed array of nos and wire it to a chart.
Also Even though i have the agilent driver I am not able to open the vis in the file you have uplaoded. Can you please give me the links from where you downloaded the driver and which exact version are you using?Are you using serial communication?
08-25-2009 01:45 AM
hi thanks....i will try this tomorrow when i go back to my office..... im using labview 8.6....i requested for an evaluation software form NI... dey have provided the device drivers cd too,.....when i open the 'find instrument drivers' it automatically downloads the necessary drivers for the specified instrument...i will send u the link tomorrow....
thnks once again...i will get back to u once i tried the vi which u have provided!
08-25-2009 01:47 AM
08-25-2009 02:26 AM
Hi
Thanks for the info. I mangaed to get the drivers and my pgm too is working fine.
The main problem with the drivers is WE SHOULD NOT RESET !!!!!.
i dont know why...
anyways I am also stuck up now in extracting the data into numerics and time stamp.
I tried the pgm which i sent you but it works only for the integral part of the data the decimal is lost...So i think some thing needs to be modified to extract the whole data...i did search in the forum reg string to number..in ni forum ..but there are reference only to different codes to convert string to codes..I am stil exploring for the best option..
Any ideas to extract the whole data into number is welcome.
Also How did you extract the time stamp?
08-25-2009 09:21 AM
Any means using std vis to convert to number?
also any insight onto why "choosing reset" causes error?
08-25-2009 11:02 AM
siva0182 wrote:Any means using std vis to convert to number?
also any insight onto why "choosing reset" causes error?
I'm assuming "choose reset" sends an reset command to the equipment, causing it to be unavailable while it is resetting (I believe it's called a "Pre-set" in HP/Agilent-speak). That would cause an error when you tried to read from it right after. Ugh, this is all so difficult with RS-232. At least GPIB is smart enough to wait for the instrument to come ready. You also wouldn't have to insert delays in your code because the VI would just sit and wait for something to show up in the buffer. Of course, both of those scenarios depend on your VISA timeout being longer than it takes for your instrument to send something to the buffer!
Bill
08-25-2009 11:43 AM
------------------------------------------------------------------------------------------------------------------------------------
Hi
Thanks for the info. I mangaed to get the drivers and my pgm too is working fine.
The main problem with the drivers is WE SHOULD NOT RESET !!!!!.
i dont know why...
anyways I am also stuck up now in extracting the data into numerics and time stamp.
I tried the pgm which i sent you but it works only for the integral part of the data the decimal is lost...So i think some thing needs to be modified to extract the whole data...i did search in the forum reg string to number..in ni forum ..but there are reference only to different codes to convert string to codes..I am stil exploring for the best option..
Any ideas to extract the whole data into number is welcome.
Also How did you extract the time stamp?
---------------------------------------------------------------------------------------------------------------------------------------
Hi...
i set up the time in the instrument also i gave an option in the scan field (boolean) for absolute and realtive time.... hmmm.... i seriously do not know how to do all this stuff..... i juz started using LABVIEW 4 days before...but i have been assigned this work...so i need to finish and learn as well 🙂
i will try the vi which u sent me..
thnks
08-25-2009 12:22 PM
Hi siva....
i was to able to get the decimal part too.......instead of using decimal string to number .....use frat/exp to number...simple..we will get the value of current with decimal places...i am attaching the vi here.....
so..now my question is... are these values of current enough to create a waveform chart?? the readings array is a 2d array but has only the values of the current...so using this can i create a chart??
thnks
08-25-2009 12:25 PM
08-25-2009 12:43 PM