How to create analog channels in Labview

I need to create 4 channels analog pressure through card PCI-6229 in Labview v8.2 and I have to set these channels so that labview can communicate with the card... But I'm failing to do...

If you have an idea, then please e-mail me back...
Waiting for your valuable advice...


Thank you all for reply

but my problem is still not resolved I want yo not individually define the four channels at once.

If possible please sen me some screenshots.

Thank you

waiting for your advice

Tags: NI Software

Similar Questions

  • How to create a channel for a PXI-6509

    I'm working on a program to fight the PXI-6509. The only area that I have problems with creates the string by calling the function DAQmxCreateDOChan. I get no errors during the first DAQmxCreateTask, but get an error when you try to create the channel. Exactly how to create the channel name? In MAX, I have named the "DIO" device, do not know if it matters. Any help would be greatly appreciated.

    Hi schelgr,

    Have you had a glance examples DAQmx in finder example found in help > find examples.  In input and output equipment > DAQmx there is a lot of examples that should be able to help with this query.


  • How to view analog channels during an ongoing acquisition, what type of used wave form, table, or chart?

    I use Labview 8.5. and the NI USB-6210 device.

    I want to display the analog channels over the continuous acquisition.

    I can use the table of waveform or waveform graph. Waveform allows you to eat a history buffer. This function is very interresting and useful for my system, but I can't change this value to programming (if I do not mistake!). So, I was wondering if I can also use the waveform graph, but I do not have how to make a circular buffer to replace function "history buffer. I have to use the waveform as a data type.

    What is the best solution for my problem? I would like to know if my solution is good (graphic use of waveform) and if anyone has a solution to make an effective circular buffer with the waveform data type?

    Thanks in advance, best regards, Daniel

    There is an example that comes with LabVIEW called "XY table". It shows you how to create a history for a XY Chart buffer. The size of the history can be changed on the fly. You can adapt the VI "graphic buffer XY ' to work with a data type of waveform." This type of data consists of 3 elements: start on time, delta t and table of values. The only thing that you should be buffering is the array of values.

  • How to create a spreadsheet with labview file

    I just want to create a spreadsheet file. all the comments I've read shows how to create a text file. or reading/creating a spreadsheet, but is possible to create this spreadsheet through labview?

    Hello Ms. METR,

    When you use an entry in the spreadsheet module, it automatically creates the file and replaces it by default.  If you want to add to the spreadsheet file, then you must enter a Boolean variable under the module on "append?

    If you don't need to create the file and then do the worksheet writing because he wants is the path to the file like: "C:\". Documents and Settings\ User\ bureau\ spread.txt"

    Another way you can do is to write about the path to the .xls extension and the icon and everything will work as an excel spreadsheet.


  • How to create own IDE for LABVIEW (such as vision builder)

    Hi all

    My pretty funny question, I know that.

    I like to create Labview Application IDE like Vision Builder.

    How to do this?

    As far as I know that Vision Builder is developed with LabVIEW, the source code of course is not public... But why do you want to create a new IDE for LabVIEW? LabVIEW is an IDE, no?

    I think also Vision Builder uses a lot of scripts and sub-panels, I can't help you much more than that.

    For us - outside NI - script cannot be used in an EXE file, they reserve that for their applications not it will be a difficult task.

  • How to create a 404 with LabVIEW web services page?

    Hello community,

    I guess the question says it all... I have my site up and running, but I would like to create a default 404 page just in case the user mistypes something. How can I do?

    Thank you!

  • How to create a section in labview using the screw configuration file

    I am trying to create a new section in Labview. All I see is the possibilties for reading of the sections and keys, write key, remove sections. Is it possible to write a new article in Labview.

    Thank you


    When you write to a key, you will need to provide a section.  If the section is not there, then it will be created.  Basically, you can have a section without any keys.

  • How to create this code in labview


    Please helpe me for that matter

    I have create this code in 'c' in ' labview "..."

    ex c:

    If {portc.f1 == 1}

    portc. F0 = ~ portc. F0


    ex labview:

    If button is {1}

    led round = ~ led Tower


    Thank you...

    pjr1121 wrote:

    See picture attached.

    Why people insist on the use of knots of property to get the value.  It has the same problems with the race as the local variable conditions, but is extremely slow (forces a thread page on the user interface thread).  In fact, you should keep the value of the LED in a shift register.

  • How to create the channel listens for XML/web services line

    Hi, I'm new to B2B 11 g, would ask tht,.

    I followed the tutorial of B2B using generic file and it works fine. However,.
    If I want to receive the trading partner thought web XML server, how can I configure the channel look, what protocol to use.

    And can any1 kindly refer me to any link or info?

    Thank you.

    However... If remote partner is going to send me thought web services and no thought record, should I do something on my B2B? has I need specific, any channel listen extra?

    N ° no additional configuration is required to receive files via HTTP. Just ask your TP to post files on one of the below URL.

    http://hostname:soa_server_port/b2b/httpReceiver or http://hostname:soa_server_port/b2b/transportServlet

    If you just want to test your B2B, if it is correctly configured best way is to have another facility of B2B (may be a new domain) who will laugh at your configuration TP. This configuration of B2B send message to your B2B on HTTP (on one of the above URL) and see if gets treated with success.

    If you just want to test if your B2B is ready to accept messages over HTTP, then go to the URL above browser and make sure that you see below message-

    "B2B Server is ready to accept messages HTTP from the trading partner.

    Kind regards

  • How to create a task DAQmx LabVIEW?

    I want to create a new task DAQmx in LV I used "create new task" VI in Bt NV. I want to see the task created in the list of tasks MAX also.

    There is no connected device. Its just simulation.

    Use the task to save DAQMx.

  • How to define a macro in labview

    Can you please tell me.

    How to create macros in the labview.

    As mentioned below

    #define sqrt (x) (x * x)

    LabVIEW has no macros, but this is a programming language that can do almost anything.  Please after a few g Trainin LabVIEWor the Skills Guide for beginners.

    Edit: I also found this individual to the pace of training.

  • How meter and analog value FIFO synchorize

    I use a card NI 6123.

    Anyone knows how to put 6 analog values and the value of the counter in FIFO with the same rate: 4 k.

    Thus, every second, there should be 6 * 4 k analog values and 4 k in FIFO counter value.

    The problem is:

    1. the counter is a numeric value, so I can't put a sampling on it. So how can I put the value of the counter in the FIFO every second of 1/4000

    2. how to sync analog channels and channel meter.


    DAQmxErrChk (DAQmxCreateTask("",&datHandler));

    DAQmxErrChk (DAQmxCreateAIVoltageChan(datHandler,"Dev1/ai0:5","",DAQmx_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volts,NULL));)

    DAQmxErrChk (DAQmxCfgSampClkTiming(datHandler,"",4000,DAQmx_Val_Rising,DAQmx_Val_ContSamps,4000));

    DAQmxErrChk (DAQmxCreateTask("",&ctrHandler));

    DAQmxErrChk (DAQmxCreateCICountEdgesChan(ctrHandler,"Dev1/ctr0","",DAQmx_Val_Rising,0,DAQmx_Val_ExtControlled));

    DAQmxErrChk (DAQmxStartTask (datHandler));

    DAQmxErrChk (DAQmxStartTask (ctrHandler));


    Thank you

    It is possible to apply for a meter in the buffer.  (this is actually preferred).  Simply specify a sampling and source clock.  Given that you want the meter to "lock" data from the meter to the same rate as the sample analog clock to simply specify this sample clock as the sample for the meter clock.

    An example of event in the buffer (life-long) count can be found here by using an external clock (your HAVE sample digital Instruments\NI-DAQ\Examples\MStudioVC2005\Counter\Count Events\CountDigEventsBuffContinuous_ExtClk clock):...\National)

    Check out this example and I think he should get you operational.

  • How to use DAQmx Read to measure several analog channels

    I have two analog inputs using USB 6221 and I want to measure the voltage of each of them.  I use vi DAQmx-read and I select input analog, 1 sample, several channels, but I do not know how to connect several channels at the entrance of the physical channel.

    Hello, Bernadette.

    For reference - I would recommend ad DAQmx questions here:

    NEITHER Forums: Multifunction Data Acquisition

    There are several ways to add multiple channels for a fast look for "select multiple channels DAQmx" gives me this like the hit albums:

    2X8D7F5Z knowledge base: How can I select more than one channel of NOR-DAQmx LabVIEW?

    Hope that helps!

  • How to write table values to analog channel?

    Hi all

    If I have a table of values, is it possible to write these values as an analog voltage and then stop writing when he arrives at the end of the table? If so, how does do this?

    I have attached my code that generates a table of frequency swept sinusoidal voltages and I write that out to my analog channel, when I consult my output however, I get the same display of sinusoidal repetitive time and time again. I expect for example:

    writing of wave of 1 Hz, 2 Hz, 3 Hz etc...

    but I'm getting the 1 Hz wave over and over again, I selected samples in the sample clock and pretty much done a lot of trial and error and still no luck . Any help would be appreciated!


    Hi Daniel!

    Take a look at this example (you can find examples of LabVIEW):

    Gen CONT tension Wfm - Int Clk - no

    Here is an another VI I did (see table). It is slightly different from the example of the LV and it should help you.

    It could be that useful...


  • How to create a Labview Websocket client?

    Objective: Use WiFi to transfer analog readings of a Yun Arduino to a Labview graphical user interface.

    An Arduino Yun provides Websocket server capabilities and Allied standard used with a browser.   But I did not how to create a Labview Websocket client.  Where my question "how to create a Labview Webcocket customer?


    Dennis_Knutson wrote:
    I think you need to better define the arduino interface.

    Dennis - the interface is well defined. WebSocket is a standard (with some variations). It uses the web server, although it does not strictly HTTP connections.

    I don't know of a free LabVIEW websocket client implementation. You might be able to detach the screws LabVIEW of HTTP to retrieve part of the initial connection and the logic of the handshake, but.

Maybe you are looking for