Analog output on USB6008 in C ANSI does not work

I tried to program the analog output on a device of USB6008 under MSVC ++ 6.0 with the latest NOR-DAQ 8.8.

The lines of the example of the ANSI C program ' MultVoltUpdates - IntClk.c ' work very well with a device emulator, but not as soon as I try to access the real device of USB6008.

/*********************************************/
DAQmx Configure Code
/*********************************************/
DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
DAQmxErrChk (DAQmxCreateAOVoltageChan(taskHandle,"Dev2/ao0","",-10.0,10.0,DAQmx_Val_Volts,NULL));
DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",1000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,4000));

During the call to the last line concerning the synchronization setup, an error occurs:

________________________________________________________

DAQmx error: measurements: request the value is not supported for this pro value
Property.
Property: DAQmx_SampTimingType
You asked: DAQmx_Val_SampClk
You can select: DAQmx_Val_OnDemand

Task name: _unnamedTask<0>

State code:-200077

________________________________________________________

Is there a work around?

Finally, I want to set unique values for the analog output voltage in a loop.

In commenting on the "DAQmxCfgSampClkTiming" call, no voltage is defined in a "DAQmxWriteAnalogF64" call to handle this task.

Thanks for the tips!

'DAQmx_Val_OnDemand' is not a valid option for "DAQmxCfgSampClkTiming...." and leads to errors of execution, if I put it anyway.

As an alternative, I tried in the meantime:

DAQmxErrChk (DAQmxCreateTask("",&AO_V_taskHandle));

DAQmxErrChk (DAQmxCreateAOVoltageChan (AO_V_taskHandle, dev + ao0 "",""-"))
0.0,5.0,DAQmx_Val_Volts,null));

DAQmxErrChk (DAQmxSetSampTimingType (AO_V_taskHandle, DAQmx_Val_OnDemand));

DAQmxErrChk (DAQmxStartTask (AO_V_taskHandle));

DAQmxErrChk (DAQmxWriteAnalogF64 (AO_V_taskHandle, 1, 0, 1.0,-))
DAQmx_Val_GroupByChannel & data_v_out, & writing, NULL));
(data_v_out = 2. ;--> back: written = 1) not--> no measurable output voltage

DAQmxErrChk (DAQmxStopTask (AO_V_taskHandle));

--> still no measurable output voltage

Any other idea?

Tags: NI Hardware

Similar Questions

  • Satego x 200 - 21u - remote and HDMI does not work on Windows 7

    Hey

    I have a problem with win7 and the remote that was shipped with my laptop when I bought it.

    I installed all the drivers for the toshiba for win7 home page. I also installed winvista, as the webcam driver - and the touchpad drivers.

    The only two things, works does not are the distance and the HDMI output - sound.

    my remote does not work with win7. If I connect my laptop to my dish tv via the HDMI cable I just see the image but no sound.
    I also changed the settings in the soundoptions in win7 default to Digitalaudio (HDMI), but it does not in any case...

    can someone tell me that I need to install these two or do I have to do the drivers, to make my remote and the HDMI output work?

    Thank you very much

    Hi mate,

    It of really strange to say because this laptop is a little older and therefore there is no official support for Windows 7, I think...

    Do you have yellow exclamation marks in Device Manager at the present time?
    For HDMI, I think that chipset, display and its driver must be installed. Maybe you can get one on the Intel page directly.

    Also, make sure that the latest version of the BIOS is installed on your laptop.

  • ENVY 15 t-j000 quad edition cto: outputs audio switching does not work in windows 10 birthday when the headset is connected

    Hi guys.

    As you know in 10 anniversary update windows, you can switch between outputs sound when the headphone is plugged directly from the sound icon in the taskbar, but it does not work as it should. If the headset is unplugged then the sound comes from the speakers and they are plugged in when the noise is coming from the headset and I can't select speakers. It shows two devices, but when I select one of them the speakers are selected. Also I tried to playback devices, but still, I can't put the headset as default playback device. She is forced to be like the only communication device. I've updated the audio driver but nothing has not improved. My audio driver is codec IDT high-definition. In addition, I tried the generic driver from the sound of microsoft, which is called "codec high definition audio" and it shows a device like speaker and it doesn't detect any helmet or communication device. So, what's the problem? I am able to use this option of windows 10 birthday or not? If yes how? I need this option because I use a headset a lot and I don't want to plug them each time. Thank you for your attention. I can give additional information if it is needed and I'm hear to help.

    Hi David,

    If you remember, I had problem with the IDT driver after upgrade to windows 10 and other updates. I'll be back to tell you good news. Finally, I solved the problem partially and I'll explain what I did.

    Today, I found that there is some audio drivers in the microsoft catalog site, so I went out there and looked for a codec high definition audio. A list came and saw that there are three tempo IDT Audio driver that are compatible with windows 10. They are all IDT Audio driver version 6.10.6504.0 and they are made in 2015. I downloaded all the drivers of three and tested. The first two of them does not solve my problem but the last which is "Tempo driver update for codec IDT high-definition" made in 08/05/2015 with 13.1 MB did the job. I must mention that you need to install this driver on generic windows sound driver for good results. If you install hp IDT drivers probably do not get good results. After installing this driver now I am able to switch between outputs audio (headphones and loudspeakers). The driver can detect my headset exactly as what it is. He shows me an output until I plug in my headphones and it then adds another exit in the helmet. I put my headphones or internal speakers as default playback device which I couldn't do with other drivers. There are just two problems that does not matter much to me, and I can't ignore them. The first is the light of the button mute on the keyboard does not work with this driver which is not very important, and the second is that there is no Equalization of beats in this driver and instead there is an audio driver IDT, which is very similar to the equalizer, but it beats not affect only the internal speakers the headphones that is more important to me because the sound via the headphones is very clear and good. If there was some ablity to HP to change this driver and add audio beats and allow also the light on the button mute then it would be perfect. The link for this driver is here:

    Driver IDT tempo for windows 10 and put on subsequent day

    Just download the latest driver with 13.1 MB size and enjoy.

  • Video output port does not work on Tecra 8000

    My Toshiba Tecra 8000 screen has cracked and I realized this was a video output port, but it does not work.

    Can someone help me?

    Hello

    What video output port can you hear? The VGA port or the output port RCA-video? In both cases, the external display you seek, should give a picture.
    If this isn't the case, it should at least be configurable in windows.

    Please specify your question and tell more details on exactly what you want.

    Welcome them

  • Hybrid Analog/DVB-T card does not work - Qosmio F50

    Hybrid Analog/DVB-T card does not (Windows Vista Home Premium).

    Channel zero came after scanning with Media Center. Sent to the hardware engineers.
    Tha card has been tested in a "fresh load of Windows" and worked well.

    It was suggested to clean and reload Windows.
    I made and tested with and without having to download Service Pack 1. Still does not work. Driver has also been updated (2.3.3.21).

    Any suggestions?

    Thank you

    Hello

    First of all, you should test the portable DVB - T with Toshiba s card preinstalled Vista.
    Everything has been set up and should work fine

    I think that it s not Analog/DVB-T Hybrid card problem.

    Maybe the DVB - T signal is too weak and therefore you do not find the TV channels using this card.

    In my country and the region, the DVB - T signal is really weak and I need a DVB - T antenna to receive the signal and the channels!

  • Output TV does not work properly with my new Satellite A100-812

    Hey everybody,
    A little, I have a problem with my new laptop if not satisfactory.
    The only thing that does not work (except some progs) in Vista is out of my tv.

    After many hours spent trawling the net, I came across different solutions, but none worked.
    The A100-812 has a geforce Go7600 who has taken TV svhs.
    First, I tried to connect to my tv through my old cinch cable. It took me 2 days before I gave up and bought a new svhs cable. Cable that works now and after a hell of a lot of attachment,

    I finally have a working tv. Except that its black and white. I used the click right-> NVIDIA Control Panel and changed the signal. I live in the Netherlands, where B/PAL is the standard. But even in trying all the different types of signals I don't get any color.

    Someone else has had this problem and solved? I downloaded the nvidia latestet drivers and I'm desperate, I bought the laptop to make it work!
    Any suggestion is more than welcome.
    See you soon,.
    Retriever

    Hello

    the problem is that the nvidia drivers are still not final. I have an A100 and desktop system and two systems have problems with tv output. It s Yes, probably a clear driver problem.
    After many surveys, I found many comments in the forum of nvidia, where users are desperate and angry about this issue.
    Thus, the only choice is to change XP up to what nvidia will release some drivers work... that s my way.

    Cheers to a disappointed user nvidia

  • OUTPUT HDMI DOES NOT WORK

    my my laptop than Gateway M-7818U hdmi device does not work when I connected to LCD TV, it worked before, outputs tv work fine, when I get the hdmi cable into the computer make a noise, but when I used the function to toggle the display of the tv are not acknowledged the connection.

    Hello

    There seems to be a problem with the cable or port; It would be better to contact the computer manufacturer for assistance.

    To check if the problem is with cord or not, you will need to connect the cord on another laptop and check.

    And also try to update the video driver and check if it helps.

    Updated a hardware driver that is not working properly:
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Hope the information is useful.

  • Problem - VGA output VGA or HDMI port does not work when the connection to the input of your TV

    Problem of VGA output - using an acer aspire 5520-5912 trying to connect it to the TV input - connect S-Video works well - port however VGA or HDMI does not work - 1 when I plug the VGA cable that goes to an entry of RD Gr Bl on TV, my screen goes black - as soon as I unplug the cable and press FN + F5 I get the screen back - if I restart the computer in order to have the computer to identify the external screen it will just a black screen when the priming. Troubleshooting using no external monitor is identified unless I use the S-video connection.  The Hdmi connection gives me the same result that the VGA - convenience store attempt will identify the computer screen.  OPSYS Vista. Thank you

    Hi cdk14031


    You have set display up-to-date drivers installed?

     

    Step 1 :
    To resolve the problem, you can check if the uninstall and reinstall so help display drivers.
    Also check if you have any exclamation point or cross the marks on the sides of display devices listed in Device Manager.

    a. click Startand then click Control Panel.

    b. click system and Maintenance, click Systemand then click on Device Manager.
    Note If Control Panel is in Classic view, double-click System, and then click Device Manager.
    If you are prompted for an administrator password or a confirmation, type the password, or click allow.

    c. in the Manager device, expand display driver, display devices, right-click and then click on Properties and on the driver tab, click Uninstall.

    d. When you are prompted to confirm that you want to remove the device, click OK.

    e. restart the computer.

    After the computer restarts, the drivers will be installed automatically.

    Step 2:

    If the problem persists I suggest you to check if you install the latest updated driver on the manufacturer's Web site to help you.

     

    You can also check out the link below and check if you get an updated video driver. You can install updates in optional updatesvideo card driver.
    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly


    You can also check the support link and check if these help - below

    http://Windows.Microsoft.com/en-us/Windows-Vista/connect-your-computer-to-a-TV

    I hope this helps.

  • Tip action DOES not work in the Flash output

    Hello

    I created a module in line with Captivate 9 using an advanced conditional action to display the button at the end of 2 sections.

    The trigger works well in the release of HTML5, but it does not work in the Flash output: users need to go back to the slide with the action advanced a second time in order to show the next button.

    It is the created tip action:

    advanced_action.png

    Help, please. Thank you

    Lisa

    Change the order in the updated standard measure jump to slide as last order, or at least after the command of the increment.  The actions are executed in sequence, if you jump first to this slide, where the on enter event is executed, the variable has not yet been incremented. Try to see if it solves the problem. HTML is different from SWF to react (it is converted to JS so that SWF to ACE).

    You post the screenshot of the timeline.

    Moreover, as I have indicated already, I would add continue to the part of the TIME as well as the ELSE part. I learned that, in certain circumstances, a conditional action with that one decision, and no ELSE part does not work well. It is not a problem if you have several decisions.

  • Service Web REST-output parameter does not work in the Manager POSITION

    I created a RESTful Web Service in Oracle Apex, using a POST method as a 'Manager'   I have installation 11 input parameters which all work fine, this is my setting an output that does not return successfully.

    Here are details on the output parameter

    Name: returns

    Name of the bind Variable: : return

    Access method: OUTPUT

    Source type: response

    Parameter type: String

    The actual source is a call to a pl/sql package that returns a value that I set: Returns equal to (for example: Returns: = v_result).   I tried this with header Type of Source and still the same result, "no exit".

    I see APEX calls wwv_flow_api.create_restful_param to generate the (import) settings, is there documentation on this procedure?

    How can I get this output parameter to return something to the answer?

    The application accepts a load of Json.

    Any help greatly appreciated

    Thank you

    James

    Solved my problem: feedback does not need to go back

    Does not work

    Name: returns

    Name of the bind Variable: : return

    Access method: OUTPUT

    Source type: response

    Parameter type: String

    Works

    Name: returns

    Name of the bind Variable: returns

    Access method: OUTPUT

    Source type: response

    Parameter type: String

  • Control output playback does not work on the published project

    I selected the playback control on the skin of my project, with the progress bar and the output information.
    When I saw the exit button works.
    When I publish to SWF format - and run the version full screen HTML the exit button no longer works.

    I guess I can add a close button, but the command output should work - has anyone come across this?

    OK - didn't see the post of
    EDM - dls
    EXIT button
    Does not work

    Up to what I had posted this, better see this line of discussion.

  • Satellite L500 1QK - output HDMI does not work with a Toshiba DVD player?

    Hello

    Why Toshiba DVD player does not work when I plug the HDMI out on my other bigger screen...

    While he plays well the DVD on the computer and, if I can get the signal HDMI OUT with VLC playing other video formats...

    I hope there is a way to unlock this, because I prefer to play DVDs on my computer (for his problem because I have the ear is not good)

    Thank you in advance for your help, if you can.

    Kind regards.
    Mylène
    (Satellite L5001QK France)

    Hello

    To be honest I n don't know 100% what your problem is.
    If you want to watch DVD movies on your computer with the help of a reader DVD Toshiba but the captain must be indicated on the external screen follow these steps:

    When you have connected the HDMI cable (other) outside on the screen, use FN + F5 and switch to the external display only. When you see the desktop on the beginning of the display external Toshiba DVD player and I think that everything should be OK.

  • Tecra S1 video output does not work

    Hello
    I tried to connect my TS1 via cinch to a video projector. Unfortunately due to other reasons I can't use VGA.
    However I get no signal at all. I almost tried everything. I installed Windows XP with the Toshiba Recovery CD again, but it does not work either.
    Is that no one knows what to do?
    Best wishes
    Markus924

    Hi Markus924,
    you have an image on the internal lcd screen?
    through thumbtack to a video projector - it will not work...
    you get a pal/ntsc this connector signal... I don't know if your beamer can handle this type of signal...
    Take a vga cable to try * and * install the "fn + f5" Toshiba tool to move the picure to external display.

  • The scheduled scan output of McAfee does not work after update to W - s7

    Hello.After upgrade to W - s7 scan-out expected of McAfee Total Protection 2010, a license does not work on Toshiba Upgrades.Support McAfee program not able to help, worked 3 hours and sent in support - Russian? for us, it is not present. Perhaps who fell on a problem as well. I'll owe for any information. Thank you

    >... does not work on Toshiba upgrade program
    What program does? AFAIK the upgrade Toshiba travels TEMPRO.
    We think the same?

  • em326g output 3.5 mm at the entrance to auxilarry car does not work

    Scenario 1: em326g-cord-helmet-> work > >

    Scenario 2: em326g-> cord-> factory auxilarry entry on Ford Escape-> does not work

    Scenario 3: em326g-> cord-> auxilarry after-market entry on car-> does not work

    When it does work the music keeps playing through em326g. And Yes, the two entries of auxilarry work with other devices :-)

    If anyone has suggestions, explanations or tips to get this to work I would appreciate it!

    Thank you all for posting, I wanted to give you an update.

    I have connected a loop isolator on the ground between the em326g and my auxiliary input in my car and everything works!

    I don't know how or why it works, and I don't care to be

Maybe you are looking for

  • 'maxVersion' install.rdf not taken into account with Firefox 18.

    Hello I had something really weird with my extension (which installs a NPAPI plugin). I usedto update the property maxVersion in install.rdf, every time a new major version of Firefox has beenout. Today, I tried to install the extension of a property

  • DeskJet 3070

    Hi all, my Deskjet 3070 has stopped printing via ePrint, "internal error." I changed from a dynamic address to a static address and now ePrint is completely disabled. have uninstalled and reinstalled the drivers but it still picked the static address

  • Where is the BCC button in Windows Mail?

    Where in the world find the BCC button to send email? I have Windows Vista so windows messages.  Not for the life of me, I find the button of the BCC send blind copies of my email.  I don't want others to see the addresses of my contacts and could pu

  • How to remove dell account?

    I contect them [email protected] I want to remove dell account please, but nothing feed it to me. Help me

  • Blackberry blackBerry Leap Assistant

    Can someone tell me how to get Blackberry Assistant to tell me that the temperature in Centigrade degrees rather than Fahrenheit?