How to run the DAQmxGetTaskChannels command

I'm reading the attributes of task of MAX by using various DAQmx with VB6 controls.  I found that a simple task of load (DAQmxLoadTask) generates a valid taskhandle of a known in MAX taskname that can be used to get the measurement data using the analog in the command "Read" (DAQmxReadAnalogF64).  The results seem to be already scaling according to my setup in MAX. What I want to do is read the names of the configuration tasks in MAX, select a VB and then read the names of channel and the ways of treatment of MAX and measurement data. I tried the following commands without error but still see a result null in the output string variable.

DAQmxGetTaskName

DAQmxGetTaskChannels

DAQmxGetAICustomScaleName

Curiously, the command, DAQmxGetTaskNumChans, book with success the number of channels in the setup of MAX.  With this information, I can get the measurement data, but I don't have the engineering units or the names of custom channel for my header output file to include with my measured data.

I was wondering if the problem is related to incompatibility with newer versions of daqmx? Or maybe another reason?

I use Windows XP, with service pack 6, a NOR-DAQmx 9.2.2 VB6 and NI DAQPAd-6015.

Hi hutchins2,

Thanks for posting, click on the link below that seems to be the reason for our problem:

Textual DAQmx Device Information functions will return a NULL result

Eric NOR

Tags: NI Software

Similar Questions

  • FlexConfig - how to run the "TFTP" command to save config via Flex

    Hello

    I want to save the running of all our firewall configuration via flexconfig.

    The problem is the carriage return after the command 'copy tftp://adresse-IPmarket'

    I need to confirm the tftp server and the file manually

    I don't know - how through flexconfig -

    I found a script flexconfig to load an image to the asa called: ASA_copy_image

    No idea how to change this script?

    THX for the help

    You can try Flexconfig with

    copy /noconfirm tftp://adresse-IP running

    I hope it helps.

    PK

  • How to run the linux command line sql script

    Hi all!

    Just quick question. On my server I have to install the crontab script which will be eexecute some sql statements.
    How can I undergo command which will execute the script file without asking for password?


    sqlplus user/pass... and then what?


    Thank you

    dlugasx

    sqlplus user/pass @yourscript.sql

  • GUI: how to run the same command on multiple virtual machines at the same time?

    Hello

    Suppose we have several operations on multiple virtual machines (for example as updated virtual hardware, install vmtools - but it could be something else of course...).

    I would avoid clicking on each virtual machine (especially when we have hundreds of different groups).  It is possible to select sort

    (they are not side by side) and perform on a particular operation on all selected both?

    Hello

    If you use vCenter 5.1 + you can also try to use marking and assign tags on the items in the inventory.

    VSphere 5.5 Documentation Center - apply a label to an object

    Search for items by this tag.

    If you want to use PowerCLI 5.5, you can also search the inventory by this tag.

    Get-VM-Tag which lists all the virtual machines with which

    Here are some links for getting started with vSphere PowerCLI

    Back to Basics: part 1 - installation PowerCLI | VMware PowerCLI Blog - Articles from VMware

    vSphere PowerCLI Documentation

  • How to run the command import and jpximport using PuTTY

    Hello

    I ' v no access to use prompt command for security in place of the customer.

    So I have to use Putty to run the import command to import my clumsy custom pages in the database.

    I tried XMLImporter using PuTTY, it says import is complete. But still my survey error page that

    Application: DNF, Message name: FND_NO_REGION_DATA. Chips: BOUNDING = / at/oracle/apps/per/coe/XXCOEPG

    oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / at/oracle/apps/per/coe/XXCOEPG, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.


    Can someone please provide a solution for this.

    Thanks in advance,
    SAN

    Hi SAN,

    Try it by XML importer it I will work

    for ex:

    Java applications oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxtop/oracle/apps/per/jobevaluation/webui/XXTextPG.xml - username username-password apps - rootdir $ rootPackage JAVA_TOP/xxtop/oracle/apps/by/covering/webui - / xxtop/oracle/apps/per/jobevaluation/webui - dbconnection ' (DESCRIPTION = (ADDRESS_LIST = (LOAD_BALANCE = YES) (FAILOVER = YES) (ADDRESS = (PROTOCOL = tcp)(HOST=*xxHostName*) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = DEV))) ".

    After running successfully command below any DB tool

    Begin
    JDR.utils_printdocument ('pagepath' ex: ' / xxtop/oracle/apps/by/covering/webui/XXTextPG ');
    end

    Kind regards
    Srinivas

  • Cannot run the Vista command prompt, commandprompt.ink message is missing

    I'm unable to open the command prompt, commandprompt.lnk refers to lack msg is displayed.

    Hello

    Start - type in the search box-> CMD.exe

    The default path is C:\Windows\System32\CMD.exe

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    I hope this helps.

  • Zombies RAC 7 while running the top command

    Dear experts,

    I have server integrity Rx3600 2 numbers + oracle RAC 11.2, HP - Ux 11iv3 in a RAC.

    Node 1 is currently active, and the high command does not display any zombie process.

    But when I run the above command on node 2, is showing 7 zombie process.

    and the whole zombie has same id oracle 8891 emagent.

    Please suggest how to attend to this problem. Therefore this zombie should be zero.

    Kind regards

    Cecile

    I was checking that all processes on server support. I got the information from other departments to shut down the server in case of emergency. After the reboot, all the zombies disappeared.

    I'll check above such procedures in the event of zombies detected on the server.

    Thanks for all the support.

  • How to run the Extendscript .bat file?

    I have a file with some instructions .bat and I want that it runs from Extendscript.

    How to run the Extendscript .bat file?

    I tried execute(); order and it seems that .bat ran but no result, but when I double click on the .bat file all worksout very well.

    How used runtime.exec () extend the script?

    Can I communicate with Java JDK thru ExtendScript and run commands such as runtime.exec ()?

    can someone please?

    You can do it like this:

    var batFile = new File("C:\\path\\to\\my\\batfile.bat");
    batFile.execute();
    

    Note that this will only work if your system is configured in such a way that by double-clicking the .bat file runs it in reality.

    You can also use

    system.callSystem()
    

    but note that this is only available in AE.

  • Portege R600-108 - the tool to run the TRIM command to improve the performance of SSDS

    Hello

    We have a couple of R600-108 with SSDS, they run Vista Business 32-bit.

    I was wondering if there is a utility I can download to run the TRIM command on drives to improve performance?

    Thank you

    James

    Hello

    To be honest I m not an expert in the increase in performance of the SSD, but according to the Wikipedia article, TRIM has been implemented in Windows 7 and Windows Server 2008 R2 and came out with the final versions of these operating systems in October 2009.
    It seems former SSD drives have firmware updates, otherwise the new command will be ignored.

    According to Wikipedia, there are utilities that can send TRIM commands manually.
    These utilities are available from various manufacturers such as Intel or G.Skill.
    http://en.Wikipedia.org/wiki/trim

    You can consult the Intel tool called "Intel Solid - State Drive Toolbox and Optimizer".
    http://download.Intel.com/support/SSDC/hpssd/SB/intel_ssd_toolbox_fqa.PDF

    I hope this helps a little

  • Lean how to run the stop code when the highest level VI ends

    Hi people.

    I am a newbie of LV with 30 years of experience in embedded SW engineering.  I searched for how to run the stop code when a VI of highest level ends.  I found many examples, but they are horribly complicated.  A little birdie told me that such a model of simple design should not be so compilicated.

    My application is an application of high tension control to disable all HV checkpoints when the SW ends.  My VI code is running in a while loop with a stop button that leads out of the loop.  I can easily accomplish my requirement by programming with a sequence of plate that runs after the end of the main loop.  The technique of flat sequence does not work when the user clicks the Cancel button in the toolbar of façade, more than that market when the user clicks the close button of the application (X button) when you run the exe application.

    Can someone tell me please a simple technique, the code example that can show me a lean and elegant way to accomplish my task?  It doesn't have to be an obvious solution (for example a stop induced watchdog seems simple enough).

    Thank you - John Speth

    1. place this code in a VI:

    (also attached)

    Calling code in your VI of highest level like this:

  • How to run the VI developed in labVIEW 2011 in its previous versions

    Hi all

    I am currently using LabVIEW 2011 in my PC at home.

    But, all my school's computers are installed with LabVIEW 2010 and 2010 SP1.

    How to run the VI developed in LabVIEW 2011 in its previous versions?

    Is there any conveter why?

    Concerning

    Prasanth T

    Open the VI in LabVIEW 2011 and use the file menu option, save for the previous Version.

  • What is tdrc.tdrcfacade and how to run the installation wizard?

    What is tdrc.tdrcfacade and how to run the installation wizard?  My desktop creative cloud application does not open properly... it is just a blank window.

    Much obliged,

    Angiecrichards@gmail.com

    ! !

    Are Angie, you a blank white screen? What version of OS are you using?

    Here's what you can try:

    1. Blank white screen. Sign in | Creative cloud Packer
    2. New application Cloud Creative unusable: it is empty!
    3. Creative cloud Packager white screen after the Adobe ID Login
    4. Re: screen creative black cloud

    Waiting for your response.

  • I downloaded items on my mac and it installed. How to run the program?

    I downloaded items on my mac and it installed. How to run the program.

    Hi David,

    You can simply click on the application to launch from the folder "Applications".

  • How to run the repository creation utility (11.1.1.3.3)

    Hi experts, I downloaded utility creation (11.1.1.3.3) at oracle.com repository as I was told to run it before installing Oracle Business Intelligence, v. 11.1.1.3.0, I already unzipped the UCR, my problem is I do not know where and what run.i I ask the name of the file to be executed, the location of this file because there are so many issues after having unpacked the downloaded file. Finally, how to run the file (for example by double-clicking). Thank you

    Visit this link,

    http://obiee101.blogspot.com/2010/08/obiee11g-installation-on-32-bits-XP-Pro.html

    He noted the location of the controls on the remote file, double click will start the process.

    Thank you
    Vino

  • [CS4:JS] How to run the file ".sh" via Javascript

    Dear all,

    How to run the file ".sh" through Adobe InDesign Javascript, I used the code below:

    //================== Code =============================//

    var myFile = File("xxx/xxx/xxx/Test.sh");

    var Exec = "sh" + "" + "\""+myFile+"\;"

    Leader (exec). Execute();

    //================== End =========================//

    codes above does not work, I checked before without the "sh" in addition, it does not work.

    Please can someone give me the solutions and the suggestion, and I'd appreciate it.

    Thanks and greetings

    SudhaN T.R.Harihara.,.

    Have your IDMLExportparse.sh file runs permission set?

    If you open Terminal.app and type

    /Applications/MacXinPro/IDMLExportparse.sh

    It work? Or do you need to run "sh"? If so, either adjust the

    permissions with

    chmod a + x /Applications/MacXinPro/IDMLExportparse.sh

    or modify the JavaScript code for:

    shell("sh "+myFile);
    

Maybe you are looking for