02-23-2016 01:25 PM
Hi,
Firstly i must make clear that i am a complete novice with Labview.
For a current project i am trying to test a hall sensor which shall output a voltage, it will be in the form of a square wave. The frequency can vary from 50hz to 5000hz.
I simply require to analyse the waveform at various frequencies. Therefore a waveform graph and a counter for frequency would be nice.
I have been trying to build a vi from scratch but now my time is running out and i have decided it would be best to have a ready made solution on standby.
Does anyone have any ideas?
Barry
02-23-2016 01:33 PM - edited 02-23-2016 01:35 PM
@bazzac wrote:Hi,
Firstly i must make clear that i am a complete novice with Labview.
For a current project i am trying to test a hall sensor which shall output a voltage, it will be in the form of a square wave. The frequency can vary from 50hz to 5000hz.
I simply require to analyse the waveform at various frequencies. Therefore a waveform graph and a counter for frequency would be nice.
I have been trying to build a vi from scratch but now my time is running out and i have decided it would be best to have a ready made solution on standby.
Does anyone have any ideas?
Barry
Yep. Start sooner next time. 😄
Seriously, though. Are you willing to shell out some dough? People here don't work for free, you know. Put up some code and we're willing to help you find a solution, though.
edit:
There are some great tutorials listed on the right sidebar of the main forum page. That should help some. Don't be afraid to ask questions here! 🙂
02-24-2016 01:19 AM
In addition to the Tutorials as billko so aptly suggested:
You didn't say what hardware you are using (please do so in future posts - along with your code).
If your hardware is controllable by DAQmx, there are tools to make this easy.
Some useful resources:
1) Example Programs - from LabVIEW menu - Help ->Find Examples...
These are your "ready made solutions".
2) DAQ Assistant - From the Pallets - Measurement I/O -> NI-DAQmx-> DAQ Assist
DAQ Assistant will guide you through configuring your hardware.
Test panels allow you to graph your signals.
You can use the result as an Express vi or (better) convert the results into code (right click option).
steve
02-25-2016 12:17 PM - edited 02-25-2016 12:17 PM
ok, so the main difficulty i am having is related to the DAQ internal clock, i am having difficulty creating a "digitising parameters.ctl " to include in my digital oscilliscope express.
i am following John Essicks book "labview for scientists and engineers. but where i try to enter mathscript i am having errors which i have no way of interpreting properly, similarly my wiring has errors which i cannot fathom.
Other than this, the rest seems fine.
Any ideas or recomendations
Regards,
Barry
02-25-2016 03:03 PM
hardware is pci 6025E DAQ
02-26-2016 01:13 AM
Barry,
If you are wondering why people are not jumping in to help you, you might consider:
1) No code
Bill (Billko) Said: “Put up some code and we're willing to help you find a solution”
I requested “… along with your code”
2) Even if people happen to have the book you mention (most, like me don’t), what are they supposed to do?
Read the whole book and guess what part applies?
Based on these issues, people will move on to those they *can* help.
steve
02-26-2016 02:37 AM
Barry,
please note that the device you have is "very" old (>10 years). I don't know how old the book is you have, but i want to point out an important fact:
You can use the "Traditional DAQ" or the "DAQmx" to drive that device. I strongly recommend you to use DAQmx as trad. DAQ is not maintained anymore.
So if the book you use refers to trad. DAQ: DO NOT USE THAT CODE!
Norbert