Usb -1208fs 8 channels continuous graph

Hi everyone! I'm working with an usb-1208fs (sinlge-ended mode, 8 channels, 2kS/s) and I want to visualize all 8 analog inputs in continuous mode. For that purpose I have changed the Xaincnbg.vi example from Universal Library to my case. It does work but not really good, because if I switch on one signal to the channel 1 I can see the signal in both windows Waveform Graph 1 and Waveform Graph 3 and vice versa. If I switch on two signals then I get visalized these signals superimposed each other.
What is wrong in my code?
I have been sitting on this problem for two days and I have no idea what is wrong.
I hope someone can help me.
Message Edited by uwlu on 08-27-2009 02:41 AM
Attachments:
usb1208fs_8_channels_cont.vi ‏240 KB

Hi uwlu,
I've taken a look at your code, but I cannot do much with it. You've only provided the main VI, but not the driver VI's. It would be usefull to share your complete project with us, so we can get a better understanding of all VI's you're using (which probably are driver VI's to your DAQ board).
Could you be a bit more specific on the problem you have and what the final result is you're expecting to see?
Regards,
Peter S

Similar Messages

  • Using usb-1208fs to control a hydraulic directional valve

    Hi,
    I am a PhD student, beginner in Labview. I am working on a project require controlling a hydraulic directional valve by using a USB-1208FS DAQ. I have an ultrasonic proximity sensor to sense the height differences of plants. The sensor output signal is analog voltage 0-10V, I managed to acquire signal from the sensor using the DAQ. I need to set different values of plants height depending on the sensor signal to actuate the hydraulic valve. The valve will control a hydraulic cylinder to move it up and down depending on the plants heights. I worked through a VI, but I don’t know how to generate two signals of 0-5V to operate the valve. For example, the range of plants height (0-6 inches) will switch ON one side of the valve to lower the cylinder down. The range of heights of (0-12 inches) will switch ON the other side of the valve to raise the cylinder up. Can anyone help me figure out how to do that. Thanks for your help!  
    Attachments:
    Analog Input-Digital output.vi ‏68 KB

    Hello Mazin,
    The ULx driver comes with an analog output function. You can specify the channels the same way you specified the channels for the anolog input just in this case. The resource for this device is made with.NET so I am not sure how the resource is named but once you find out that convention you specify a group of lines by separating them by a colon (ex. AnalogInput ai0:1).
    Regards,
    -Travis E
    National Instruments
    Applications Engineer

  • Multi channel continuous DAQ acquisition

    Complete newbie question here. First time using Labview so I apologize for asking this question: Is it possible to have multi channel contiuous acquisition? If so, does this have to go through a circular buffer to prevent tying up all the computer memory? Can you vary the scan and read rates for each channel? Last question: If it is possible to do all of the above....how do you do it? I've attached a .pdf file with screen shots of my front panel and block diagram....it's extremely crude just trying to get some basic concepts down. Also if anyone can recommend some good books on actually doing the wiring and conditions of the various elements, I'd be extremely grateful. Currently I have "Labview for Everyone".
    Attachments:
    DAQ.pdf ‏33 KB

    Hello,
    It is possible to have a multi channel continuous acquisition and it does use a circular buffer. Please check out the Continuous Waveform Acquisition Tutorial for more information about how this is done. With our DAQ devices you can use different sampling frequencies as long as they have a common divisor and the sampling rates remain within the device specifications. There is an example of that called Multi-Rate Continuous Analog Input.
    The example finder is always a useful place to look for ideas on how to make a VI. In LabVIEW, go to Help->Find Examples and you will open up a browser that will allow you to look through many examples. You can also check out the LabVIEW Zone Learning Center where you can find a book listing under the fundamentals section.
    Hope this helps!
    Laura F.

  • Placa adquisidora MC USB 1208FS

    BUEN DIA PARA TODOS. QUERIA SABER SI ALGUIEN DE LA COMUNIDAD UTILIZA O HA UTILIZADO COMO PLACA ADQUISIDORA LA USB-1208FS O SIMILARES DE LA FIRMA MICRO COMPUTING. ESTOY TENIENDO ALGUNOS PROBLEMAS CON LA LIBRERIA PARA LABVIEW Y ME GUSTARIA COMPARTIRLOS CON ALGUNA PERSONA QUE HAYA USADO ALGUNA VEZ DICHA PLACA Y POR ENDE DICHA LIBRERIA.
    DESDE YA LES ESTOY MUY AGRADECIDO.
    UN SALUDO
    NICOLAS

    Good morning nacho2k3,
    I've looked for your board and I've found one with the same name but different manufacturer. Is this your board?
    http://www.mccdaq.com/usb-data-acquisition/USB-1208FS.aspx
    If so, in this link you can find some driver for LabVIEW.
    http://www.mccdaq.com/software.aspx
    Regards,
    Plínio Costa
    Application Engineering
    National Instruments Brazil
    Buenos días nacho2k3
    He buscado su placa adquisidora y he encontrado uno con el mismo nombre pero diferente fabricante. Este es tu placa?
    http://www.mccdaq.com/usb-data-acquisition/USB-1208FS.aspx
    Si es así, en este link puedes encontrar alguns drivers para LabVIEW.
    http://www.mccdaq.com/software.aspx
    Saludos,
    Plínio Costa
    Application Engineering
    National Instruments Brazil
    Plínio Costa
    Application Engineer
    National Instruments Brazil

  • Ayuda de codigos ejemplos para usb-1208fs fabricante measurement computing

    Estimados acabo de comenzar a trabajar con una tarjeta modelo USB-1208FS del fabricante measurement computing. Me pueden ayudar con algunos codigos ejemplos en Labview 8.5 donde se esten usando la mayoria de sus canales DIO y AIO.
    esperando que me puedan ayudar.
    Slds.
    JRPS

    ¡Hola! Bienvenido a los foros.
    He visto algunas discusiones en estos foros acerca de la placa que estas utilizando: aquí una lista de argumentos que pueden serte de utilidad. Modoficando los criterios de búsqueda puede que encuentres algunas otras discusiones. Desafortunadamente no puedo darte indicaciones concretas ya que nunca he utilizado estas placas
    Sin embargo, te informo que esta tabla está dedicada al Labwindows/CVI, un lenguage C de NI: si quieres poner preguntas sobre el LabVIEW debes de acudir a la propia tabla. Igualmente te informo que si quieres seguir hablando español puedes acudir a la tabla de la comunidad en este idioma: en las tablas internacionales es mejor utilizar al inglés ya que habrá muchos que puedan contestar a tu preguntas.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Softing profibus OPC PROFIusb, PROFIBUS USB Interface, single channel

    Hi,
    Is there anyone who has experience with this Profibus interface?
    Softing profibus OPC PROFIusb, PROFIBUS USB Interface, single channel or, the PROFIboard PCI Master/Slave
    Would it work with NI OPC server or we have to use the Softing OPC server?
    Thank for any feedback,
    Andras

    Hello kaush,
    you also should be able to talk to these devices from LabVIEW  through direct DLL calls (call library node). Preconditions for this are well documented driver DLLs and some spare time for understanding and implementing the DLL calls. I'm not aware of a direct LabVIEW interface for Profibus boards from Softing and Siemens, but it might be worth contacting these vendors. At least Softing might have something available.
    If you need to focus on development time, you also may consider using a Profibus DP board from NI in combination with a PA bus coupler (e. g. from Pepperl&Fuchs). The NI board is developed and manufactured by Comsoft, who is well known in the Profibus market, and it comes with an easy to use LabVIEW API.
    Compared to OPC a direct communication with the Profibus board provides much better performance and it's much less error prone, so I can understand your preference here...
    Kind regards,
    Jochen Klier
    National Instruments

  • Write 32 channels thermistor data (temp in degree vs date/time) into xls file for all channels continuously.

    i am acquiring 32 channels thermistor data (temp in degree vs date/time) in waveform plot using array to cluster function  ,
    now my problem is how to write this data  into xls file for all channels continuously.
    please help me at the earliest & i am new to Labview.

    Hi Priyanka,
    Writing to excel file continuously is not a good idea, you can use ".CSV" or TDMS file format and once data acquisition is completed you can convert that to excel file using report generation toolkit.
    With Regards
    Miraz
    Kudos is better option to thank somebody on this forum

  • Alesis USB Multimix 16 Channel USB Mixer

    Does anyone have any comments about whether an Alesis USB Multimix 16 Channel USB Mixer would be a good buy to use with Logic Express and Garage Band?
    I was going to buy a Focusrite Saffire but the Alesis seems to offer much more for about the same cost, such as the ability to record my whole band in one hit.
    Opinions please.
    Thanks
    Rob
    imac G5 isight   Mac OS X (10.4.2)  

    I have the Alesis 16 channel Firewire model and I think it's great. I talked the guy down to $499 at Guitar Center! The Presonus model looks good too, but with the ability to use the Alesis as a mixer, etc., it's a much better buy.
    Paul

  • Trouble connecting MCC USB 1208FS to Labview 10.0

    I have trouble in connecting MCC USB 1208FS with Labview. I can see that the MCC card is detected through the InstalCal software of MCC. I am not able to see it on Labview interface. How to confirm that MCC device is connected with Labview. I have installed the latest MCC software and have Universal Library(UL) installed. I could see the UL functions listed in the Labview "functions>user libraries>MCC data acquisition".

    Duplicate Post

  • Usb-6009 high-speed continuous acquisition for slow control loop application

    Hi,
    After watching a few Youtube videos, I successfully built a control loop in LabVIEW using my USB-6009. Currently, this loop is limited by the speed my actuator can take and respond to commands, topping out at 200 Hz. This is completely sufficient for my application. My question is more regarding the wasted potential of the USB-6009 to acquire samples at a much higher rate than what would be obtained if I used a simple single sample-on-demand during every iteration of the loop.
    It seems to me that having the USB-6009 continuously acquire samples and having my control loop periodically check in for the latest data when it is ready to execute would have the advantage of allowing me to average groups of samples together to lower the overall noise associated with the measurement process (I am reading voltages from an amplified photodiode).
    1) Does anyone know how I would instruct the USB-6009 to continuously acquire at say 10 kHz, so that on each loop I will have 50 or so samples that can be averaged together for a more accurate measurement of my control variable? Unfortunately, I'm new to this and not too familiar with DAQmx Timing.vi.
    2) I've heard that reading into a buffer can increase latency for moving data into the computer. Given the low speed of my control loop, I don't foresee this as being a problem. Is this a correct assumption? I can probably live with an extra millisecond of latency.
    3) I goofed around briefly with DAQmx Timing and managed to see a buffer overflow error. Certain rare events will by necessity cause my control loop to take much longer to execute, so I cannot guarantee that occasionally during normal operation I will not overflow the buffer. Can I suppress this error so that the dialog box does not pop up and the program continues to run uninterrupted? If the buffer overflows and old data gets overwritten it isn't a big deal for me since the control loop is only concerned with the latest data anyway.
    Thanks for any info!

    Howdy Patrick!
    Here is a picture of the front panel:
    Here is the block diagram:
    And I've attached a copy of the VI saved for LabVIEW 7.1.
    Regards,
    Barron
    Applications Engineering
    National Instruments
    Attachments:
    most recent samples.vi ‏73 KB

  • File Adapter-handling erroneous files and let channel continue to poll file

    Hello,
    Even tough there is not an out-of-the-box solution in PI, I'd like to hear your suggestions. When having a file sender communication channel to pick and send files, there are cases where we get errors at the adapter level. These errors are generally due to errors in the file, which will, for example, lead to conversion errors. When this happens, this communication channel will present us an error and will continuously try to pick the erroneous file till we fix the error in that file. Now imagine the situation where in the same folder you have another 1000 files to be picked up and these are all right. Despite this fact, the communication channel will continue to be in an error state till it can process the first file. My question is, what's your generic and standard solution to automatically place this erroneous file in an erroneous folder directory enabling the communication channel to process the other 1000 files?
    Thank you for your suggestions.
    Goncalo Mouro Vaz

    Hi,
        As said above...that option need to be utilised in case of error files....
    search SDN if need more details...and coming to the second u mentioned that if 1000 files are there for processing and waiting...
    if file adapter criteria for processing the file matches and if file is correct then those files will get processed inspite of one error file also...
    Hope this clears your queries...
    HTH
    Rajesh

  • Two real input channels xy graph curve fitting

    i'm a new user with labview, now i have a problem with the xy graph
    i use two real input channels as the x and y axis of xy graph, but whatever i change the sample rate, the curve is so bad.
    i use a quene to mean the x,y data but the result is not true.
    there are the pic and vi. i hope anyone can give me some corrections or advice, thank you so much.
    Attachments:
    fitting xy graph.JPG ‏87 KB

    here is the vi.
    Attachments:
    xy_graph(lv8.2).zip ‏1296 KB

  • I need timed data logging with continuous graphing

    I am graphing continuous temperature measurements, but I only want to log onto a spreadsheet measurements every hour. How do I do that?

    Hello,
    In order to log the measurements every hour, you will want to implement a "Wait (ms)" function. This function can be added to the block diagram by [right-clicking] and selecting the following:
    [All Functions] >> [Time & Dialog] >> [Wait (ms)]
    You will want to place this wait function inside your code and wire a constant to the wait function with a value of 3,600,000 (60min/hr x 60sec/min x 1000ms/s). To wire a constant to the wait function, [right-click] on the input terminal of the "wait (ms)" icon and select [Create]>>[Constant].
    I hope this helps. Please let me know if I can further assist you.
    Kind Regards,
    Joe Des Rosier
    National Instruments

  • Using a Byterunner USB 5.2 Channel Audio Adap

    I have not been able to get my microphone to function on the Sound Blaster Audigy 2 ZS, and after reading many messages regarding the same problem, I am seeking an alternate route to be able to record li've music. Does anyone have experience with these USB sound pods? Or other advice? Thanks!

    When you start editing, either only add one to the timeline, and make it mono...or add both and make them mono.  Typically when I deal with talking heads, I will use only one channel.  Unless I have a wireless mic on one, and a boom on the other...I'll add both, but mute one (the one that sounds worse)...but have both just in case some sound affects the main audio, then I switch to the other. 

  • Dual Channel Continuous Acquisition on the 5640r?

    Hi,
    I'm jumping posts from the Real-Time to the IF-RIO community (you can see  http://forums.ni.com/ni/board/message?board.id=280&message.id=8356&jump=true#M8356 for more background on my problem).
    I would like to be able to write synchronously to two channels as well as achieve continuous acquisition on the other two channels.  I realize that I will need to reduce my bandwidth to be able to do this, but that is not a problem.  I was able to get the ni5640r (Single Channel) Analog Input and Output project (NI's template) working for continuous acquisition under the advice of Jerry_L.  But, in trying to apply the same fixes to the ni5640r Dual Analog Input and Ouput project (again, NI's template), the acquisition is not continuous.  I've attached my current version of this project.  I would greatly appreciate it if someone could offer advice on how to move forward with it.
    Thanks!
    Chris

    JaceD,
    I think you may be right.  I tried to recompile twice today, and it failed both times.  First, it complained about not finding the compiler (listing the IP address of this same machine on which LabVIEW and the IF-RIO is hosted).  Second, it just failed after churning for an hour...I think this is why (from the xilinx log):
    Checking expanded design ...
       'window/theVI/n_0000013E/MiteInterfacex/IrqComponents[0].MiteIrqx/HandShakeIr
       qNum/BlkRdy.iRdyPushToggle_msx' with type 'DFlopBool_1' could not be
       resolved. A pin name misspelling can cause this, a missing edif or ngc file,
       or the misspelling of a type name. Symbol 'DFlopBool_1' is not supported in
       target 'virtex2p'.
       'window/theVI/n_0000013E/MiteInterfacex/IrqComponents[0].MiteIrqx/HandShakeIr
       qNum/BlkOut.oPushToggle0_msx' with type 'DFlopBool_1' could not be resolved.
       A pin name misspelling can cause this, a missing edif or ngc file, or the
       misspelling of a type name. Symbol 'DFlopBool_1' is not supported in target
       'virtex2p'.
       'window/theVI/n_0000013E/MiteInterfacex/IrqComponents[0].MiteIrqx/HandShakeIr
       qAck/BlkRdy.iRdyPushToggle_msx' with type 'DFlopBool_1' could not be
       resolved. A pin name misspelling can cause this, a missing edif or ngc file,
       or the misspelling of a type name. Symbol 'DFlopBool_1' is not supported in
       target 'virtex2p'.
       'window/theVI/n_0000013E/MiteInterfacex/IrqComponents[0].MiteIrqx/HandShakeIr
       qAck/BlkOut.oPushToggle0_msx' with type 'DFlopBool_1' could not be resolved.
       A pin name misspelling can cause this, a missing edif or ngc file, or the
       misspelling of a type name. Symbol 'DFlopBool_1' is not supported in target
       'virtex2p'.
    This is all pretty cryptic...I was hoping you might have some insight.  In the meantime, I'll keep trying to find some consistency in the compile errors.
    Thanks!
    Chris

Maybe you are looking for

  • Need help in developing XML Publisher Report in Multi Language

    Hi Tim, We have requirement to develop XML Publisher report in Multi language. I know we can upload multiple Templates, one for each language. Can any one help me in knowing the process other than uploading multiple templates. Any documents or setup

  • Can't run stored proc after migration to Active Directory

    I just moved our company's SQL server 2000 server from our old NT domain to our new Active Directory. After makign this switch, i noticed one thing that won't work right. it is a coldfusion page that calls a stored procedure on the SQL server using t

  • Problem in hierarchy with sap table

    One problem regarding tree hierarchy  with the sap bi table example zmaterial  which is  having  3 fields which should show as node and there data as sub node suggest me , how to do it I have look around the example but there are of simple node with

  • Balance sheet items

    Hi, How B/S items transfer to CO-PA. regards, Bhaskar

  • Cannot Update my Nano with the Latest Software 1.1.3

    Everytime I plug my Nano into my computer via USB chord, the iTunes program asks if I want to update my Nano with the latest software to Download and Install. I decide to download and install, then once the software has been downloaded an error messa