6008 OR using Labview 8.6 variable output voltage

Hey guys,.

So my goal is to create an output voltage of my USB 6008 OR which can be set from 1 - 5V in Labview. (This output goes to a mass flow controller that varies its pressure based on an entry 1 - 5V) I'm using Labview 8.6 and far I used the DAQ to create analog output of fishing, but I can't figure out how to get a right voltage DC output. Is this possible? Also to measure the output so I connect the cable on the + and - or the + and gnd? Please help me!

The tension of desire is just a digital control.

You should probably just stop and take one of the free tutorials. A digital control is a very basic concept.

Tags: NI Hardware

Similar Questions

  • Do another counter for usb-6008 VI using Labview 8.5

    I want to create another counter for usb-6008 using Labview 8.5, it is necessary to calculate the two gears simultaneously.

    The best way to proceed is to use the meter.  The counter counts
    signals without having to interrupt the system or use the USB bus.
    When you ask the number of ticks that saw the meter, one
    request is thrown from the CPU to the USB line to the 6008, which then
    request counter "ticks how have you seen?  This number is
    returned on the USB bus, goes to the CPU and display on your
    screen.  Given that the DIO lines on the 6008 are software timed, it is
    no way to guarantee that the data back to the central unit is
    deterministic.  The conceptual difference between software-controlled
    DIO (that nondeterministically returns an entire stream) and a
    meter software-tick-application-controlled (which returns a unique number
    with the number of ticks) prevents us from using the DIO lines on the
    6008. the best way to count more edges is buying more 6008 s.
    Another possibility would be to buy a PCI card to counter such as
    the PCI-6602, who owns 8 counters. Most of the counters we offer in the
    USB form factor is 2 per device.

  • What equipment I need another for the purposes of the on/off switch, adapt output voltage/current using labview program

    This is my first time to use labview, I want to use the program to control the DC power for the start/stop it or set the output to program automatically.

    Now I had the (supply) instrument, got a computer with labview. I know that I have to buy a GPIB cable, making a connection between the instrument and the computer. But I do not know what to buy? Cable GPIB or GPIB controller. Confused.

    Thank you

    A GPIB cable, by itself, will do nothing. You need a GPIB controller connected to your pc. With the NI USB-GPIB-HS controller, you can connect directly to a single instrument and no need for a separate cable. If you go with an internal controller to a pc (i.e. PCIe), you need a cable to connect the controller to the instrument.

    You can also check if the power supply has other options such as Ethernet or USB remote control.

  • help the guitar hero automated using labview

    Hi, Im working on my final project for a class e and Im making a guitar hero automated using labVIEW and vision builder. I already have all the buttons and the strum bar, but I need help with the whammy bar. My problem is that it should only work on the notes which take more time with a single click, I think I should add some time delay (or something like that) so if the camera sees the note more times the amount of time its will send a signal to the solenoid to continue to press the whammy in intermittent form bar (I think I need a square to wave this) part).

    I'd really appreciate if someone can help me or show me an example implementation of the part.

    Here is a video of a similar project without the whammy bar

    Edit: Im using a NOR-cDAQ 9472 module for output on a digital OR cDAQ 9171 chasis USB

    Thank you

    Javier Morales

    Dear Javier,

    It sounds like a cool project work.

    Why not try wiring of the output of the shared in a shift register variable to retain the previous values and compare the old with the new value using a door and.  You can connect to a wait function in your loop and wire abour 100ms, normal human reaction time, while is the button held for two cycles this triggers your whammy bar.

    I hope this helps.

    Kind regards

  • is it possible in LABVIEW to create an output EXE as VC ++

    Ghislain IAM. new to LABVIEW IAM.

    I have 1 + years of experience in VC ++ 6.0.

    Is it possible in LABVIEW to create an output EXE as VC ++.

    If it please suggest me how to create...

    I don't know what a "release mode" exe's, but to create an exe of a VI:

    If you have LabVIEW 7.1 or earlier:

    Go to tools > build executable

    Use the wizard to create the executable file or the installer.

    If you have LabVIEW 8.2 (I think) or later:

    You must have the VI and all of the Subvi in one project.

    From there on, you build a dll.

    Just search for 'build executable' in the forums, you should get dozens of hits.

  • Time real ADC/DAC for SMPS by using Labview and USB

    Hi all

    I asked the Sales Department of this same question, so here's a two-pronged approach:

    I am reserching a control algorithm for power switching, and so far, its performance simulations seem to be good.  Now, the goal is to implement the circuit from the experimental data.

    I've seen several NI USB DAQ boxes that seem to have the performance, I'm looking for (for example, the box USB-6211 a sampling rate and resolution I need).

    The control algorithm uses the following mathematical functions: add/sub/mult/div/exhibitor and derivative/integral.

    My question is this: is "strong enough" Labview take four-channel data 250Ksps, crunches the numbers in an equation and spits out the answer to an analogue on the channel, while time REAL?  I'm looking for a rate of analog output of ~ 100 kHz.

    Thank you for any suggestions you have!

    -Rick

    Hey,.

    So if you were trying just to perform an input or output, then the box USB-6211 would certainly be able to treat it as the machine clock could manage the inputs/outputs, no software. However, what you are wanting to do, basically a feedback system, he will have to avoid (at least to a USB device) because you need to be able to specify Active which is the output. So, for this reason alone and the fact that you want out of 100 kHz, this device and the USB devices in general will be not an option any what software you use, LabVIEW or otherwise. On another note, you want to make sounds more like live update, not in real time, which is more on the jitter. Bottom line, for these kinds of requirements, you might need to move to an FPGA card, something like the NI PCIe-7841R would work. It's more expensive, but for your needs, FPGA will be the only option and it comes down to the latency of the bus, but also the response time of software. With FPGA, as shown in the first scheme of the following document, you basically close your software through hardware loop.

    Basics of FPGA

    http://www.NI.com/white-paper/6983/en

    -Ryan S.

  • Deal with failure when using LabVIEW 2011 and DSC MODBUS communication

    I'm currently reading from operating records a PLC with MODBUS/TCP. I confirmed that the PLC will update the values and in response to a MODBUS communication correctly by using a third-party program called Modbus Poll. However, when I try to query the PLC using the LabVIEW shared variable engine, I am unable to read the values of the same addresses that I consult with Modbus Poll.

    My installation is simply to a PC directly connected to the controller via Ethernet without a router between the two. I'm using LabVIEW 2011 SP1 with the DSC module.

    I opened the Manager of distributed systems OR to display the State of all variables in the Modbus Library that I created, and I noticed that the ILO CommFail permanently the value 'true '. All other variables with a 'read' access mode signal "failure of process". I tried to restart the process and stop and start the local variable engine without success. I also restarted my computer several times to see if any services did not exist, but this does not appear to have solved the problem.

    Finally, I resorted to listening to communications on the network card I have the PLC connected via Ethernet using Wireshark and found that while Modbus Poll communicates with PLC, number of MODBUS and TCP packet is sent and received. However, when using only LabVIEW or the DSM OR communicate with the controller, there don't seem to be any communication on the network card.

    Something that may be interesting to note is that I could communicate with the PLC and to read values with the DSM just once, when I understood everything first what address I should be reading of. All of this has stopped working shortly after. Prior to this, 'CommFail' was not generally set to 'true' with my current setup. Thinking it was my firewall, I have since disabled my firewall, but this seems to have had no effect on the problem either.

    Any help on this would be appreciated.

    So, I thought about it. It turns out that the IP address of the server i/o MODBUS must be set to the address of the MODBUS slave, not the local computer. The address of the i/o MODBUS server is defined by the navigation in the Explorer window projects, expanding the variable engine shared library for MODBUS and right click on the server MODBUS (for example Modbus1) item and select Properties.

    In addition, the addresses seem to be shifted by + 1.

    Thanks for the tip so.

  • Go to the PHP website using Labview 8

    Hi people,

    I'm writing a vi LV8 to retrieve data from a Web site. The first site I've played with just had a text output so a simple:

    -OpenTCPConnection (for 'www.hpc.ncep.noaa.gov')

    -WriteTCP:

    -line 1: 'GET heat_index_MEAN/hitable_east.txt '.

    -line 2: "" Host: www.hpc.ncep.noaa.gov".

    -line 3:

    -ReadTCP

    It worked perfectly fine.

    But this isn't really the data I want. I want the data displayed on the Web site:

    http://forecast.weather.gov/MapClick.php?W0=t&W1=TD&W2=Hi&w3=sfcwind&w3u=1&W4=sky&W5=pop&W6=RH&W7=th... 96 & textField2 =-77.48167 & site = all & unit = 0 & dd = 0 & bw = 0

    But, when I try the same calls I get the error messages like:

    Query HTTP/1.0 400 Bad server: AkamaiGHost Mime-Version: 1.0 Content-Type: text/html Content-Length: 216 Expires: Sunday 12 August 2012 17:40:25 GMT Date: Sunday 12 August 2012 17:40:25 GMT connection: closeBad request

    Bad request

    Your browser has requested that this server could not understand.

    Reference #7.9f931160.1344793225.0

    I don't know enough about HTML or PHP to tell if I have a HTML or PHP problem; and what I have to understand to move forward. More precisely:

    -can you tell if it is a PHP or HTML problem in my code?

    -If Yes, which?

    -I can access a Web site (which uses PHP) LabVIEW?

    -what I have to learn more about PHP to proceed?

    -J' tried to send a command "OPTIONS" of HTML, but I received very similar eror messages (not a quesstion)

    -the site has an XML option that displays data as text/XML, but it also seems to use PHP, if I get the same errors with my code (not an issue)

    -any ideas on how to use labview to read data from this site?

    Thank you, in advance...


  • This module requires a Lynxmotion AL5A robotic using LabVIEW arm control

    Hello world

    I'm a little confused about what NI LabVIEW toolkits to be used in order for me to program the arm Lynxmotion robotic. Somebody has arms lynxmotion robot programming experience using labview? What should be awared by selecting the correct tool boxes. Do I need to have the tools of design and simulation of control? What about embedded design modules? Please help me.

    Thank you

    Hi DK,.

    The Module digital output NI9474 high-speed Sourcing should be more than enough.

    In fact, we have a demo of work available by using the AL5D and NI CompactRIO. The concept should always be the same property.

    Best regards

    The Ilana Joshua

    Technical sales engineer

    NEITHER ASEAN

  • NEITHER CVS using Labview Linux?

    Hi, I have a CVS here, as well as 1455 development under labview linux machine. I've used MAX to set up this CVS, but it seems that my labview is not MAX, and I can see on the site it seems to be available for Linux. Could someone point me in the right direction to set up/use my CVS using labview linux (I've got installed 8.5).

    You need to write code CVS to turn an image into a table of number using IMAQ ImageToArray.

    Then, use the shared variable or TCP/IP to return data to the host VI.

    However, there are two things to remember:

    1. an image won't be like in real-time, as show on VI target itself.

    2. because the Vision Development Module does not support on Linux, all the processing of the image on Linux must develop in yourself.

  • How can I connect from a PC to another PC using LabVIEW

    New IAM for LabVIEW and need help. How can I connect from a PC to another PC using LabVIEW. IE how to connect to the IP of the PC, another address using LabVIEW. Thanking you.

    There are a few methods of network communications in LabVIEW.

    Some of them, in no particular order:

    -Network shared Variables

    -Flow network

    -Screw HTTP and Web Services client

    -TCP

    -UDP

    (There are also libraries of pre-written e-mail based on UDP/TCP)

    Which the decision to go for depends on many factors (e.g. should you read the last value of variables, flow without any loss of data, data dissemination or send messages/packets of data, etc.). I suggest take you a look at some examples in the finder of the example (help-> find examples...). If you are really new to LabVIEW, I suggest you take some free LabVIEW tutorials - take a look at the links at the bottom of the first post in this thread.

  • How to transfer files from PC to PC via a serial port using labview

    I need to transfer files (.txt, .doc, .xls) from PC to PC via a serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?

    Yes, it is possible to transfer files with the serial port using LabVIEW.  The files are just collections of bytes and the serial port is good enough in the expedition of the bytes from one PC to another.  You must connect the ports series with a null modem cable.

    First, take a look at the example of serial communication.   In LabVIEW, go to the Help menu and select «Find examples...» ».  From there, you can search for "serial" or navigate to hardware input and output > series.  Select «Write series base» and Read.vi  Try this example to gain confidence on the serial communication methods.

    Then it's time to learn how to read and write files.  For this, the examples might be somewhat confusing as they deal with files that are presumed to have data of a specific type in them.  I would recommend just familiarize yourself with the functions in the file e/s palette.  Specifically, familiarize yourself with the following functions.

    1. Open/create/replace file - on the side of your destination, you will need to create the copy of the file you are trying to transfer
    2. Close the file - when you're done reading or writing to a file, you must close it.  It cleans the memory used and finalizes write operations that are still floating in the write buffer.
    3. Read a binary file - is the best way to play a file when you don't really like what type of file it.  In your case, you just want to get these read bytes and sent so they can be written down instead of destination.
    4. Write to a binary file - next to the destination, is what will store the bytes in the file that you created with the number 1.
    5. Size of the file get (under the range of the advanced features of file) - you need to know how big the file is, so you know when you are finished.

    OK, so once you are able to create files byte write and read bytes from existing files, you can move forward.

    I suggest the basic method is to have the user specify a source file on the source PC, and a folder on the destination computer.  Then find the size of the source file using the number 5.  Divide this number of size by the number of bytes that you want to transfer to the times.  The series pads are usually around 32 k (if I remember correctly) in order not to exceed that.  Now start to send data by reading a number of bytes and this string output wiring to the feature of writing VISAS.  On the side of destination, you will want to monitor the serial port for bytes and read when they arrive.  This string of yarn to the writing of the function of binary file to add them to your destination file.

    This is the basic outline of how to do it.  He needs to not to overload him write and read buffers on the serial ports.  Initially, you can use delays on the side sending to make sure that the side reading has enough time to digest.  To make things faster, you can bring in a control of flow.

    If all that sounds a little intimidating, there are there Alliance member companies (such as the automation of PrimeTest) who can write this code for you and even provides a turnkey for you solution.

    Happy wiring,

    Dan press

    Certified LabVIEW Architect

    PrimeTest Automation

  • Complex graphics on Excel using Labview

    Hi all

    1. I'm trying to draw some graphs complicated some csv data file. I was able to do this in excel by using graphical wizard. However, I want to automate this process using Labview. I'm stuck trying to plot a graph with primary and secondary excel-axis.I join the project file and the relevant Vi. I also enclose a single sheet, which shows the final version of the excel chart.

    2. I also have problems with formatting the chart to make it similar to that obtained from excel. More precisely

    (a) how to place the legend at the bottom of the screen

    (b) Furthermore, how to turn the values on the x-axis by 90 degrees and also display all of the discrete values rather than each 4th data 3rd or every point.

    VI - MOS_FUT_Display1_Attempt4.vi

    data in CSV - MOS_Scores_Generic_Overall_27Oct09.csv file

    original excel with reference output formatting - MOS_Scores_Generic_Overall_27Oct09.xls

    It is notnecessary for me to use excel for my results, if I can use other functions or vi to get the desired results, I'm Ok with him.

    Thanks a lot for your help.

    Vincent

    I don't know if this is the way you need to get your result, but here's a solution.

  • Satellite A40: Can I use the audio as audio output

    can I use audio (microphone) as audio output on my Satellite A40? I need two audio output jacks to use an audio system 4.1. I got a PC where it was possible by changing the Bios.

    What? Audio input in the form of Audio?

    Sorry, I put t really believe that it of possible.

  • Screenshot of Tektronix MSO4104B using LabVIEW

    I am trying to acquire a screenshot of an oscilloscope Tektronix MSO4104B using LabVIEW. I am currently able to collect data from the device and have a waveform displayed on my front of VI. However, for various reasons, our preference is to capture the actual screen shot of the scope.

    I have reviewed the reference for programmers for this camera and have done countless searches on Google for an answer, but have not been able to find a solution. It seems that a few people were able to reach on OTHER Tek scopes by sending a hard copy through the port of communication (GPIB, USB, Ethernet, etc.), but according to the reference of programmers for this particular device, it seems that he will send a paper copy of an installed printer, rather than simply as a stream of data to the port which can be read using VISA controls.

    The other solution I've seen is to record the screen turned to a flash drive, and then copy the file via the port to the PC. However, none of these solutions seems to be available on this device... it's one of the more advanced scopes makes Tek... I can't believe it's so hard! Help, please!


Maybe you are looking for