How to program PCIE-6509 with C#

Hi there,
I have an NI PCIe-6509 digital IO card. I want to program to set the 96 chanels high/low by using C# programming language and I have no idea where to start. Can someone point me to the right direction? Is there any sample C# code related to NI PCIe-6509?
Ps. i am using windows 7, 64bit operating system and visual studio 2010.
Regards

You might have to uninstall and reinstall the DAQmx driver again.
Here are the snapshot for your example references.

Similar Messages

  • How to program a screensaver with java???

    Hi all,
    Can someone tell em how to program a screensaver with java, and how should i begin ? or maybe someone know any useful information source?
    thanks a lot.
    ck

    A quick google search gives me, among lots of other things:
    http://kevinkelley.mystarband.net/java/sava.html
    Good luck
    Lee

  • How to program myRIO processor with LabVIEW?

    Hi,
    I am working on a project using myRIO. Now, I have a labview program and it can run very well on PC, with usb connection to myRIO. What I want to do next is to run this LabVIEW program on myRIO processor, without the PC. How can this be realized? Thanks!
    Even a very simple example of LabVIEW program, such as light up a LED is also helpful, if only it can run independently on the myRIO processor.

    Hello Aoyu,
    Ima chime in since i ran into this problem myself just now lol
    im still noob myself, so bare with my advise =P
    1. The VIs run on which processor? The myRIO processor or the PC processor?
    According to the pic you linked both of those VI are running on your target devise not your pc, at this stage you should be able to open one or both of those VIs on you PC and see what is happeneing in Real Time
    2. If the program run on myRIO processor, why it stops running as soon as I disconnect the USB between myRIO and my PC?
    From what i understand this is happeneing because you have not set a build specificatgion for your particular VI...
    if you right click on Build Specification>Source Files>project Files - add your project file VI by clicking the right arrow to Startup VIs and click build
    now you should see a new file under build specs right click on that and click set as sartup and run at startup and a promt windpow should pop up asking you to reboot
    *** I still dont fully understand this proccess and i might be wrong but maybe someone else can elaborate a little more***
    3. How to run a program on myRIO independent of PC?
    As vague as this question is i think i can shed some light on the subject...
    If you develop a code to run on your PC you most likely will not be able to just drag and drop it to run on your target device...
    if you right click and create a new VI under both "my computer" and your "myRIO" and then right click on both the front pannels of each VI you will notice that some of the options that are available on the front panel of the my computer VI will not be available for the front pannel of the myRIO VI...
    With that said if you have developed your VI for a PC platform, and drag and drop it under your myRIO and open it you will most likely see broken wires and a list of errors =P
    (this happened to me)
    Ill share a link to a thread that helped me out with this problem maybe you can find your answer there =)
    Understanding the platform you are developing for
    I started posting on page 3 about 1/2 way down you should start there and read the next 2 pages... i think there is some good information there that should help you out with this question =)
    GOOD LUCK!

  • How to program the FPGA with compact flash without using IMPACT

    hi;
    I want to load my download.bit generated by the EDK tool in the compact flash to program the FPGA (spartan 3a for dsp),
    please anyone help me to program my FPGA (spartan 3a for dsp) using the compact flash without using IMPACT

    check if the following link helps
    http://www.xilinx.com/products/intellectual-property/xps_sysace.html

  • How to visualise continues Data aquisition from a PCI 6602 with 2121 BNC connector board in C++ ?

    Hello everyone,
    We are trying to get on the screen the aquired pulses from our  PCI 6602 with a 2121 BNC connector board, from several devices. We are able to read the data and save without problem, but we cannot look at it while we are measuring. Anybody has an idea to how program this in C++ ? Any suggestion is welcome!
    Thanks for the help

    Hi,
    try to look for some example programs and Tutorials:
    Examples Results
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:ex/q/DAQmx%20C%2B%2B/...
    Tutorials Results
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:tu/q/DAQmx%20C%2B%2B/...
    You should also have a look at the "C Reference Help" which is installed with the NI DAQmx driver.
    Acquire N Scans (Visual C++ 6.0, CW++, NI-DAQ)
    http://zone.ni.com/devzone/cda/epd/p/id/207
    Continuous Analog Acquisition with Producer Consumer Architecture in C#
    https://decibel.ni.com/content/docs/DOC-4253
    Good Luck!
    Matteo

  • PCI-6509 example program doesn't run

    I can compile the "Write Dlg Chan-Watchdog Timer.dsw" sample program, but when I run it I get errors. Please help me to understand what I am doing wrong.
    Attachments:
    PCI6509_output.rtf ‏1 KB

    Anna,
    When I tested this example with the PCI-6509, I did not receive any errors. However, if I intentionally delayed the resetting of the watchdog timer, I was able to generate the -200644 error. The following function performs this reset:
    DAQmxErrChk( DAQmxControlWatchdogTask(wdTaskHandle, DAQmx_Val_ResetTimer));
    Did you make any modifications to the example? To troubleshoot this issue further, you should try increasing the watchdog timer's timeout using the following function:
    DAQmxErrChk (DAQmxCreateWatchdogTimerTask(device,"wd",wdTaskHandle,timeout,physChan,expirationState,NULL));
    Spencer S.

  • How can i write a pattern to a output port of NI PCI 6503 with Traditional NI DAQ 7.0 and Visual Basic 6.0?

    Hello, i'm using a NI PCI-6503 (with CB50LP accesory) to write digital patterns to one of the output ports. Can i do it directly from NIDAQ7.0?
    I know  some Visual Basic 6.0 functions to configure a par as output and to write a pattern to a port, but i don't know how run it.
    I've read some examples from "Help" (C:\Program Files\National Instruments\NI-DAQ\Examples\VBasic\Do) but I can't measuring TTL levels on my CB50LP accesory.
                    Thanks!!

    Hello,
    What is your buffer size ? The buffer should be 0 or greater than 2. You can get this error if your buffer size is equal to 1.
    Regards,
    Isabelle
    National Instruments France
    Isabelle
    Ingénieur d'applications
    National Instruments France

  • How to program with different device by NI-VISA?

    Dear NIer:
    firstly I will list my enviroment.
    SW:Labwindows/cvi 5.5/VISA/MAX.
    HW:HP pc/pci-gpib/GPIB-VXI/DD42916.
    QUESTION:
    1 MAX always think GPIB-VXI/C and DD42916 as a GPIB device.Why don't they think these devices listed above as a VXI device?
    2 Since MAX think DDC42916 as a GPIB device, and DDC42916 supports word serial communication, How can I program with this message-based device by NI-VISA?
    I searched for appropriate function in NI-VISA ref manual,but I failed.VXI WSPRotocal COMMand is not suitable here evidently.
    3 Then how can I program the other device like register-based device and memory-based device under this circumstance?
    4 if slot0 controller changed from GPIB/VXI to 1394/VXI
    ,then how to program?

    east-
    I see this question was answered (and then discussed again in depth) in the VISA forum. I'm posting these links in case anyone looks here for an answer.
    -Scot

  • NI PCIe-6509 register level programming

    I'm asking National personnel, who is responsible for device driver developing, to give me information about register level programming. Programming this board using DAQmx software is too slow for us - about 2,5MHz is the maximum for one pin.
    I've already have RLP for PCI version of this board, but PCIe is different - only one BAR is available - and size of memory region also differ (512K). I've written skeleton kernel module for this board - and now problems to attach to hardware, but information absence stops me to progress further.
    Please, help me.

    Yes, RLP for the PCIe-6509 is different than for the PCI-6509. Looking at the hardware itself, you can see we've used different ASICs. The newer express revision has two STC3 ASICs while the previous PCI revision has two STC2 ASICs. These chips are different as you've encountered and thus their programming is also different.
    Unfortunately, we do not have any RLP information for the STC3 at this time, nor do we have projections for when it will be made available. If this is an urgent need, please contact your local sales or support engineer and we may be able to work with your further.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • How to program a midi foot controller on Mainstage? Does anyone knows how to program the foot controller with exclusive solo channel in order not to dance "tip tap" while from clean guitar I go to crunch or solo? How to do this programming on Mainstage?

    How to program a midi foot controller on Mainstage? Does anyone knows how to program the foot controller with exclusive solo channel in order not to dance "tip tap" while from clean guitar I go to crunch or solo? How to do this programming on Mainstage?
    I basically managed to learn how to invert parameters which allows me to be as default in the clean guitar channel and if I switch the first button on the midi foot controller I switch to crunch, but at this point I tryied so hard to programm the second and third button to switch, only through a button in one step, to a third channel for distorsion or a 4th channel for solo guitar but I couldn't figured out how this work can be done!
    I would appreciate if anyone could help or share this experience with others who are experiencing the same problem.
    Cheers.
    F.

    I cannot seem to get mainstage to recognize my FCB either. I am using IFCB. Anyone figure this out?
    Thanks,
    Eric

  • How can I sign up with Enterprise program, while I have an active membership of the iOS developer program?

    How can I sign up with Enterprise program, while I have an active membership of the iOS developer program?
    I have bought a memership for the iOS Developer program.
    I have created an in-house app.
    Now I want to publish it to all employees without registering the devices.
    So..
    I go to their website and try to sign up for the enterprise program, image shown below:
    http://s29.postimg.org/q06ylh5o6/Clipboard01.jpg
    Within the image above, I click continue...
    http://s14.postimg.org/46lqcpy74/Clipboard02.jpg
    Then I am taken to the image above, there I need to select a program, but I already have a program, the iOS developer program!  And the checkbutton of that program, is disabled. If I try to click continue at this page, without sleecting a program, a javascript-box shows "You have to select a program before continuging"...
    Do I need to unsubscribe my iOS developer program, to then register it again? Lol!
    PS: no clue where I should post this, looked over the forums and could not see anything related to singing up, registering for a program...

    Our apps came offline automatically shortly after this as iTunesConnect thought we had not renewed our license, even though we had several weeks ago.
    We had a brief panic as our apps were offline for 12 hours, which is how long it took Apple Support to work out what was wrong and hook things up. 
    I suggest you contact them ASAP to get this fixed so you don't get that iTunesConnect alert to your phone 'Your app status has been changed to Pending Contract'.

  • How does the PCI-6229 DAQ-card communicate with CB-68LP connector block?

    Hello!
    I want to do a very simple task which is to just turn on/off a LED. I am using LabVIEW 7.1 and I have a DAQ-card PCI-6229. The DAQ-card is then wired to a connector block CB-68LP.
    Now my problem is to figure out how the connector block communicates with the DAQ-card?
    In the file I attached there is a picture of connector block and the device pinouts from the DAQ-card. But how do I know which of pinouts triggers some connector on the connectorblock?
    Which are digital outputs on the DAQ-card?
    Where can I read about this?
    Attachments:
    daqANDconnectorblock.bmp ‏2437 KB

    Hello asc01001:
    The digital pins of the PCI-6229 are labelled as Px.y, where x is the port name while y is the channel name.  For example, pin52 of the NI 6229 is P0.0; which is also port 0, channel 0 of the digital I/O of the DAQ card.
    While "D GND", which are located at pin53, pin18, pin50, etc. are the negative terminal of all digital I/O of the DAQ cards.
    Please advice if this helps.

  • I purchased a powermac pro and it came with logic Pro 9 (but with out the additional suite of programs that comes with). How can I reregister or reinstall Logic Pro 9 to get those features?

    I could really use some insight into this please also how many gigs of RAM should my power mac have it only has two right now and logic tends to glitch up majorly.

    My original question :
    I purchased a powermac pro and it came with logic Pro 9 (but with out the additional suite of programs that comes with). How can I reregister or reinstall Logic Pro 9 to get those features?

  • How to control the data rate of a digital write to a port on a PCI-6509

    I am using a PCI-6509 to write digital words to a custom digital board. I can generate the proper patterns with the 6509 but the resulting pulse rates are very high (150+ khz) which is very noisy. I know the board cannot have its clock controlled. Is there a simple way to adjust the output rate? I am generating a 1D array and writing this to the device with the NI-DAQmx commands. About all I could come up with is interleaving this array multiple times to stretch the resulting pulse. Anything more elegant, as this seems pretty brute force?
    Thanks,
    Tom

    Hello Tom,
    When doing software-timed updates, you can use a delay function in your loop which is doing the DAQmx Write. Increasing this delay should increase the delay between every sample that is written. Because this is software-timed, it is not deterministic so the time between the samples being output might be greater than what you are actually specifying the delay. However, this is not really a disadvantage compared to the current method you are using (duplicating array values to stretch the pulse) because it is also software-timed. I hope this helps!
    Eric
    DE For Life!

  • Omputcer has been installed with a German programme, originally programmed in English with English keyboard. The keys are the same as before but the keyboard is now programmed in German and I cannot find the way to enter @. How can I do it?

    My computer has been installed with a German programme, originally programmed in English with English keyboard. The keys are the same as before but the keyboard is now programmed in German and I cannot find the way to enter @. How can I do it?

    Hello r555,
    Thank you for being a My Best Buy member, and thank you for visiting our forum.  I am very sorry to hear that it has not always been easy for you to receive your Gamers Club Unlocked bonus when trading in games.  I'll be happy to talk to you about your experience.
    I get the impression you are quite familiar with the trade-in process and how the bonus is applied, and it is disappointing to hear that a store associate wouldn't attempt to complete that process.  I will be sending you a private message so we can get some more specific information regarding which store you were at as well as the trade in question where you did not receive the bonus.  Please watch for a message from me shortly.
    Sincerely,
    Mike|Social Media Specialist | Best Buy® Corporate
     Private Message

Maybe you are looking for

  • External monitor for 12" iBook G4 800MHz

    My iBook G4 800MHz has recently been promoted to being my main desktop computer. I am in the market for an external monitor that will work well with it. Does anyone who has direct experience with attaching external monitors to the iBook G4 have any a

  • How do I transfer saved blackberry contacts to a new phone

    I have backed up my contacts via blackberry desktop manager to my computer. How do I transfer them to a new phone (not a blackberry)? My old phone got wet and no longer works but I have saved my numbers.  If I plug in say a droid, via USB will it jus

  • Preview opening EPS files - hangs

    I am suddenly having problems previewing EPS files on my G5 running OS 10.4.4. I double click on the EPS file and it says "Converting Postscript File to PDF" - I get the spinning beachball and it just sits there, not doing any conversion. When I do a

  • Changing Emulation Mode

    My bank just started offering Mobile Banking but it's not working on my phone. I keep getting an error message and when I talked to the person at the bank, they sent me a troubleshooting guide from the mobile banking provider. It said to enable javas

  • STP pvlan load-balancing

    All, I am trying to implement STP load balancing from shop floor to core network. vlan 13 (voice) over 54 wlan bridging link all other vlans (data) over terascope links Could you guys confirm attached topology (viso)