PICe-6259 with DasyLAB 9 - How to do Analog Output

Hi,
I'm trying to get a small project working in DasyLAB 9.0.2 and I need some serious help.
I'm working with a PCIe-6259 and NiDAQmx 8 is installed.  I simply want to create a program that uses a slider to adjust the analog output on 4 channels and read the slider value on a meter.  This is a fresh installation of DasyLAB.
Here's the program that I setup and the errors that I get.
I select:  Modules -> Input/Output -> NIDAQ -> Analog Output.
I adjust the properties of the DAC module to include channels 0,1,2,3 and select OK.  (I don't adjust any of the other properties)
I then select: Modules -> Control -> Slider
I adjust the properties of the slider to include the same channels as above.
I then select: Modules -> Display -> Analog Meter
I adjust the properties of the meter to include the same channes.
The meters and Analog output are wired in parallel.
I get the following errors:
NI-DAQmx: Error Message
Driver: Task DA00, Version: 0.15
Possibly Reason:
-> The module can process the number of "values to be written".
File: ProcessData_KONTINUIERLICH.H, Line: 39
When I press OK I get:
NI-DAQmx: Error Message
Driver: Task DA00, Version: 0.15
Possibly Reason:
-> The driver does not use all NI-DAQmx task channel names. This is not valid, reconfigure the module to use all task channels.
Note: A NI-DAQmx task for analog / digital / frequency output must not have more than 16 channels. If you need more than 16 channels for the output, you must use more NI-DAQmx tasks.
File: MODUL_DA.C, Line: 2131
Any help to point me in the right direction would be greatly appreciated.
The next part of my program will include acquiring data from the analog channels, but I need to get the AO working first.  I've run into some issues with Analog Input as well, but I thought I should start with AO first.
Thanks in advance!
Chris

Here's what I did using the NI-DAQmx simulation mode:
    - create two tasks
            Analog Output - 4 channels, 1k output rate, 100 samples to write, Continuous
            Analog Input - 4 channels, 1k input rate, 100 samples to read, Continuous
    Save them. Start up or synchronize DASYLab (Under Measurement Boards Settings - NI-DAQmx - Synchronize with... in earlier versions, it's under Hardware Setup)
    - Create Slider. Open Slider properties, click on Options, Synchronize to the AO task that you created. This step is really important - it ensures that the data rate matches what NI-DAQmx is expecting.
    - Connect Slider to NI-DAQmx AO module, configured for 4 channels.
    - Create AI module. Connect to the AI task that you created.
    Press Start. It should run. I can't verify absolute accuracy in simulation mode, but, I received no errors.
    Your first error is probably the result of the timing being wrong - the Slider defaults to the "Driver" timebase. The rest of the errors seem to be a cascade off the first.
    Note - my simulation did not work without the Analog Input. It generated no data. That may be an artifact of the simulator, but, once I put an Analog Input on the worksheet, it ran okay.
    I hope this helps.
- cj
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

Similar Messages

  • How to switch analog output between two waveform frequencie​s

    Hello,
    I'm using a fairly simple VI to generate a square wave at our analog output board.  I have the square wave controls in one panel of a sequence structure, and a "release" function in the other panel of the sequence. Currently the VI is programmed to switch from the original square wave to -10V when the Boolean control is switched.
    What I'd like to do now is to modify the VI so that I can swtich between a square wave of a given frequency, say 100 kHz, to a square wave of a different frequency, say 10 kHz, or to DC -10V. But I'd like to be able to vary each frequency and amplitude independently.
    Could anyone give me some programming pointers?
    Thanks,
    Michelle

    Thanks to the three of you for the suggestions. I started trying a few of them, and then realized that what I had already built will work pretty well to update the frequency. I didn't realize that it would update the waveform in "run" mode -- I thought it would only do that in "run continuously" -- so I've found that I can change the frequency of the waveform by doing that. This doesn't allow me to change the frequency and the amplitude simultaneously, but I'm not sure yet whether or not I will need to do that -- I so will probably go ahead with the experiments I need to do with this set-up, then modify it if I find that I need to control both frequency and amplitude simultaneously.
    Thanks for your help!
    M.

  • How to freeze analog output ?

    Hi,
    In my LabVIEW program, I need to freeze analog outputs (keep the last value) when appears for example an emergency stop.
    In this program, sometimes  I use  "simples" values to write outputs and other times I use waveforms.
    Is there an easy way to freeze outputs in both cases ?  (a better solution than modifying all the VIs using analog outputs  )
    Thaks for your help !

    Hi cpit,
    when you need an emergancy behaviour in your output VIs you have to program it...
    An easy way would be: IF emergency condition is met THEN don't output values.
    So a simple case structure will do the trick...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I control PIC programmer with LabVIEW

    I need to control a PIC Programmer (MPLAB PM3) with LabVIEW. How to do this?

    Hi Paul.
    I am working on a project that is using LabVIEW to communicate via serial communication with 4 programmers (Com 1, 2, 3, & 4). I am currently using the Microchip PM3 programmer DOS utility PM3CMD.exe to send/receive commands from the system exec.vi in LabVIEW. I am attempting to program simultaneously with 4 programmers, but the PM3 programmers are returning a database error if I try and communicate with more-than 2 programmers at a time. I noticed that you have some experience with some drivers from Microchip and using serial commands.
    Do you have any suggestions that may help me.
    Thanks.

  • I have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device?

    i have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device? one is an iphone 6 and the others are ipad mini first gens, each ipad has 64gb and the iphone has 128, need to keep the data seperate as they are not all mine

    Itunes content and pics are NOT part of the backup that itunes performs.
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    You should transfer any purchases from iphone regularly:  File>Transfer Purchases  , if they fail to be transferred when you sync.
    You buy one and only one download.  It is your responsibility to move/copy/backup your purchases.
    You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
    http://www.apple.com/support/itunes

  • Pulses generator on pci-6259 with QNX6

    I have PCI-6259 DAQ device and I'm programming with QNX6 operating system.
    I need make generator of pulses with 100kHz rate on PFI or static outputs.
    Does anyone know how to do this or where can I  find any examples "C++" code?
    Many thanks,
    Vsevolod

    Hi Vsevolod-
    If you are using the M Series MHDDK you can use the attached example.  It configures one of the general-purpose counters on the board to output a pulse train that is produced by dividing down the 80MHz timebase on the device.  See the function PulseTrainConfigure() for more information.
    Hopefully this helps-
    Tom W
    National Instruments
    Attachments:
    gpctex5.cpp ‏10 KB

  • NI PCI 6731 with DASYLab

    Hello Dasylabers,
    I use a NI PCI 6731 to do waveform generation with DASYLab 11, which works
    correctly.
    But this card is able to
    have an external reference signal (AO EXT REF) for the digital to analog
    converter.
    How is it possible to
    active this function for each converter (there is 4) in MAX or
    DASYLab?
    Thank you in advance for your help!
    Frédéric Miqueau
    MD Electronic, France
    http://www.mdelectronic.fr
    French Dasylab Forum : http://www.dasylab-forum.de/forum/index.php?showforum=43
    Solved!
    Go to Solution.

    Hello Mathias,
    I've tried to modify with Labview a MAX task and save it. I have this result:
    Not modified MAX task:
    Task modified with Labview and saved in MAX:
    It seems to work, but I have not the hardware to test the result in Dasylab. I use simulated hardware.
    Sure that this possibility should be add in MAX task configurator, so Dasylab could use all the hardware functions!
    How can I contact NI-DAQmx developers?
    Where are the ressources for NI-DAQmx API functions?
    Thank you for your help,
    Frédéric Miqueau
    MD Electronic, France
    http://www.mdelectronic.fr
    French Dasylab Forum : http://www.dasylab-forum.de/forum/index.php?showforum=43

  • Agilent 34970 with Dasylab

    Hi
    Does anyone Know Is it possible for me to use the Agilent 34972A with Dasylab 12. I have connected the device to max and installed the IVI drivers and everything seems to be connected ok (VIA LAN CABLE) However when i try to use the IviDmm+ module in Dasylab 12  i get the error.
    IVI API Function IviDmm_ConfigureMeasurement return with error -1074135023.
    Iam new to MAX and was wondering do you need to set up a channel list in max and if so how do i do this?
    Thanyou
    Brian

    Duplicate Post:
    http://forums.ni.com/t5/DASYLab/could-you-tell-me-​what-this-error-is-please-IVI-API-Function/m-p/175​...
    Nick C.
    Cardiff University

  • Problems with dasylab

    i need to calculate the output of a quarter bridge using strain gage,i can just read the output values directly from the bridge using a voltimeter but with dasylab i get a lot of values and i can see no changes when im bending the beam(the SG is sticked on it).the amplifier is configured with 5v input and a gain of 100,how can i configure dasylab to see the same results as with a voltimeter(0v when there is no bending and ?v when i aply a force)
    Thanks

    I thank you for your help,Im making my thesis in a company and we are using the full version of dasylab,so there is no problem with the software,but i´ve found the problem.it was a really stupid mistake.our measurement box it´s configured with 3 board card that use an other student for his thesis(every card with 4 channels) and now we´ve just instaled a new card also with 4 channels for my thesis prupose(measurement with Strain gage) the problem was in the numbre of channel that i used,i used always the channel number(0),and i must used the channel number(12),because there is 16 channels in total from(0,1,....15) so the first channel of my board card is the channel(12).
    So I made my pretest with a SG sticked in a beam(claculate the elongation when its bending) and the results were really closer to the theoritical calculation,i was really happy,but the real target of my thesis is to calculate the strain in the stabiliser of a car,and it´s with a biaxial SG applying a torsional force.
    the pretest was static but with the stabiliser we will have a dynamic test using cylinders to give the torsional force to the stabiliser,so then i have to take care about the frequency and a lots of others factors.
    So i hope that i can solve the problems that maybe occurs during my test next weeks,i thank you once again and if i have some other questions i will contact you.
    Best regards

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • HT4436 I have now downloaded all of my CD's to my itunes library and have since only purchased new music using itunes Store.  This itunes library is stored on an old Dell Desktop that I am getting ready to replace with an iMac; how can I move the music? 8

    I have now downloaded all of my CD's to my itunes library and have since only purchased new music using itunes Store.  This itunes library is stored on an old Dell Desktop that I am getting ready to replace with an iMac; how can I move the music? 86GB
    Is the music I downloaded from my CD's already in the iCloud or only the music I purchased on itunes?

    This might help: http://www.macworld.com/article/1146958/move_itunes_windows_mac.html.

  • My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pr

    My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pro.

    Hello Sandra,
    The article linked below details how to go about restoring items from Time Machine in Snow Leopard.
    Mac OS X 10.6: Recovering items using Time Machine and Spotlight
    http://support.apple.com/kb/PH6379
    Sincerely,
    Allen

  • My phone has been asked to be plugged into itunes for the past hour or so, and it has been plugged in the whole time... i have tried holding in both buttons too turn it on and nothing is happening... whats wrong with it and how do i fix this :(?

    My phone has been asked to be plugged into itunes for the past hour or so, and it has been plugged in the whole time... i have tried holding in both buttons too turn it on and nothing is happening... whats wrong with it and how do i fix this :(?

    Does iTunes see your phone?
    Do you have a PC or a Mac?
    ~Lyssa

  • Regarding iMessage, when i want to send text to a person in my contacts app, i've been getting a message saying the number has not been registered with iMessage.  How can one fix this problem?

    Regarding iMessage, when i want to send text to a person in my contacts app, i've been getting a message saying the number has not been registered with iMessage.  How can one fix this problem?  It works on the iPhone.

    It takes two to tango, maybe it's your recipient that has weak Internet/Cellular connections.

  • Need help to import and syncronize HCM pagelets with Interaction Hub, how can I do that?

    Hi,
    I need help to import and synchronize HCM pagelets with Interaction Hub, how can I do that? The default page "Select Remote Content" of the WorkCenter "Unified Navigation WorkCenter" is not working as well, when I run the import/sync button I get the following error message:
    Integration Gateway: General Connection Failed (158,10836)
    This error is thrown when there is no valid response.
    Possible errors include:
    Bad gateway URL
    Sync Service Timeout set and Service actually timed out.
    Java exception thrown - Check Application Server for possible Java exception

    Do you have integration configured between the two systems?  It sounds like you don't from the error.  Here is a walk-through on setting up Unified Navigation although it assumes you have integration already working.  If you haven't done that, it's documented a hundred different places.
    http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub/

Maybe you are looking for