Multi-port​, bi direction DIO on older PCI-1200 card

Hopefully this is a simple request. I simply want to designate one of the (3) ports on a PCI-1200 card as an output port, and another as an input port. I seem to be able to do one or the other, but cannot initialize both. I'm attempting to run the dio_config to get (2) task id's. I'm beginning to think this isn't the correct approach. However, I haven't come across any examples where more than one port is initialized; one for output, one for input. Help!
Thanks,
-C

Hello C,
The problem you are having is probably due to the fact that when you configure one port, it resets the other. I�m attaching an example that shows how to configure all three ports without having them reset each other. The example sets them all the write, but should work when one is set to read.
If none of these suggestions help, or if I�m not correctly understanding your issue, please post the software and versions you are using, the applicable portions of your code, and any other information that may help, and I�ll be happy to look further into it.
Please let me know if this example doesn�t work for you, and have a nice day!
Robert M
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
Attachments:
Write_to_Digital_Ports.vi ‏82 KB

Similar Messages

  • Would PCI-1200 card be usable for Mac G-5 with Mac OS X if I use DDK?

    I am migrating from a old Power Mac with Mac OS 9 to
    Mac G-5 with Mac OS X but still would like to keep the PCI-1200 perfectly working. Can use use DDK to make it work since NI-DAQ is not uptodate with Mac G-5 and OS X?

    Greetings,
    According to the following KnowledgeBase, the PCI-1200 is not supported by the Measurement Hardware DDK.
    KnowledgeBase: Measurement Hardware Driver Development Kit Frequently Asked Questions
    Thus, you would need to use the PCI-1200's Register-Level Programmer Manual (link available below). If you want to use the Measurement Hardware DDK, you may want to consider replacing the PCI-1200 with an E Series device.
    PCI-1200 Register-Level Programmer Manual Multifunction I/O Board for PCI Bus Computers
    Good luck with yo
    ur application.
    Spencer S.

  • Ramping a pulse signal using PCI-6602 card

    I'm controlling a stepper motor and need a continuous pulse output with variable frequency. I need to accelerate and decelerate teh motor (It can't start immediately at a high frequency but needs to be ramped up to it). I can't have any hiccups in the signal or the motor can stall. It seemed I had my own ramp program written (which gradually increased the frequency value sent to the counter) to solve this problem, but when I switched to Office2000 I started getting hiccups in my signal. I also have a PCI 1200 card and could use A/O but I think using the counter signals would be better. If I'm wrong let me know. Once I have the motor up to speed I am reading in a pulse signal to analyze with FFT.
    thanks for y
    our help.

    A few thoughts & musings, hope some of them are useful:
    1. The sequence for setting a new frequency should be to first load up the new pulse specs (use 1 & 2, not 3 & 4), then issue the "switch cycle" command to 'Counter Control.vi' You can look at NI's example program called 'Pulse Width Modulator' to verify syntax.
    2. If your frequencies are low enough and your loop time is fast enough, you may be trying to update the pulse specs before the previous specs have completed a full cycle. This has traditionally been a no-no, though I'm not 100% sure that it remains one with the latest NI-DAQ drivers.
    3. No ideas about the possible interaction with MS Windows and/or Office 2000. Haven't used either.
    4. (My own latest installment in a multi-year running gripe at NI): Wh
    en oh when will we be granted the ability to perform buffered counter OUTPUT operations? Just as in the analog world, one can acquire a signal with AI and then reproduce it with AO, it would be REALLY REALLY handy in the counter world to measure with buffered semi-periods and then reproduce the same pulse train with a buffered output.

  • Win98 forgets PCI-1200 config on reboot

    After installing NIDAQ 6.9.3 then installing my PCI-1200 card the system works great. When I power down the computer and restart, I get the error "device is not responding to the base address" when I try to run a test panel in NI-MAX. Has anyone else run into this issue and is there a solution?
    p.s. It's a Win98SE system with Labview 5.1 installed.
    Thanks.

    There are a couple of reasons that a device might fail this test.
    Some times windows is not able to set up the appropriate resources. Try switching to a different slop in the machine.
    It is possible for the device to be in an unsafe state that results in this failure as well. Open a new LabVIEW VI and place the Device Rest.vi on the diagram. Next, double click on the Device Reset.vi to open it up. Verify the device number is set to the correct value and run the VI. It should take about 5 to 10 seconds and the error status should still be 0. Now try running the Test Resources in the Properties page in MAX for the device or try running the test panel again.
    When you upgraded to 6.9.3, did you remove the previous version of NI-DAQ first? This can cause
    strange issues to come up, because it is possible to have parts of each version on the machine at one time. I would suggest uninstalling and reinstalling NI-DAQ in this case and make sure you remove the device from the computer before uninstalling and reinstall the hardware after you have performed the reinstall.
    I hope this helps out,
    Joshua

  • Is it possible to use PCI-1200 on the DAQ Signal Accessory?

    Is it possible to use PCI-1200 on the DAQ Signal Accessory? The documentation for the Daq signal accessory did not mention explicitly whether it
    supports the PCI-1200 specifically or not?

    Hi,
    Yes, you can. According to the manual, the DAQ Signal Accessory is compatible with Lab / 1200 series devices -- this includes the PCI-1200 card.
    Regards,
    RamziH.

  • PCI-1200 and Labview7

    How can I get a pci-1200 card to work under LabVIEW 7?

    Hi
    It's important to know that the PCI-1200 is not supported by NI-DAQ 7.0 (NI-DAQ 7.0 Traditional and NI-DAQmx). If you've installed this driver version (NI-DAQ 7.0) then you must uninstall it, and install NI-DAQ 6.9.3. This will work with LV 7.0. Of course you cannot use new DAQ features (DAQ Assistant,...) with the 6.9.3 version. Check this to see which board is supported by which driver version:
    http://www.ni.com/support/daq/versions.htm
    Regards,
    Luca
    Regards,
    Luca

  • Accessing full 32 DIO lines on PCI-6602 in C++

    Hi,
    I have seen a couple of posts on this topic, but none seem to contain an answer to the question, and the documentation in the Register Level Programming Manual appears to be incomplete.
    We need to access the full 32 DIO lines on the PCI-6602 card; however, only the first 8 lines (those driven by the STC) are documented.  Is there any example code or further info that would allow us to use this functionality? 
    We are programming in C++, using the Driver Development Kit, in QNX.
    Any help would be much appreciated.
    Cheers,
    Monte

    The 32-bit digital port registers were not included in the chipobject (by mistake).  The digital intput register is at offset 0x414 and the digital output register is at 0x510.  To access them you can use the tAddressSpace object directly:
    u32 value;
    value = Bar1.readU32(0x414); // read digital 32-bit port
    Bar1.writeU32 (0x510, value); // write digital 32-bit port
    For configuration, use the IO_Pin_x_x_Configuration_Register registers to configure the line for input or output. 
    For example,  to configure line 0 and 1 for input
    tio->IO_Pin_0_1_Configuration_Register.setIO_Filter_0_Select (0); // no filter
    tio->IO_Pin_0_1_Configuration_Register.setIO_Pin_0_Select (0); //input
    tio->IO_Pin_0_1_Configuration_Register.setIO_Filter_1_Select (0); // no filter
    tio->IO_Pin_0_1_Configuration_Register.setIO_Pin_1_Select (0); //input
    tio->IO_Pin_0_1_Configuration_Register.flush (0);
    or lines 29, 30 and 31 for output:
    tio->IO_Pin_28_29_Configuration_Register.setIO_Filter_29_Select (0); //no filter
    tio->IO_Pin_28_29_Configuration_Register.setIO_Pin_29_Select (2); // digital output
    tio->IO_Pin_28_29_Configuration_Register.flush (0);
    tio->IO_Pin_30_31_Configuration_Register.setIO_Filter_30_Select (0); //no filter
    tio->IO_Pin_30_31_Configuration_Register.setIO_Pin_30_Select (2); // digital output
    tio->IO_Pin_30_31_Configuration_Register.setIO_Filter_31_Select (0); //no filter
    tio->IO_Pin_30_31_Configuration_Register.setIO_Pin_31_Select (2); // digital output
    tio->IO_Pin_30_31_Configuration_Register.flush (0);
    valid values for the select field are:
    0 - input
    1 - counter output
    2 - digital output
    I hope this helps.

  • External hard drive not working in USB multi-port adapter

    Hi,
    I was wondering if anyone had a suggestion...I got a new My Passport Essential portable external hard-drive. I have a Belkin multi (4) USB adapter and when I plug the hard-drive in, it won't recognize it. It only works if I directly plug it into one of the two USB ports on my computer. Does anyone know of a USB multi-port adapter that would have sufficient power for me to plug my hard-drive into it? The cord is too big and bulky to plug it into my other USB port on my laptop with the adapter in place, so I either have to get another adapter or try another external hard-drive.
    thank you! Robin DySard

    Hi UKPOL,
    Please refer to this How to Geek article.
    Win 8.1 no longer supports a graphical interface for backing up files or creating system images. You must use powershell or Win 8.1's reset/refresh options.
    You can also create custom refresh images. Please see this article. The instructions also work with Win 8.1.
    You would have to use third party backup software for backing up files and folders.
    Jaco
    ****I am not an HP employee****
    Please give a" Kudos" if advice received is relevant or" Accept as Solution" if your problem has been solved.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++
    H8 1380t CTO, Intel i7 3820
    16 GB DDR3
    Pegatron Motherboard- IPIWB-PB (Pittsburgh), Radeon HD 7570 1GB. Win 7 Home Premium upgraded to Windows 8.1 Pro.
    Envy Phoenix 810-150se, Intel i7 4820k
    12 GB DDR3
    Pittsburgh2 Mainboard, NVIDIA GTX 645- 2GB GDDR5. Win 8.1 Pro.
    HP 560z CTO AMD Phenom II X6 1090T
    16 GB DDR3.
    Radeon HD 6570
    Win 7 Home Premium upgraded to Win 7 Pro.
    HP ENVY 17t-j000 CTO Quad Edition Notebook. I7 4702mq
    12 GB DDR3
    Nvidia Graphics
    Win 8 Pro
    Errare humanum est.

  • 100mbps multi-port fiber card for Sol10?

    Does anyone know of a multi-port fiber card (PCI) with Solaris 10 support that supports 100Base-FX ? We have a requirement to provide 4 such ports for a customer, and are having a tough time finding such a beast. We can use either quad-port or 2 dual-port cards, but we don't have enough available PCI slots to use 4 single-port cards.
    Basically, we're looking for something similar to this, but with support for Solaris 10:
    http://www.aei-it.com/hardware/fastenet/p430fx.htm
    We've been informed by the vendor that these only support up to Sol 8. We're working on getting eval units in, but are wondering if anyone has used anything similar in the past?
    Thanks!
    Eric

    Due to customer specification constraints, media converters/switches are unacceptable. :( First thing we thought of, too. Also, 3 of the 4 ports are connecting to 100mbps digital hardware boards via UDP, so the mixed speeds probably wouldn't work out if we were to use gigabit fiber.
    Eric

  • How do I configure ports for PCI-1200 using LabWindows/CVI?

    I want to use 2 ports of the PCI-1200 DIO ports as oup ports. Whenever I write to a port using WriteToDigitalPort, the other port will be reset.
    Shoud I congigure the ports at the beginning of the program? If so How do I do it?
    (LabWindows 5.5)

    I would suggest using the lower level NI-DAQ functions instead of the Easy I/O functions. (You have a lot more flexablity this way.) To configure seperate ports use the function DIG_Prt_Config, then instead of using WriteToDigitalPort, use DIG_OutPort. Here is an example that writes to one port using these NI-DAQ functions. All you need to do to write to two ports is add two lines in; another DIG_Prt_Config and another DIG_Out_Port.
    Good luck and let me know if this does not work for you.
    Brian
    Attachments:
    DOOnePort.zip ‏4 KB

  • Multi-port SATA cards?

    Howdy,
    I�m trying to build a Solaris x86 machine that has at least 15 SATA hard drives. In order to do so I�m trying to find and multi-port SATA card that Solaris will work with. Solaris has a few SCSI RAID cards on it�s HCL but no SATA RAID cards. I don�t really want a RAID card since I want to use ZFS to manage the disks. Does anyone have pointers to multi-port SATA cards that will work?
    hpaul

    From looking at the source, the Solaris "aac" driver appears to
    support a SATA RAID host controller (Adaptec 2410SA):
    http://cvs.opensolaris.org/source/xref/on/usr/src/uts/intel/io/aac/aac.c#204
    I'm not sure how well it works.
    I seems that the new "sata framework" will be integrated / delivered
    with Solaris Express soon. I hope that'll allow the use of standard
    pci sata controllers in sata native mode
    .

  • I have a PCI-FBUS card (dual port), can't connect over 60 devices to it?

    I connect to various Fieldbus devices (all from the same manufacturer and same type as we are an OEM) that I am testing (I have 80 in my test system).  I have the dual port PCI Fieldbus card and am running communication manager 3.2 on Windows XP with service pack 2.  As part of my pretest (getting the devices on the bus and assigning them a unique address) I connect to a device and change its address to 20 and power off the device to have it drop off the bus then relay in the next device and connect to it and change the address to 21 etc etc---this process makes it easiest for me as then all I have to do is connect to the only device on the bus and know that it is the device I am interested in assigning to it a new unique address as the others are not on the bus.  I am able to get 30 devices per port (60 devices total since I have a dual port card).  After the 30th device is connected, albeit no devices show up on the bus since they are all powered off, I relay in my 31st device but I can't connect to it on a given port (at this point I have 30 devices that were connected to each port but are now powered off).  I have the card configured to operate within the address range of 16-102 for both ports.
    What is the limit of the number of devices that can be connected to a given port?  What would be the recommended way of connected say 80 devices to a PCI card (40 per port).  For my application, after the so called pretest is complete, I do have to have up to 8 devices powered on at the same time (4 per port) so that is why I want to keep the addresses unique per device.  By the way I know this is not a physical connection issue with my station as I can connect to all devices when I limit my test to 60 devices (i.e. I can do the first 60 or the last 60 so the wiring etc is good as well as my assigned address space/parameters for the NI card).
    Some of My NI card parameters are,
    Dlme Link Master Info,
    Dlme Scheduling Overhead 4
    Def Min Token Deleg Time 84
    Def Token Hold Time 700
    Target Token Rot Time 4096
    Link Maint Tok Hold Time 0x0
    Time Distribution Period 5000
    Max Inactivity to claim Las Delav 100
    Las DB Spdu Distri Period 200
    System Management Info,
    Primary Time Master 0x10
    T1 0x75300
    T2 0x2bf200
    T3 0x15f900
    Clock Sync Interval 10
    Dlme Basic Info,
    slot time 8
    Slpdu Phl Overhead 0
    Max Response Delay 10
    First Unpolled Node 0x66
    Number of Unpolled Node 0x79
    This link 0
    Min Inter-Pdu Delay 16
    Preamble Extension 0
    Post Trans Gap Extension 0
    Max Inter Chan Signal Skew 0
    Time Sync Class 1ms
    Thanks
    Jim

    Hello Jim,
    In NI-FBUS, the max number of devices that can be connected to a segment (port) at one same time is 32. This value is defined by FF specification.
    Please try the following method.
    After connecting the 30th device, restart NI-FBUS Communications Manager (CM), then connect the 31th device. Check whether the problem still occurs.
    Regards
    Feilian (Vince) Shen

  • TS2002 using a multi-port adapter to increase the number of USB ports - affects system functioning?  Port priority?  In advance, I send my thanks!

    Hello.  I've never "started a discussion" before.  Ah well I've always had good luck with the communities so here goes.  Today I plugged a Belkin multi-port adapter into my MacBook Pro running OS X Version 10.6.8  This enabled me to plug in my keyboard; mouse and printer.   Yes after two years I wanted to be back to an independent full keyboard and mouse.  BUT ALAS!  Now the little spinning wheel keeps appeariing while I'm on the Internet and I learned through my "Help" app that I have "slow start-up, pausing at Initializing network or "Configuring network time"  (sounds like some of the men I've dated).
    Could it be the multi-port adapter?  Should I use a different model?  The abiltiy to have the printer; keyboard and mouse all connected at the same time is important to my work. 
    In advance, I send my thanks!
    Jeannie-Marie

    I think it is the server socket which controls the number of client sockets to be opened. The number of connections that are accepted by the server socket is called the backlog of server socket. By default its value is 50. (See java.net.ServerSocket class in java docs)...
    we can specify the backlog in the constructor of server socket...
    ~pacific

  • How to avoid dependance between output digital port with a PCI 1200 daq card?

    Hello,
    I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
    I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
    How to configure a robust state (high logic level) on a line of a port??
    Does anybody have an idea on this problem?
    Thanks a lot in advance and happy new year to the community
    JF LAVEZARD

    jflab a écrit:
    Hello,
    I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
    I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
    How to configure a robust state (high logic level) on a line of a port??
    Does anybody have an idea on this problem?
    Thanks a lot in advance and happy new year to the community
    JF LAVEZARD
    Hello,
    I've found the problem
    The PCI1200 has a chip 8255 for Digital I/O
    If I use the bad VI, it reconfigures the port and all the lines go in a low logic state
    so I'd to write only on the port or the line without reconfigure the port
    So the good VI in the palett is: Port Write and not Digital Port write!
    See attached file..
    Thanks
    Best Regards
    Attachments:
    port_dio.jpg ‏771 KB

  • Display Multi Port S-Parameter data

    Hi,
    there are a lot of programs out to display 2 Port S-Parameter. But what I'm missing is a software that is able to plot Multi port S-parameter data. I would think of some kind of Matrix where you can just select any Port combination that you would like to be displayed by a matrix of boolean selectors. I guess Labview would be an ideal tool for implementing a method for displaying S11, S21, FEXT and NEXT. 
    Does anybody know if there is an exisisting VI that allows to plot multiport S-Parameter data ?
    Thanks and regards
    Hermann

    Hi Marco,
    thanks for the Feedback.
    Í understand, that everything is possible ... I just hoped, that I don't have to programm it on my own  ;-), as such a VI would be something many people could need.
    There is a nice vi to display a TDMS file. I'm looking for something similar for S-parameters.
    One Example: I do have two 10 Port S-Parameter sets from two different connector vendors and I would like to compare it. Not only displaying and comparing it, but also converting it from Single ended to Differential would be interesting. 
    But I guess as you mentioned, that there is no "special" example vi on the web I have to implement it on my own  :-(
    Regards
    Hermann

Maybe you are looking for

  • Adding multiple devices from different users to one find my iphone account.

    I want to add my daughters iPhone to my "Find my Iphone" app in iCloud. She has her own apple id. How can I do this? I have my others daughter on there and I dont know how i did it.

  • Can't get WRT54G to start up, gets stuck at "checking computer settings"

    Can't get WRT54G to start up, gets stuck at "checking computer settings" at 99% Please help! If I hit the escape key it will go to the password screen, it looks like the password is already entered for me so I hit enter, but then it just goes back to

  • Absence report restricted to organisational unit

    Hi Experts, We want to make the absence report restricted to few org units. That is if we authorize a user to access the absence report, he/she should only be able to view for specific org units (say for A and B org unit). Can anyone pls help ? Many

  • In user exit i wants to change EKPO-LOEKZ field

    Dear All, I want change the ekkpo-LOEKZ field at the time of saving. I'm using EXIT_SAPMM06E_012 Exit to do the changes but it s not geting update. Can any one Help me on this issues?. Thanks in Advance. Regards,

  • Why can't i remove my start up programs?

    I have 2 programs that launch in Start up (Windows Messenger and utorrent). But i don't want them to launch on start up. So i go to Users & Groups Preferences from the Menu Bar and i click Login Items. Then i click the lock because i want to make cha