Reading channels from PCI card

i want to read 4 channels from a pci card simultaneously

Hi,
I think elaborating a little bit more on the problem might be helpful. But still, I am including a link below containing a set of examples that might be helpful.
Examples
Please do let me know if you have any further questions.
Sincerely,
Sastry
Applications Engineer
National Instruments

Similar Messages

  • How can I read channels from different SCXI modules simultaneu​sly?

    Hello.
    I have a system that consists in:
    - Three E-series DAQ boards (PCI-6034, PCI-6052 & PCI-MIO-16E)
    - One SCXI chassis (SCXI 1001)
    - 4 SCXI modules for voltage measurement connected to PCI MIO 16E
    - One SCXI module for strain gauges connected to PCI 6034
    - One SCXI module for accelerometers connected to PCI 6052
    I have to develop a software application that reads all the channels at the same time or at least in the same program cycle. I have tried to create only one DAQmx task containing all the channels, although they belong to different DAQ boards (and SCXI modules, of course), but it seems to be impossible to use channels from different devices in the same task.
    So I have created three different DAQmx tasks, one for each device and its channels. I have used one "DAQmx Start Task" VI for each task at the beggining of the loop in order to use them independently, reading their channels inside the loop in every program cycle.
    When I have run the program I have get the following error:
    "ERROR -200619 ocurred at DAQmx Start Task.vi
    Chassis cannot be used for more than one scanning operation at the same time.
    Do only one scanning operation or combine multiple scanning operations into a single operation."
    What is the problem? How can I combine these multiple scanning operations? What can I do to read all channels at the same time?
    Thanks.

    Hello pablomendana,
    it's ok that you got an error when trying to use more than one device on the same task. According to the setup you have, I agree that 3 tasks should be put in place.
    The key question I have is... Have you configured manually at MAX the SG and accel. modules to be in Parallel mode?
    I would not expect the error you get if they are in parallel mode (in which you could even read directly from the DAQ board, using DAQ device channels instead of SCXI channels).
    Unfortunately, I haven't been able to setup a system similar to yours, but I would like to know more details on what you've tried so far.
    Also, I recommend you that if still need help on setting up the system, use NI's SSP program to get support from your local NI Application Engineering organization, as this will be faster than the forum.
    Regards,
    Jorge M.

  • RS-485: PC can send/receive data from PCI card, but LabVIEW can only send to card.

    I have a master/slave setup with a 2-wire RS-485 connection via a StarTech PCI2S485 card  http://www.startech.com/product/PCI2S485-2-Port-PCI-RS-422-485-Card-with-DB9.  A Vista PC running LabVIEW 2010 is acting as the master to 6 slave devices.  I am running a driver VI supplied by the company that made the slaves. 
    I've used a terminal program called Termite to monitor the ports during operation and have concluded that both the PC and the slaves are sending correct data packets (i.e. correct protocol and reasonable data).  Termite indicates that the slave's response is being received by the PCI card, but the problem is that LabVIEW simply isn't reading the response from the card.  Each time the driver VI is run it returns a "timeout waiting for slave to respond" error.  
    The VI and slaves I am using are designed for both RS-232 and 485 communication.  I've verified the VI to run in 232 mode on a different COM port.  I also wrote a simple VI using the VISA functions to test the ports on the PCI card, but I've had the same results.  Hardware connections have been looked over carefully, but the fact that the card actually sends a correct message and receives a correct message indicates a different problem.
    Any idea why LabVIEW can talk to the PCI card but can't hear it?  Is there anything I can do about this, or does LabVIEW generally not like StarTech's PCI2S485 cards?
    Thanks,
    Tim

    Tim359 ha scritto:
    I have a master/slave setup with a 2-wire RS-485 connection via a StarTech PCI2S485 card  http://www.startech.com/product/PCI2S485-2-Port-PCI-RS-422-485-Card-with-DB9.  A Vista PC running LabVIEW 2010 is acting as the master to 6 slave devices.  I am running a driver VI supplied by the company that made the slaves. 
    I've used a terminal program called Termite to monitor the ports during operation and have concluded that both the PC and the slaves are sending correct data packets (i.e. correct protocol and reasonable data).  Termite indicates that the slave's response is being received by the PCI card, but the problem is that LabVIEW simply isn't reading the response from the card.  Each time the driver VI is run it returns a "timeout waiting for slave to respond" error.  
    The VI and slaves I am using are designed for both RS-232 and 485 communication.  I've verified the VI to run in 232 mode on a different COM port.  I also wrote a simple VI using the VISA functions to test the ports on the PCI card, but I've had the same results.  Hardware connections have been looked over carefully, but the fact that the card actually sends a correct message and receives a correct message indicates a different problem.
    Any idea why LabVIEW can talk to the PCI card but can't hear it?  Is there anything I can do about this, or does LabVIEW generally not like StarTech's PCI2S485 cards?
    Thanks,
    Tim
    RS232 interface consist of 2 indipendent communication crossed lines between 2 devices (9DSub connector: Pin 2-RX  Pin 3-TX pin 5-Gnd)
    RS485 interfaceis a bus, shared between 2 or more devices. (like ethernet or CAN Bus)
    This means that an incorrect use of the bus can lead to a "packet collision" if 2 or more devices try to send a message on the bus at the same time or at least their messages, partially "overlap"
    About 10 years ago I have used a PCI 2 RS485 port: I remember  that I have to change the status of RTS serial control line to switch between transmit and receive mode.
    This can be done using the serial VISA property:
    Serial Settings --> Modem Line Settings --> DTR State
    or using the VI
    <LabVIEW dir>\vi.lib\Instr\_sersup.llb\serial line ctrl.vi   (LV 8.6.1)
    The result was that the slave device connected, send me the response after few nanosec. causing the lost of the answer.
    because LabVIEW use more than some  nanosec. to change RTS property after sending message on the 485 bus calling a VISA Write.
    So for me there was 2 possibilities: 
    - use 2 RS485 port (1 for transmit 1 for receive echo transmit included)
     - use this converter  
             http://www.advantech.com/products/ADAM-4521/mod_2E78D425-8B08-43F6-81B0-1B924E53E075.aspx
     this converter, after sending a message on the bus, electronically switchs back to receive mode without losing a byte.
    But the question is :
    what does it means
    "RS-485 mode supports Auto Transceiver turn around (ATTA)"
    of your card?
    bye

  • How to read data from credit card reader

    Guys,
    We are planning to implement CASH DESK (FPCJ) interface,
    The requirement is when the user wants to pay his bill using his credit card by swiping on credit card machine (MAGTEK Made in TAIWAN) , I want read those detail and fill sap screen fields in FPCJ tcode like card number, name, expiration date and cvv number.
    Can someone please provide guidelines on how to interface with an external card
    reader to automatically get the card details into SAP when the card is
    swiped?
    Is there any event in FQEVENTS?
    I found one event 6065 and when I try to debug by putting the breakpoint in the function module it's not stopping me there, I mean it's trigger that event,
    could someone please help me to get those details...
    Thanks
    M
    Edited by: BABU P on Jul 9, 2008 4:14 PM

    Friends,
    I am able to read the the credit card details ,
    my next question is, How to activate the PAYMENT program to send credit card details to the 3rd party system .
    we are using 3rd parth system to validate the credit card and send back to SAP an authorization code..
    Can any please help to activate the PAYMENT program ,
    we created the RFC Destination(SM59) type TCPIP and given program id as: "paycard" gateway and gatewayservice,
    when click on test connection it is giving me below error.
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program paycard not registered
    Error Details     LOCATION:
    Error Details     DETAIL: TP paycard not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Wed Jul 23 14:47:38 2008
    Error Details     VERSION: 2
    can any one help me to activate the paycard program..
    Thanks
    M

  • How to read data from credit card reader  for CASH DESK (FPCJ)

    Guys,
    We are planning to implement CASH DESK (FPCJ) interface,
    The requirement is when the user wants to pay his bill using his credit card by swiping on credit card machine (MAGTEK Made in TAIWAN) , I want read those detail and fill sap screen fields in FPCJ tcode like card number, name, expiration date and cvv number.
    Can someone please provide guidelines on how to interface with an external card
    reader to automatically get the card details into SAP when the card is
    swiped?
    Is there any event in FQEVENTS?
    I found one event 6065 and when I try to debug by putting the breakpoint in the function module it's not stopping me there, I mean it's trigger that event,
    could someone please help me to get those details...
    Thanks
    M

    Hello,
    Instead of FPCJ, why do not you use T-Code FPB0 <<< from ECC onwards use FPCD>>>?. Here you have the option of mentioning Card details. This shall be stored in the data base table DFKKOPKC. Do remember that you need to comply with PCI data & remove the card data details from the above table.
    If needed, you can use events 1400 << gets triggered after you press 'Authorize'...call is made to a third party system that holds card data and validates the authencity of the card>> & 1401 can be used to edit 'Display' card data in FPB0.
    Hope this helps
    Rgds
    Rajendra

  • Ipad 3 won't read photos from sd card

    Tried both inserting card into camera connection and using cable connection from camera.  Neither work.

    Hello there, Debbyresq.
    The following Knowledge Base article provides some great recommendations and additional information on using the Apple iPad Camera Connection Kit with your device:
    iPad: Using the Apple iPad Camera Connection Kit
    http://support.apple.com/kb/ht4101
    Improving performance
    For best results and performance, see these guidelines:
    Connect the iPad Camera Connector or SD Card Reader directly to the iPad and digital camera.
    iPad Camera Connector only supports digital cameras and some USB audio/MIDI devices. Learn about using the iPad Camera Connector with unsupported USB devices.
    If your device isn't recognized, verify that it's configured correctly. See the user manual for your device for more information.
    Certain devices may be recognized only when used with a powered USB hub.
    Here are the supported SD cards and image-transfer protocols:
    Picture Transfer Protocol (PTP)
    Mass Storage Device protocol
    SDSC
    SDHC
    miniSD
    microSD
    MMC
    SDXC
    If your camera supports both PTP and Mass Storage Device modes, you may need to use both modes to import all media content. If some files don't import as expected using one mode, try switching to the other mode and importing again.
    Some cameras may refer to PTP as Pictbridge or PTP/Pictbridge.
    If you see a message that the "Attached volume appears to be invalid," make sure the SD card or digital media in the camera is correctly formatted.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Broken n85 read texts from memory card

    Hello,
    rant
    about a year ago bought the n85, broke after 10months - awesome - 
    because humidity in asia decided to colour my inside water marker pink 
    I don't have warranty anymore - brought it in @ nokia care Indonesia and what do you know ...
    it's not the display that's broken but the whole freakin motherboard: just what I deserve for being a loyal customer...
    they tell me it's same price as new phone to fix so...
    /rant
    got some important text / contacts on phone that i desperately need! assume they're on memorycard
    but can't use phone to read it, do have memorycard reader but no software (can't search memorycard with ovi software unfortunately) so what now ...
     thx in advance for kind souls out there
    -poor sob with broken first smartphone-

    oh well. i guess i'll just have to start from scratch then. thanks
    75% of the people will believe any made-up statistics they see in a signature just like this one.

  • Won't Sleep, Occasional Crashes From PCI Card...Even When It's Out?!?

    i put a cheap best buy USB card in my powermac. it's not a NEC chipset card, so it caused problems. the computer wouldn't go to sleep, and it crashed at seemingly random times.
    so i took the card out, but the computer still won't go to sleep. does the computer think it's still in there?

    What other USB devices do you have connected?
    Look at *Why your Mac might not sleep or stay in sleep mode*
    http://support.apple.com/kb/HT1776
     Cheers, Tom

  • Programming Labview for pulsing from PCI-6713

    Hello anyone
    I am new to Labview and programming NI cards. I currently have a PCI-6713 card. I would like to program this card to generate pulses from 3 output channels from the card. I would like to be able to program the shape, width and time delays of the pulses. Is there an example VI code that I can use to help me with starting on this task? I cannot seem to find any example VIs in the Labview 7.1 software I have on the computer for this purpose.
    Hope to hear from you soon.

    Hi magnushsu,
    I wasn't able to find any examples specific to generating an arbitrary waveform, but I did find one that reads waveform data from a file. This example uses a function generator to create the file, and then reads the data from the text file to generate the waveform. You will have to modify the text file point-by-point to create an arbitrary waveform. The example can be found in the NI Example Finder by selecting "Examples" from the pulldown menu next to "Open" on the splash screen. Search for "Hardware Input and Output >> DAQmx >> Analog Generation >> Voltage >> Gen Mult Volt Updates-Text File Source.vi
    I hope this info helps,
    Michael Chaney
    Systems Engineer - TestStand
    National Instruments

  • IPod touch will not work with USB 2.0 PCI Card?

    I have a dual processor PowerMac G4 that has USB 2.0 via a PCI card. When I plug in the iPod nothing at all happens. I haven't read anything about PCI cards not being compatible with the touch. Is anyone else having this problem?

    Just thought I'd add my 2 cents...I've got the same problem...I've had a Keyspan USB 2.0 5 port card in my Dual MDD G4 for years and it's worked fine. Well, until a few days ago when I tried updating some stuff on our iPods. It would initially start working then lose connection. Now nothing at all with 5 iPods. It won't even show up on the desktop under Disk Mode. I did the same and it works fine under the old stock USB 1.0 but slooooooowwww. Is this yet another problem with Leopard? I've searched the Keyspan site and they don't have any updated drivers. Guess I'll look for a Belkin as well...ugh!!! Leopard is horrible! First no printer drivers, then no iSub support, now this!

  • Synchronized sampling from PCI-mounted card and PXI-mounted card

    Hi, everyone
    My latest problem concerns sampling. I need to acquire samples from around 20 different (differential) channels and my PCI-card (NI-6224) has only 16 differential inputs. I do, however, have another card (NI-6229) mounted in our PXI-system. This PXI-system seems to be connected to the computer with a network cable. When i try to perform synchronized sampling from these cards with the PCI-card as master I get an error message saying that these cards cannot cooperate. There must be a way to do this...?
    I'm using DAQmx and labview 8
    Einar

    Hello!
    It is just a matter of taste I guess but I think PXI chassis and synchronization is more convenient since you don’t have to care about physical wires or a RTSI cable.
    Data will be stored at your host since it is the Windows application and LabVIEW with its DAQmx Read functions that actually transfer the data from the buffer created by DAQmx to LabVIEWs memory space in RAM.
    Regards,
    Jimmie Adolph
    Systems Engineer Manager, National Instruments Northern Region
    Bring Me The Horizon - Sempiternal

  • Pci card dial up telephone modem from a windows pc in my mac?

    Hi,
    My B/W g3 has Tiger running stably. Can I pull a pci card dial up telephone modem from a windows pc and use it in my mac under Tiger?
    Special drivers needed?
    Thanks,
    Louis
    B/W   Mac OS X (10.4.3)  

    There is not nor AFAIK has there ever been a PCI modem that worked with Macs. You need an Apple internal modem or an external modem. I use an external serial modem with a Keyspan USB to Serial adapter. You could also use an airport base station as these have modems built in as well.

  • PCI 6036E/SC 2075, can read only from ch 2, need to use both. help please

    I have interfaced DAQ PCI 6036-E with SC2075. I wrote a code to get data from analog input chl 1 and ch 2. I am getting data only from ch1. cables and hardware connected to sc2075 had been tested and are working properly. help please .Also, is it possible to test those channels from measurement and automation explorer and how ?.thanks

    Greetings,
    Yes, it is possible to test these analog input channels in Measurement & Automation Explorer (MAX). To do so, expand Devices and Interfaces, right-click on the PCI-6036E, and select Test Panels. On the Analog Input tab, you can set the Channel control to any of the device's channels. If both CH1 and CH2 function correctly in MAX, you will need to troubleshoot your code.
    Good luck with your application.
    Spencer S.

  • Error 200141 when trying to measure motor encoder's speed from PCI 6221 card,

    Hi,
             I was trying to measure angular speed of a motor from its encoder signal. I'm using Ctr pin from PCI 6221 card take signals from the encoders. The problem comes when I've got an Error-200141 saying "data was overwritten before it could be read". I have tried a few ways as follows to overcome this problem.
         - Use DMA
         - Get rid of the noise from the signal by shielding the wire from encoder to DAQ card and using a capacitor.
            None of those seemed to solve the problem completely. Even though the noise from the signal was removed, I could still see the mechanical glitter at the edge of all the pulses from the oscilloscope. Is that a possible cause of this problem (my technician told me we can do nothing with this glitter. In other words, we can't remove it)?
            Please suggest me how to solve this Error-200141. With this message, I have also attached VI.
            Thank you very much.
       Regards,
       Suksun
    Attachments:
    Meas Dig Period-Buffered-Continuous-Low Freq 1 Ctr_Angular speed from encoder.vi ‏72 KB

    Hi Suksun,
    Only had a quick glance at your code, but can you drop the samples to read to 100.
    I think what the problem is from what I can make of your code, is that
    you have a low frequency counter, that you measure on the rising edge,
    however if you don't get a 1000 pulses within 100 seconds, DAQmx will
    report an error. So by lowering the number of samples to read you
    should be able to get 100 samples in 100 seconds, you should not
    overwrite data as the buffer will be sized correctly.
    Hope this help
    Regards
    JamesC
    NIUK AE

  • Boot MEGA 180 from PCI Sata card

    My onboard IDE controller has given up the ghost so I have purchased a PCI sata card to use a spare sata disk, the problem is I can't see any way to get the 180 to boot from the PCI card.  Anyone any ideas?

    Yep - I disabled the PATA ports.
    No - the card has no bios - I guess this is the problem.

Maybe you are looking for

  • Absence Quota generation / Accruals

    Hi Gurus, I am trying to configure Absence Quotas with the below mentioned rules. 1. To be eligible for PTO you must be on the payroll at least 6 months at which time 20 hours of Paid Time Off is granted. 2. In the second year of employment an employ

  • "Disk Insertion" error message... and well, no disk!

    hi i just removed Office 2004 from my Mac (having switched over to Mail) and upon restarting my MacBook, i now get the following error message: *Disk Insertion* *The disk you inserted was not readable by this computer.* i can select EJECT or IGNORE.

  • Can't shutdown as user

    Hi, I just followed the Wiki-Entry on how to make users able to shutdown/reboot the system, but I get the following error: user /home/user $ sudo halt sudo: sorry, you are not allowed to preserve the environment My sudoers file: Defaults:user timesta

  • HT4623 help with iOS7 how do you kill the programs that you visit on your phone to save the battery life?

    how to kill programs with IOS7 that you visit on your iphone to save the battery?

  • My first Java compile error!

    I'm not new to programming but I am to Java, I like it so far and I know I have a long way to go. I just started an online training course in Java and the second program to write was this: import java.awt.Frame; import java.awt.Label; public class Ho