06-02-2014 07:24 AM - edited 06-02-2014 07:44 AM
Hy folks,
I need a bit help from anyone, Firstly I am new to Labview and I have to logg the data using keithley 2000, I dont have any connection problem, I am able to run NI "Read single" and "Read Multiple" vi's sucessfully. Now the Problem I have is the sampling rate, which I need to be an input between 1-10 samples per second, I have attached the VI which I created to record I no where get the expected output Its always timeout error. I have one more VI in which everything is inside while which I use to Logg now that works but it gives one reading every 1 second or more. Kindly help
Settings I am using is: RS232, serial to usb adapter, Baud rate 19200
Thanks in advance
regards
Kunal
06-06-2014 04:40 AM - edited 06-06-2014 04:41 AM
Hi Kunal,
which driver are you using for your data logger? Can you attach it in your post or provide a link otherwise the VI is not working.
Regards
Branni
06-06-2014 06:40 AM
How much data are you trying to collect? Over what period of time are you collecting this data?
06-06-2014 06:55 AM
Hy Branni, I am using the one downloaded from NI website the Plug and play IVI I think... I have attached the zip file
06-06-2014 06:56 AM
Hello Crossrulz, I need to collect for minimum 5-10 minutes and If possible sometimes till 30 minutes but sample rate must be minimum 10 Samples/Second. Looking forward for any help. Thankyou
06-06-2014 07:20 AM - edited 06-06-2014 07:21 AM
I cleaned up your VI some. One of the biggest things I saw was that you were closing the driver inside of your loop. You shouldn't close until after you are done with it. So I moved it to after your loop. Also made your formatting of the data a lot simpler.
Reading a DMM measurement and saving it to disk in 100ms seems like it will be a slight stretch. We may have to go to a Producer/Consumer setup to move the file writing into another loop so that the acquiring of data is (somewhat) consistant.