05-31-2021 08:22 AM
Bonjour/Hi, (english and french answers accpet!)
Je présente mon problème. Je suis entrain de refaire un banc de test gérer via labview. Le banc de test renvoie 5 signaux différents, 2 tensions correspondant à des déplacements, 2 tensions correspondant à des effort, et une tension mesurée. Le but est d'obtenir une courbe XY Effort/déplacement ou Effort/Tension. J'ai réussi à faire la face avant mais je bloque avec le paramétrage de l'assistant DAQ, en effet j'arrive à mettre les différentes entrées etc... Mais mon DAQ me fait acquérir les 5 tensions d'un coup, et j'aimerais pouvoir programmer le choix d'acquisition en fonction d'un bouton en face avant. Ya t'il une solution à mon problème ? Merci d'avance.
(in english)
I present my problem. I am redoing a test bench managed via labview. The test bench sends back 5 different signals, 2 voltages corresponding to displacements, 2 voltages corresponding to efforts, and a measured voltage. The goal is to obtain an XY curve Effort/displacement or Effort/Voltage. I succeeded in making the front panel but I block with the parameter setting of the DAQ assistant, indeed I manage to put the various inputs etc... But my DAQ makes me acquire the 5 voltages at once, and I would like to be able to program the choice of acquisition according to a button in front panel. Is there a solution to my problem? Thanks in advance.
Solved! Go to Solution.
05-31-2021 10:06 AM
05-31-2021 11:40 AM
Bonjour, Murphy.
Do you have some experience with LabVIEW? Have you taken a Class, spent time with Tutorials, and written a bunch of VIs? Have you ever worked with a LabVIEW Project (perhaps by opening LabVIEW and choosing "Create New Project" on the opening Splash Screen)?
If the answer(s) to the above is largely "No", then get a little experience with LabVIEW, especially the basic Functions on the Block Diagram. Then follow GerdW's excellent advice, but only after you look up (on the Web) "Learn 10 Functions in NI DAQmx and Handle 80% of your Data Acquisition Applications" (I think that's close to the correct title ...).
If you need more help or suggestions, you should attach your Project/VIs (the actual code, not Pictures, please).
Bob Schor
06-01-2021 12:31 AM
Ok thanks i will look at it soon, and if i don't succeed i will come back and ask more details.
06-08-2021 02:52 AM
Hi, so first thanks again for your help. Now i have succeed to acquire different signal with my labview program, but only in RSE configuration. Now i need to do it in a Differential mode but when i try to change parameters in my program, that doesn't work anymore. The problem is not the physical wiring on my USB 6008. I think it's come from the physical channel i use, but i don't know if in differential, i need to declare both channel for one signal(for example AI0/AI4 who are "link") or if it's something else. Important things you need to know, i need to acuire 2 signals in the same time and and separate them in order to apply coefficients on them.
I am attaching my labview program if you to check it. If you have any idea how can i save space on my program i am interested too. I can't send my whole project due to the limit of attachments allowed.
Thanks again
06-08-2021 02:58 AM
Hi Murphy,
@Murphy63 wrote:
I can't send my whole project due to the limit of attachments allowed.
General advice: when you want to attach more than two files you should put them into a ZIP archive!
That's just one upload for you and just one download for us…
06-08-2021 03:00 AM
sorry forget about .zip :')
06-08-2021 03:05 AM
Hi Murphy,
@Murphy63 wrote:
sorry forget about .zip :')
General advice: when you are asked to attach a ZIP file you should NOT attach a RAR file…
Background: ZIP files can be handled by Windows directly, but you need a proprietary software to handle RAR files!
06-08-2021 03:09 AM
There it is