LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

analog output NI-6009

Hi,

 

I would like to generate an analog signal that goes from 0 to 3.5 volts and then reset using the DAQ NI-6009.

I can do it manually using a DBL (I put a number and NI-6009 send this signal), but I would need that my script wolud do it automatically because I use this signal  to feed a MOSFET(operates as a load variable). How can I do?
 
Thanks in advance

 

0 Kudos
Message 1 of 10
(4,117 Views)

Hi mgiraldez,

can you show what you have done so far? Where do you have problems?

 

Mike

0 Kudos
Message 2 of 10
(4,110 Views)


I can do it manually using a DBL (I put a number and NI-6009 send this signal),
 

 


u mean in the Measurement and automation Explorer or in the DAQ Assistant

would you please make things more clear in order to know at which point you are stuck into ?

Regards...

Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
0 Kudos
Message 3 of 10
(4,100 Views)

I want that in the output of my DAQ appears the same that "Referencia", but nowadays I can only send it manually, like in the script, and I must send it automatically.

I must send a signal that changes between 0-3.5 V automatically, not manually.

 

 

Thanks in advance

 

PS: There are some things that I put in the program and I don´t use, like the signal generator, because I don't know the way to create that signal (0-3.5V)

0 Kudos
Message 4 of 10
(4,093 Views)

Hi mgiraldez,

how do you need it? You can use a wait inside the loop, to set when you want to change the value and you can use an array for different output values.

 

Mike

0 Kudos
Message 5 of 10
(4,083 Views)

Thanks Mike,

I need to click the Run button and then obtain that signal in the output.

The equation Mosfet that is
y = -1,8212x3 + 19,325x2 - 65,771x + 72,037
 
So, "x" could be my Output.Can I use a MathScript to generate that signal or i can't use it?
 
I don't understand the use of the array, You mean using 35 values of 0.1 V for example? How can I put this 35 values one after another?
 
Best Regards
 
 
0 Kudos
Message 6 of 10
(4,077 Views)
NI has a tool called "NI analog waveform editor" Since you are a beginner you may find the tool useful. It cost money. But you can download a 30 days trail here https://lumen.ni.com/nicif/us/evalanlwavedtr/content.xhtml. But remember this is just a tool for making the waveform as consecutive numbers. You still have to do some programming


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 7 of 10
(4,072 Views)

Hi mgiraldez,

see the attached image please. It shows two solutions, but there are a lot more.

 

Hope it helps.

Mike

Message 8 of 10
(4,069 Views)

Thanks Mike and Coq,

 

I though a lot of ways but seems that the MathScript is the best way to create it. But I have the last problem, how can i reset the signal when it reachs 3.5V? I though in a boolean, but i don't know if this is the best way.

 

Thanks 

0 Kudos
Message 9 of 10
(4,054 Views)

I think your problem is that you need some basic Labview skills. We have all been beginners sometime so that is OK. You will find some links here http://wiki.lavag.org/LabVIEW_tutorial for Labview tutorials



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 10 of 10
(4,047 Views)