DAQ-Card 6533 to SCB-68

How do I use a hws file to control the output to the SCB-68? I created a file in the Digital Waveform Editor and I want to use this to control the SCB-68.

Hello,
It just so happens that I have been working on an example program to do this. My program has not been fully tested yet, however, it should provide a blueprint for doing this. I have attached the program to this thread, just let me know if you have any questions about what is going on in it.
Best regards,
Justin T.
National Instruments
Attachments:
Output_HWS.llb ‏464 KB

Similar Messages

  • How can I connect the output of a force transducer unit(BNC cable) to the PCI-6036E DAQ card via the SCB-68 block connector?

    I m using the 404A force transducer unit by Aurora Scientific and i want to connect the (converted to Volt) output, which is a BNC cable, to the PCI-6036E DAQ card via the SCB-68 connector block, facing difficulties in choosing the correct input mode for my signal(couldn t clear this using the manual), setting the switches and which channel shall i use in the block connector in order to configure ot with LABVIEW

    Hi MSc Student,
    Connecting your transducer to the 6036E card via the SCB-68 connector block should be pretty straight forward. You have 2 choices of input mode, Referenced Single Ended (RSE) this is where you will connect the screen of the BNC cable to a ground connection for the DAQ card in the SCB-68 and the other to any analogue input channel . These are listed in the device pinouts in the help section of MAX, under the 68 pin devices section. The terminal block numbers correspond to the DAQ card's pin numbers. Another method, which avoids ground loop problems would be to use the Differential connection and connect the signal and ground connections of the BNC cable to a differential analogue input, these are listed in the 6036E manual and in th
    e MAX help section again. the disadvantage to using this method is 2 analogue input channels are used and you must use the lowest 8 analogue input channels for differential inputs.
    The switch settings that you need can be found in the manual for the SCB-68 in table 2-1, the manual can be found here : http://www.ni.com/pdf/manuals/320745b.pdf
    The switches are for power to extra signal conditioning and the cold junction compensation for thermocouples which in your case you do not need so set the switches to the positions in the first box ie Direct feedthrough, with temperature sensor disabled and accessory power disabled. The channel you use should not matter the only ting to remember will be that if you use differential mode measurement that you will be connecting the signals to AI(n) and AI(n+8) so differential input 0 is across the connectors for AI0 and AI(8). The channel numbers corespond to the analogue input number for the card.
    I hope this information helps,
    Chris M
    App
    lications Engineer, National Instruments

  • Data acquisition with daq card 6533

    Hi all,
    i need to develop a c++ (visual studio .net, no measurement studio)
    program that performs data acquisition at a sampling rate of 10Khz
    using a windows xp laptop and the daq6533 card.
    The program must sample 8 digital signals. Each signal has a limited
    time duration, say a few seconds, and acquisition should start on the
    first rising edge of a signal, and terminate on user input. Browsing
    through the code provided with the driver, i found the examples in the
    cdio folder. It seems to me they almost do what i actually need.
    Unfortunately, many of the functions used there are not supported by
    the 6533 card, in particular the GPCTR_* family. I've read somewhere
    else that this card does not have an hardware counter, is that exact?
    I'm a beginner in this field, so i don't know what are possible alternative solution to my problem (if any).
    Thanks for any help.
    walter

    Thanks for your reply.
    I don't know actually whether i need to use counter-related functions. My problem is the following:
    I need to sample 8 digital signals with a frequency of 10khz. Every signal have a duration of a few seconds in time, and they come from sensors attached to a train's railway. Acquisition begins on the first rising edge of a signal (which coincide with the passage of the train), and end with user input (which should be after the train has passed).
    It would be of great help if you can point me to a relevant example, or give me some basic guidelines on our to proceed. If you need more information, please just ask.
    thank you very much.
    walter

  • 32 bit I/O using PCI-6533 DAQ card

    I am thinking of purchasing the PCI-6533 DAQ card and need to know if the the 32 bits can be configured individually as input or output. I know that they can for unstrobed and static applications but I need to be using strobed or non-static. I also know that the you can set the 8 bit ports as input or output ports for highspeed. So my question is... Can I configure each individual line as input or output for highspeed applications?

    Hi,
    Unfortunately, the 653x boards can only be configured on a line-by-line basis for asynchronous digital I/O.
    When in synchronous pattern acquisition/generation mode, the 653x is divided into 2 groups (2 ports in each group). These two groups can be operated independently as input or output and at different clock frequencies. However, all lines on both ports of a group are configured in the same way.
    If you are looking for completely individually controlled lines in a pattern generation/acquisition application, you might consider the new high-speed digital board (NI 655x).
    Hope that helps. Have a good day.
    Ron

  • PCI 7830R series DAQ card with SCB 68

    Can anybody how to mapp PCI 7830R card with SCB68, which was connected in 0 connector? is thier any VI as an example for this

    Hello Sir.... i created a VI in Project Explorer Methode to test the working condition of DAQ card PCI 7830R which i installed in my PC , in both Sub VI and the Host VI the programme is working , now i connect the SCB 68 hardware with DAQ card thro RMIO cable , i wired the DIgital Pins of SCB68 (respectievely with DAQ card Pins) in a Bread Board an place a LED corresponding to pins to show the real world output...
      Now my prob is after i connecting the wire i run the VI, in breadboard the LED's are not getting ON same status is displayed in Labview Front panel too , when i remove the wire the LED in front panel of both sub and Host VI is getting ON..... y this prob occuring? to solve this what i have to do? i want to show realworld output (LED On in Bread board) thro SCB68... how to solve this?
    Attachments:
    Digi.vi ‏37 KB
    Digi (H).vi ‏121 KB

  • Has anyone been able to communicat​e via SPI from a DAQ card?

    I have been tasked to set up a test system communicating with an A to D (Analog to Digital) converter. The converter has been selected, and it communicates via SPI.
    I have LabVIEW 6.1 on my PC, and I have a 6062E PCMCIA card, and a 6031E PCI card available. Other hardware may be considered based on price and availability.
    I looked through earlier forum questions, and the knowledge base, and did not see any recent items on this topic.
    So, does anyone have any recent experience setting up SPI via a DAQ card?

    Hello Jeff,
    Communicating via SPI using DAQ will only be possible with DAQ Boards which have hardware timed DIO, which means E Series Boards will not work as they are software timed DIOs. So you would need high speed DIO boards like 6533 or 6534. Having said that, you need to check the compatibilities for voltage levels, rise and fall times.
    -Arun V

  • Data-acquisition with NI 6036E DAQ card & GPIB using an external trigger

    Hi all,
    I hope somebody could give me some help with the following and answer some questions:
    Simple system description:
    Labview 6.1
    PCI-GPIB card
    6036E DAQ card
    In my system, I am using an external analog trigger signal (A) for continuous data-acquisition. Characteristics of the analog trigger signal (A) are: ~40 Hz, signal height +1.48V, triggered by rising edge (the analog trigger signal (A) could be changed to a TTL signal). Each data-acquisition is done within ~1.0 ms after the rising edge of the trigger pulse. The timing of the data-acquisition and analyzing procedure is controlled by execution in a sequence structure placed in a loop.
    Now, I connected a power meter to the system, to measure the laser power during the data-acquisition. The power meter has two options to provide the laser power data:
    a) via analog signal output (voltage corresponds to laser power in watts)
    b) via GPIB (direct output reading of laser power in watts).
    Problem:
    During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
    How do I do this in Labview programming for the following two situations?
    a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    b) If I use the GPIB connection of the power meter. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    An other possibility would be to trigger the power meter directly, so it outputs constantly power meter values at ~40 Hz. How could I than acquire 1 power meter value (at a certain time im my sequence structure) via analog input at DAQ card or GPIB?
    Additional questions:
    How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
    How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
    It would be very nice if somebody could give me some help.
    Kind regards,
    beam

    Hi beam,
    I just want to verify that I understand your situation correctly:
    An external trigger signal (A) is wired to one of your input channels (e.g. CH0) to trigger data acquisition of a second channel (e.g. CH1). Your power meter is connected to an analog input channel, which you would like to trigger with a certain rising edge at some of your sequence structure.
    Problem:
    During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
    How do I do this in Labview programming for the following two situations?
    a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    If a task has been configured to acquire signal from one analog channel, it's not possible to run a second analog input task or to add a second channel on the fly. You had mentioned that it's possible to read from the instrument through GPIB. Is it possible to perform a software trigger such that at a certain frame of your structure, when the trigger signal A reaches voltage "x", a GPIB command is written to your power meter to query a measurement reading?
    Additional questions:
    How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
    You do not need to explicitly configure the PFI0 line as an input. If you want to use it as an input such that it acts as an analog trigger, simply wire the trigger signal to this pin. When configuring the trigger in your software, specify PFI0 as the trigger source.
    How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
    You can try using the Limit VI to find out when the trigger signal reaches a certain level, and count how many times this level is reached. Similarly, you can use this as the condition to execute GPIB commands.
    Hope this helps,
    Lesley

  • I use labview 8.0 and i can not run daqmx driver for pcmcia 6062e daq card

    i use labview 8.0 on window xp .when i installed a PCMCIA daq card 6062E, i could not run daqmx driver.It is fine to see that the traditional version is working well.When i install daq card sometimes it is working well with traditional driver  but mostly i see error on reading an analog input from PCMCIA daq device.An error called 'base adress' occures .I use last version of driver that is daqmx 8.0.1. and i have installed this correctly but again i could not  see any signal on the test panel for daq-mx driver.I don't know what is the problem.Also when i install PCMCIA daq card Please reply this message.I need your helps.
    Thanks

    Hello,
    Thanks for your reply.I will try to answer your questions.
    I have checked the Device Mananger and I have seen that the device is detected by Windows  XP.  For another question the card shows up under both NI-DAQmx Devices and Traditional NI-DAQ (Legacy) Devices consistently in the Measurement & Automation Explorer.I use a way that I reset the driver for traditional NI-DAQ in MAX,and then i reset the device for NI-DAQmx driver in MAX and again i tried to run the test panel of DAQmx driver but again i saw a wrong signal or noise signal on the test panel i could not see the sinusoidal signal that i connected. i do get the test panels to run with the card using the DAQmx driver,  But could not run the DAQ diagnostic utility.The error was as i specified below.
    03.05.2006 09:49:35
    Results saved to:  C:\Documents and Settings\serkan\Desktop\Diagnostic Results.txt
    Selected Device: Dev1
    Device Type: DAQCard-6062E
    Serial Number: 107509E
    Device Support: (PASS)
    NI-DAQmx Version: 8.0 (PASS)
    Device Reset: (FAIL)
    Error -50002 occurred at an unidentified location
    Possible reason(s):
    The specified device is not a valid device. The operation could not be completed as specified.
     ------ DIAGNOSTIC UTILITY ABORTED -----
    And for your last question i can say that i have used the DAQ card on other laptops.But the results were the same.İ hope to see your reply
    Thanks,
    Serkan Buhan
    Electrical-Elecronics Engineer
    Researcher
    TUBITAK-BILTEN

  • Can I use ARM LM3S8962 like a DAQ card?

    I have the ARM embedded software and have used it to write some programs that run on the LM3S8962.  What I'm wondering is if I can have a program that runs on the PC that "talks" to the ARM board occasionally to query the inputs or control outputs.  If it is possible, how would I do that?

    You absolutely can use an ARM LM3S8962 like a DAQ card, the only restraints you have are how fast the microprocessor can run and the limited amounts of AI you have available on the Luminary board. you can simply add an AI elemental I/O node to your project and wire your transducer to the luminary board. You then can take the data from the microcontroller and send it to the Host PC through a network published shared variable. There are a couple of tricks to this that may not be completely evident. I have included two links that I think will help you get to where you want to be. The first is setp by step how to connect an accelerometer to teh ARM board, but you can modify it for your own transducer.
    http://decibel.ni.com/content/docs/DOC-9614
    The second is hwo to use network published shared variables on an ARM board. I hope this helps!
    http://digital.ni.com/public.nsf/allkb/6E50B28DDC61C0E68625767400805AA0
    Scott W
    National Instruments
    Applications Engineer

  • How to acquire data from 2 chs of the same DAQ card at different sampling rate

    I am using single DAQ card (either 6013 or 6014) in my system i want to acquire data from 2 (or more) channels with following requirements
    1. sampling rate of each channel should be independant of each other (say one is 20 Hz and other is 15 kHz)
    2. data from all the channels should be acquired simultaneously.
    3. coding must be done using DAQmx VIs
    I have tried out following things
    1. I created separate task for each channel: i found out that two tasks can not run simultaneously even though the channels are different
    2. I tried out single task with two channels included in it. and i used 'channels to Read' property to determine from which ch. i want to acquire data: this method works fine if the sampling rates are same. but if i change the sampling rate of one channel it gets reflected in other channels as well.
    can somebody help me out to solve this problem.
    i will appreciate if somebody can post the sample code as my deadline is approaching
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

    Hi Dennis Knutson
    Thanks for your suggestion.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • How do I use two DAQ cards in one Labview code? Current I'm getting error " error 200558 occurred at DAQmx Create Channel.vi. One task cann't contain multiple independent devices". Can someone help me?

    The two DAQ cards are NI PCI-6070E & NI PCI-6052E. The Labview I'm using is labview 7 Express and the Window system is Window XP. I'm using NI SCXI-1000 chasis and SCXI-1102 & 1102B two modules plus a feedthrough SCXI-1180. 1102 is connected through SCXI-1349 cable to DAQ card 6052E while 1102B is connected through SCXI-1349 cable to DAQ card 6070E. SCXI-1180 is connected to 6070E through SCXI-1349 adaptor on the back of 1102B.

    Sarah, thank you for replying my question. It seems that I'm making progress everyday (smile). I'm able to run the test using both daq cards in my code now. But as I'm moving forward, I'm getting new questions too. How do I use one STOP button to control both tasks and how can I save data into one single file?
    I attached my code here hoping you can get the specifics on my application by looking at the code. Thanks very much!
    Thanks.
    Attachments:
    DAQmx_Task_Example_plus_voltage_2.vi ‏416 KB

  • How can I create software start and stop trigger in LabView using 6023E series DAQ card? I don't want to use the external trigger.

    I am using 6023E DAQ card to collect the signals, such as AE, Force, Torque from the machine. I want to collect only some part of signal for example between start triger and stop trigger. I'd like to know how I can creat those triggers in LabView from one of the channels that I am acquiring at the same time. I found one or two library file that is only for start trigger. I know that this is availabe in some of DIAdem functions. Please let me know if you have done some example for this requirement.

    If you are wanting to create a software trigger based on an analog input voltage in LabVIEW, there are several options. One suggestion would be to compare the voltage values from one input channel to a number within a loop. If the input voltage crosses that threshold (is greater than the number), have a case statement that will acquire data from the other channels. This would simulate a software start trigger in LabVIEW.

  • How to structure the DMA buffer for PXie 6341 DAQ card for analog output with different frequencies on each channel

    I'm using the MHDDK for analog out/in with the PXIe 6341 DAQ card.
    The examples, e.g. aoex5, show a single Timer  (outTimerHelper::loadUI method), but the example shows DMA data loaded with the same vector size.
    There is a comment in the outTimerHelper:rogramUpdateCount call which implies that different buffer sizes per channel can be used.
       (the comment is: Switching between different buffer sizes will not be used)
    Does anyone know what the format of the DMA buffer should be for data for multiple channels with different frequencies ?
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?

    Hello Kenstern,
    The data is always interleaved because each card only has a single timing engine for each subsystem.
    For AO you must specify the number of samples that AO will output. You also specify the number of channels. Because there is only one timing engine for AO, each AO will channel will get updated at the same time tick of the update clock. The data will be arranged interleaved exactly as the example shows because each AO channel needs data to output at each tick of the update clock. The data itself can change based on the frequency you want to output.
    kenstern wrote:
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?
    In your example, you need to come up with an update rate that works for both waveforms (1 KHz and 1.5 KHz sine waves). To get a good representation of a sine wave, you need to update more than 10x as fast as your fastest frequency...I would recommend 100x if possible.
    Update Frequency: 150 KHz
    Channels: 2
    Then you create buffers that include full cycles of each waveform you want to output based on the update frequency. These buffers must also be the same size.
    Buffer 1: Contains data for the 1 KHz sine wave, 300 points, 2 sine wave cycles
    Buffer 2: Contains data for the 1.5 KHz sine wave, 300 points, 3 sine wave cycles
    You then interleave them as before. When the data is run through the ADC, they are outputting different sine waves even though the AO channels are updating at the same rate.

  • I would like to know: what sort of DAQ card, I have to use with LabWindows, to have datas from 3 sensors?

    If you have some references or internet sites, please, answer me.
    A French guy.

    Most any of National Instrument's DAQ boards will do this. We provide a tool to help you pick which DAQ card is best for your application called DAQ Designer. You can access DAQ Designer online at: http://www.ni.com/daq/ddonline.htm.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • DAQ card works with NIDAQ test panel but not with VB app/Component works

    I am seeing this problem with 2 different DAQ cards. The card works fine with the NIDAQ test panel, but acts like the return lead is lifted with my VB app. The plotted signal appears to be little more than noise. Channel scan is internally triggered; that apparently works fine. The VB app is running in this configuration successfully in other areas, and I fixed this problem once by swapping cards. Currently, I lack a spare, as my "spare" is showing the same symptoms. Any helpful hints?
    Card type: AT-AI-16XE-10
    Configuration: Double-ended input, +/-10V range
    Running: VB6, NIDAQ 6.1, ComponentWorks Std. 2.0.1, Windows NT 4.0 SP5

    I upgraded to NI-DAQ 6.8.1 (with patch), but no joy. The upgrade went smoothly, the card was recognized and I was able to set the resources without a problem. The test panel works fine looking at the actual signal on the target system: slowly varying DC between 0-5 V or so. My app works fine also, except that it behaves as though the A/D is not connected to anything: noise between .05-.1 V or so. I swapped DAQ cards between the test system and my development system. The problem appears to be in the test system, not on the card. Another test system, identical except for (now) the version of NI-DAQ, works fine. I'm stumped!
    BTW, why are there 3 DMA channels listed in the configuration for this DAQ? Do all 3 need to be assigned? I've run some systems
    for years with only the first 2 assigned.

Maybe you are looking for

  • DVD backup won't load

    hi i had an iMac G5-which has 'died'. before that happened, luckily i backed-up my photos (using iphoto 2.0). i'm trying to load them into a powerbook with iphoto 4 installed, but keep getting a message saying...'can't open using this version...you'v

  • Cannot access itunes error 6034

    itunes down loaded something saturday 26/01/2014 now i cannot access itunes run time error 6034

  • Add-ons for Safari & Firefox to enable YouTube

    I just re-installed Safari & Firefox new & "clean" with 10.8 : question: I see that I can not view 99% of the videos on YouTube - obvioulsy I need an add-on or plugin or extension, java or flash or something (I'm never sure exactly what those words m

  • Change Screen Brightness

    Is there any way to adjust the brightness of the screen in Adobe Air for Desktop (running in Windows 8.1)? I have an app that I want to always run at full screen brightness. If not, does anyone know of any ANEs that will work? If also not, does anyon

  • Has anyone else encountered problems with Adobe CMM clobbering Photoshop add-in filters?

    I recently tried to install Adobe CMM, as a pop-up window suggested after I installed Photoshop CS5 on a new computer, running Win7x64 Ultimate. Before trying to install CMM, my Akvis Sketch Plug-In for Photoshop worked fine. Afterwards, Akvis Sketch