07-14-2010 07:38 AM
hi....iam acquiring data using usb 6008...the thing is i dont hv to store all the acquired data...but i hv to start the storing only when it reaches a certain voltage...can ne one tell me how to do it
Shinjita
07-14-2010 07:45 AM
Do you only need to store data above the threshold, or record all data once the threshold is crossed?
07-14-2010 08:02 AM
start recording after the particular threshold
07-14-2010 09:40 AM
A state machine with producer consumer arcetecture would be how I would begin. Look at the examples to see how each system operates and come back for help.
07-14-2010 10:10 AM
I'm not clear which part of the task you are having trouble with. If it is the data acquisition part, have you looked at the examples that ship with LV?
07-16-2010 03:22 PM
can any one suggest how to build a comparator usin labview...i mean from where can i get an opamp
07-16-2010 03:29 PM
Op amps are electriconic devices. In LabVIEW, the comparison functions are on the (surprise!) Comparison palette. Look and you will find such things as Greater Than, Less Than, Equal, etc.
I would recomend the basic LabVIEW tutorials.
07-16-2010 03:36 PM
@shinjita wrote:
hi....iam acquiring data using usb 6008...the thing is i dont hv to store all the acquired data...but i hv to start the storing only when it reaches a certain voltage...can ne one tell me how to do it
Shinjita
Please don't use texting shortcuts here. Spell out the words. It doesn't take much effort to type have instead of hv, and any instead of ne. Shorthand is hard to read and slows down the process of reading and replying.
For your problem, use a While loop to capture the data. Wire the output of your comparison to a case structure. Put code to store the data in the appropriate case (True or False). Put a small delay, Wait(ms), in the loop to avoid chewing up 100% CPU time.
07-16-2010 04:38 PM
yes i know there are greater than and less than functions but they return the value in boolean whereas i need it in voltage or the input that iam giving
07-16-2010 04:40 PM
i need to have the input value since i need to do further analysis on it