07-20-2010 11:32 AM
Hi am doing a project on measurinf the forces applied on guitar..am new to labview..so have little idea about it...i want to input 6 channels using USB-6008 and i have to read data out simultaneuosly from all channels, for 30 sec , to preferebly a slide liek thermometer so that i can read out the data easily.....can some one help me out????plss....
07-20-2010 11:40 AM
Search for examples on analog input. Go to the Help menu and click on Find Examples. Then type Analog Input in the search field. You will get several VIs to look at. Then write your code and post it here when you have problems.
07-20-2010 12:40 PM
Surely the low cost 600x will not support simultaneously sampling on the analog inputs.
-AK2DM
07-20-2010 02:35 PM
@AnalogKid2DigitalMan wrote:
Surely the low cost 600x will not support simultaneously sampling on the analog inputs.
-AK2DM
No it doesn't. Plus, it's only capable of sampling at 10KHz aggregate so he's only going to get 1.667KHz on each channel if he multiplexes six channels. But, that may be enough for his application. If the application is intended to measure the frequency of each guitar string then the hardware is really not sufficient for the task.
07-20-2010 02:56 PM
The very first statement made by the OP is "Hi am doing a project on measurinf the forces applied on guitar". Whatever he means by "forces" on a guitar. I have 4 guitars and they are all subjected to lots of force, especially the Strat and the Les Paul. Can't play any Rush songs without using brute force, right AK2DM????
07-20-2010 03:03 PM
@tbob wrote:
The very first statement made by the OP is "Hi am doing a project on measurinf the forces applied on guitar". Whatever he means by "forces" on a guitar. I have 4 guitars and they are all subjected to lots of force, especially the Strat and the Les Paul. Can't play any Rush songs without using brute force, right AK2DM????
I don't think he's planning to go all Pete Towshend on it tbob. But just in case: http://www.thedailyguitar.com/100-smashable-guitars-from-japan They're even recyclable!
I'm assuming the OP is measuring the strings since he mentioned 6 analog inputs. If so, the USB-6008 is going to be inadequate for audio range measurements. Plus, you'll lose phase info since it's not a simultaneous sampler.
07-20-2010 03:48 PM
sorry if my question was too brief.....am using a yamaha guitar whose frets are replaced by strain gauges...so that i can measure the amount of force applied to each fret while playing guitar....the first 12 frets are modified....and am using the first 6 frets for my experiment..its a study on different styles of guitar playing and how the wrist to arm angle affects the guitar playing..how differentt will be the force applied in different positions...am not at all interested in the audio properties and am using sampling rate as 100 Hz...so the plwchart of my program will be getting data from 6 channels, clock for 30 sec wait ( am taking readings for 30 sec only ), there is a converter to convert voltage measured in to force and then read and wrtie...am from human biology back ground so have really no mch idea about the labview..am trying t understand from books and tutorials, but am finding very difficult...thats why am here...
07-20-2010 04:27 PM
It may also be of interest to monitor the force/strain applied to the neck itself, check to see if the truss rod is acrually doing its job. I think a mutilchannel DAQ would work well. I would look into something small and compact, such as a USB Compact DAQ platform with an NI-9205 or NI-9208 depending on the number of channels you want to monitor. NI periodically has discounts on these things, so I would look into that. You can wire the strain gauges to the AI channels, generate some DAQ code, and start shredding, Jimmy Page style!
07-20-2010 04:32 PM
Here is an example to get you started. I don' t normally do this, but I used DAQ Assistant to make it easier on you. You will have to double click on the DAQ Assistant and set it up according to your hardware. The VI will take a reading every 10mS (100Hz rate), plot the reading using a guage, and quit after 30 seconds. Then output arrays are formed with the data for each channel. You can modify as needed. The VI is in LV2009.
07-20-2010 04:42 PM
@chenda wrote:
sorry if my question was too brief.....am using a yamaha guitar whose frets are replaced by strain gauges...so that i can measure the amount of force applied to each fret while playing guitar....the first 12 frets are modified....and am using the first 6 frets for my experiment..its a study on different styles of guitar playing and how the wrist to arm angle affects the guitar playing..how differentt will be the force applied in different positions...am not at all interested in the audio properties and am using sampling rate as 100 Hz...so the plwchart of my program will be getting data from 6 channels, clock for 30 sec wait ( am taking readings for 30 sec only ), there is a converter to convert voltage measured in to force and then read and wrtie...am from human biology back ground so have really no mch idea about the labview..am trying t understand from books and tutorials, but am finding very difficult...thats why am here...
Sounds like an interesting application. Your USB-2008 is perfectly adequate for the "task at hand" (Ha). I would normally steer people away from the DAQ assistant but in this case I suggest you try it. It's a wizard that will set up your DAQ channels and parameters.
Open a new blank VI.
On the empty block diagram: right-click, choose Express > Input > DAQ Assist.
Select 6 AI channels from the list that should be there if your hardware is attached.
Set the parameters for each channel (which should be the same). (I suggest 'continuous' timimg mode for now)
Let LV build the VI.
right-click the 'data' output and select create > Graph Indicator.
Run the VI and check to see if you're seeing the force gauges respond.