PID control using USB-6009, need of simple video or example vi

I have a new usb-6009 and have tried all the videos on the NC

Web site for practice. However with the version 8.6.1 I can't use

the pid simple vi which is used on the video. (its too old 5 x v)

I just need a PID simple vi to 8.6.1.so that day, I saw many complexes of vi

for the demo of pid... I'm creating control tools... too to choose...

any help looking for a simple vi or video? - as the demo shown

the NI USB-6009 Web site...

Concerning

JJ

Well, I did a simple proportional control for box usb-6009

with a time inside the while loop... don't know if it's the

Gourmet addresses... my sub PID vi is very simple...

But it shows how to use labview and usb-6009 for case

a loop very simple return PID...

Concerning

J

Tags: NI Software

Similar Questions

  • Line of two-way digital for data asynchronous series using USB-6009?

    Hello

    I'm rather new to the LabVIEW environment, so I'm a little confused about this.

    I have a signal conditioner chip (MAX1452), which I am trying to communicate with via the digital line.

    The line is a bidirectional asynchronous, half-duplex serial.

    I am currently trying to put up with a USB6009, and basically what I try to do is to write digital data (1 start bit, 8 bits, 1 stop bit, no parity, TTL logic) the smart and read the answer back. Is it possible to reconfigure a digital port on the USB-6009 case between an input and an output?

    Or is there a better way for me to implement this?

    Thank you.

    Hi Gabriel,

    It is not possible to simultaneously have a digital line on a product OR be out and a digital input.  It is possible using the DAQmx controls, you can create a virtual channel that is a digital output, write data and disable the task.  After that, you can try to create a new virtual channel which is a digital input, read the data and disable the task.  However, the USB-6009 is a simple device, so it can not support this feature.

    Hope this help to get you started,

  • Measuring current using USB-6009 with a rheostat shunt resistance

    Hi all, I am an electronic engineering student doing my final year project. I am able to measure the current and voltage of a 9V battery, but not knowing the method that I use if it is correct.

    For the voltage, I have no problem getting it. But for the current, I connected a resistance of 1 k in parallel with the battery. When I run the program, I have a 9mA for battery. I understand when you use the DAQ assistant, for the installation of measuring current for USB-6009, that I need to specify as "external" shunt resistance and shunt resistance value (which is 1 k for the above experience).

    So, my question is when I use a rheostat as shunt resistance, what value should we indicate as a rheostat is a variable resistor, so it doesn't have a fixed value.

    Or the dimmer cannot be shunt resistance?

    Really need help and thank you for the reply.


  • IM using usb-6009 input signal acquisition

    IM acquirng a domain controller of the signal in the analog input (CSR), a volt of entry in 1.9 ports V is read on the (ai0) port of entry when I use a multimeter to read the value and at the same time I used an indicator to show the data read in the port of entry in my code, the led will turn to 2.5 sometimes 4V... If any body could help me this please answer me...

    I have another doubt too, I read a document in which they mentioned everything using the CSR that the positive end of the source must be connected to the analog input channel and the negative end to the ground in the acquisition of data... but its im using a dc signal I don't have how to connect and what to do...

    Hi Lisette,

    I Don t know what could happen. However, this could be a wiring problem.

    First of all, if you read this signal I'll recommend over the analog GND with your digital GND. You also this thread from the mass of the signal.

    Another thing, you might be able to do is to measure in differential mode, you can connect your 6009 NOR as the multimeter.

    Here's a tutorial that may be useful for you: http://zone.ni.com/devzone/cda/tut/p/id/3344

    Here are also a few KBs talks about what concerns you. Take a look to see if something, it might help.

    http://digital.NI.com/public.nsf/allkb/95CC0CB11D7DF3D18625712E000C4ABD

    http://digital.NI.com/public.nsf/allkb/C7C4AB4BD256EF0386257013001650E7?OpenDocument

    http://digital.NI.com/public.nsf/allkb/C7E181E51E4299FC862570A700604141

    Finally, don't forget to use the Op Amp in follower configuration to avoid damaging your 6009.

    I wish you success!

  • PID control using DAQ assistant

    Hi, I'm generating sine wave using acquirng and function generator cela DAQassitant in my computer using USB6211 DAQ and labview. I want to manipulate this singal granted using the labview PID command and use the result of PID to generate an analogue of singal feedback (similar to that of entry). But when I run the code, it gives me an error that the buffer size is less. How can I increase the buffer size so that I can generate the singal output continuously. I have attached the file .vi

    Thanks a ton.

    Krishna

    Hello Krishna,

    get rid of the DAQAssistents and use the plain DAQmx features!

    It is never a good idea to use the son of DDT in combination with points of constraint: what kind of data does it not provide your DAQAssistent and expect your PID?

  • Hi, im trying to do the event account using USB-6009...

    IM using a toggle switch as an input for PFI0, I have configured the DAQ with edge, fall of the parameters... whenever I give to toggle the switch, there is no increase in the value of count... someone help me with this...

    It is also a quick way to test that with using a switch, one of lines DI/O connect to the input of meter. Then turn on/off the line. It is just a validation test, but it's a classic 'demo' of the counter entry in several tutorials I've seen. But yes the switch scheme would be necessary to see what is happening.

    Alan

  • Mass flow controller of control using USB 3105 (calculation of the measure)

    Hi all

    I hope this helps!

  • How to use USB CAN 8473, code for the basic example

    Hi all.

    I use NEITHER USB-8473 CAN transmit and receive data via CAN.

    I have traveled a lot a lot of pages related to this and realized that the API will not work for USB - CAN. Can someone tell me please how to use this USB-8473.

    Maybe an exaple program would help me. (It is not PCI it we USB,)

    Thank you.

    You will need to install NI-CAN, if you don't have already done.  This is the API that you can use with a 8473.  After installing, open Explorer Measurement & Automation and make sure that you can see the 8473 under your devices.

    Here is a sample VI (LabVIEW 2009) that I wrote for another developer to make the CAN communication basic tests.  You enter a package CAN as a series of hexadecimal bytes separated by spaces, and it will send it to you.  It displays every CAN packet it receives in the same format.

  • OR USB-6009 can produce the constant current source/sink?

    Hi all

    I have a card NI USB DAQ to 6009. I need a battery for constant (charge/discharge current<1mA) and="" simultaneously="" monitor="" its="">

    I was wondering if I can use USB-6009 of output constant source/sink of charge/discharge current the battery? I've seen a few threads that says 6009 impossible to output constant son of currents, but other says we can use the digital output to provide the current, but it was not only described how.

    Thank you.

    All the outputs of the USB-6009 case are sources of tension and all have current limits low. There is no way to generate outputs current controlled directly from this device.

    What I would do (and have done) is to build circuits of external current source/sink with an op amp or a transistor and allows you to enable or disable a digital output of the USB-6009. If the current must be adjustable, use an op amp circuit that takes an input of the analog output of the USB-6009 voltage to set the current.  Use an analog input channel to monitor the battery voltage.

    Lynn

  • Problem of analog sinusoidal input USB-6009

    Hello

    I am a newbie to Labview. I'm using Labview 2009 and USB-6009. I tried to use USB-6009 to display the input sinewave of function generator signal. First of all, the perfect sinusoidal looking at the frequency of 1 kHz, but when I changed the frequency of 10 kHz, the sinusoid turned into a triangle wave. When I test the input signal, I put the 48 kHz sampling and Terminal configuration is CSR. Is there a problem with USB-6009?

    You really need to spend some time to study sampling and Nyquist theorem-not LabVIEW. To faithfully reproduce the shape of the sine wave, you must go to a sampling rate 10 times higher than your input frequency. With the 6009, i.e. limit the entry less than 5 kHz.

  • measurement of current with usb-6009

    Hi, my name is hung and I am a student in electrical engineering... I'm doing a thesis that the project using Labview and acquisition of data NOR UBS-6009 to simulate the function generator, Oscilloscope, Digital Microsoft (DMM)... and now I'm simulating DMM. I managed to measure the voltage and resistance which i use voltage divider method, but I encountered a problem with the current measurement. The problem is the USB-6009 to measure use the current, it measures an incorrect value. I tried to use the current CQI 0-20mA Sample.vi example but it always measures an incorrect value. If NI USB-6009 supports for the measuring current? Is there a way to measure the currents using USB-6009? Please, help me. This thesis project is so important for me. Thank you.

    Hung,

    Since you are a student in electrical engineering, I'll show you how to know the answers to your questions.

    1. review the specifications for the USB-6009 case.  In particular look at the specifications of analog input.

    2. How would you measure current if you had only a voltmeter?  Use the same method with the USB-6009 case.  (Tip: apply the Ohm's law).

    General comment: when using any measuring instrument, always consider maximum permitted values at the entrances so that the instrument is not damaged

    and the measure is accurate.

    Let us know how you do.

    Lynn

  • Can I synchronize and AI on USB-6009 with meter?

    Hi all

    I use USB-6009, LV 8.5 under windows XP. I want to generate signals synchronized with Amnesty International. I know that I can not use the sample as DO clock clock. But can I use the card counter to synchronize and AI? And can someone give some similar examples? Thank you!

    Best wishes

    Bo

    The unit will display whenever you call writing DAQmx. It is more complicated than that. And synchronization is practically based on the flow of data and when you want to generate the digital output from the analog input.

  • Question of the digital input USB-6009

    Hello

    I use USB-6009. I have problem in Input.I digital did not connect anything on all channels. But all of the DI/O channels generate 5 volts. And I tested the DI/operating system in the Test Panel also. All digital inputs are high. How I use it? Please suggest me the solution.

    You're the one who said it was generating 5V. And I said that a fine should be detected as a logic one. Connect a gnd input.

    When it starts, all of the default value of I/O at the entrances.

  • Pull-up external USB-6009. digital output (open collector) allows onboard external + 2.5 V output?

    Pull-up external USB-6009. digital output (open collector) allows onboard external + 2.5 V output?

    Hello

    I want to config output digital USB-6009 to + 2.5 V above and 0 V digital output low. I know I can config USB-6009 digital output open collector with resistance to pull-up external, that can be applied with + 2.5 V power source.

    My question is: can I use USB-6009 Board + 2.5 V output as the current source of resistance to pull-up? What resistance is a good number for the resistance to pull-up, if I can use this configuration?

    Thank you much for the help.

    Cathy

    Hi Cathy,.

    The digital USB 6008 front-end server looks like this:

    So, there is actually an internal pullup to 5V 4.7 kOhm resistance when the device is configured to open collector.

    If you want to display 0 to 2.5 V, I would look in a resistance of polarization of 4.7 kOhm between c and ground (according to the rest of your tour).

    Best regards

  • How to open and close an electronic shutter with LabView 8.5.1 using an NI USB-6009 case?

    Also, I need to set up a timer so that the shutter is open for 15 minutes and closed for 30 minutes.  It has to do 500 times.

    The USB-6009 case is a relatively new device, and LabVIEW 8.5.1 is a fairly old software. You should check to be sure that you have the corresponding to your version of LabVIEW (DAQmx) drivers that support of this material. It sounds as if you put it in place to MAX and control the output manually, which is a good sign. I don't have access to the version 8.5.1 and I do not exactly remember which functions he supported, but the attached picture shows a simple diagram in a new version of LabVIEW that would do what you want. Of course, you should test with shorter and less iterations because it takes more than 2 weeks to complete! Add any controls, indicators and the error checking you want.

    Rich

Maybe you are looking for

  • # Error codec of airtime!

    Recently, I got an HDMI cable that connects my iPhone 6 to my television through charger port. I have Visual but audio is completely screwed up sounds stuttery and nervous and boring. It also displays a message at the bottom of the screen saying "err

  • How can I stop autologin for email

    When I click on send, it is automatically connected and I don't want to.

  • How can I recover password that have been deleted.

    For weeks, I can't recover my accidentally deleted passwords. I'm locked Windows Live homail a facebook. I've lost everything. I want to to close Outlook because it does not either. I ran malware and adware from MS. Computer is clean now. Have Kasper

  • Strange game Lag

    Hi, I have problems with strange lag in games on my doalboot machine. I have Windows 7 Ultimate 64-bit and Windows XP 32-bit professional from my OS 2 - nd. Now, some recent games work better that old games on Win7.For Examle COD 4 MW is more offset

  • Lightroom opens not more

    Lightroom CC 2015 worked very well. All of a sudden I can no longer open it and receive the following information:Problemsignatur:Problemereignisname: APPCRASHAnwendungsname: lightroom.exeAnwendungsversion: 6.0.0.10Anwendungszeitstempel: 5523190cFehl