DAQmx shunt for current acquisition resistance setting

Hello

I'm using LabVIEW with a DAQmx (6353 USB) and I want to do a power outlet. For this, I have a shunt resistance. But I would like to pass the value of the parameter of the task of acquiring resistance. Do you know if it's possible?

Thank you

Do not use the DAQ assistant.  You can use it to configure your task but then right-click on it and convert it to the DAQmx code.

The DAQmx create channel VI has an entry for the external shunt resistance value.

Tags: NI Software

Similar Questions

  • How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?

    I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.

    I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).

    In the document:
    High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
    is written:
    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
    With what other subsystem on the device can generate a source of the clock? How?

    It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
    Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
    DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
    initialDelay, freq, the duty cycle); works

    But it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
    initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clock

    The sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
    Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
    DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
    DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the task

    But it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
    DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
    DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0

    Hi datafriend,

    using what it says is correct:

    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.

    There are also 2 ANSI C examples in this regard:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4485

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488

    So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)

  • Restarting a task for the acquisition of data inside a For loop

    Hello

    I need iterate through my acquisition of data. Currently, I'm doing this through the creation, implementation and tasks for the acquisition of data inside a loop For which is iterated according to the needs of compensation. Unfortunately, the creation of these DAQ tasks slow down my code.

    I would like to be able to create the tasks outside the loop, pass them in and revive the tasks at the beginning of each iteration. Is there an easy way to do this?

    Otherwise, is there a way to make the standard DAQmx digital startup trigger trigger several times (so that it starts each pulse data acquisition in a long pulse rather than just the first pulse train)?

    Thank you!

    -Evan

    I whent before and created this example for you (and many others.)

  • DAQmx: (almost) synchronous Continuous Acquisition / how to trigger Council transfer buffer?

    Hi :-) :-) :-)

    We have an NI USB 6289 acquisition card. I would like to continuously acquire an entry of 'almost' analog synchronously. How synchronous 'almost', I mean that when a Read DAQmx is executed (anytime), I would be able to recover all the data present on the PC AND buffer all data present on the stamp on the card at the time of the read command.

    In order to test the behavior of the DAQmx Read, I used the following DAQmx vi (for a life-long real I would need a loop structure, but it's just a theoretical experiment):

    DAQmx create task

    DAQmx Create Channel (polymorphic instance HAVE voltage)

    DAQmx Timing (instance polymorphic sample clock, Mode sample set on samples continues, the rate set at 1000)

    DAQmx Start Trigger (polymorphic instance Start / None)

    DAQmx beginning

    Here the program waits n seconds (variable), then

    DAQmx Read (instance polymorphic analog Wfm/1Chan N Samp, number of samples per channel-1).

    Buffer FIFO of Council seems to be large 8192 samples.

    If the time between the beginning of DAQmx and DAQmx Read is less than the approximately 8.2 seconds, DAQmx Read recover whatever it is, if it is more than 8.2 seconds, DAQmx Read retrieves 8192 samples. I expect this behavior: fills up the buffer Board it triggers the transfer of all data in the PC buffer and DAQmx Read reads the buffer of PC, it cannot recover data after the transfer has taken place.

    What should I do in order to force the transfer of data from the buffer of (even if not full) Board to the PC at the time of the DAQmx Read buffer while the timing is in CONTINUOUS mode? I would like to be able to recover all the data from the buffer of PC and the Board of Directors in order to have all the most recent data and without having to put in place an acquisition of finite samples and a circular buffer of software.

    I tried the DAQmx channel property node Analog Input/Properties Advanced options/General / Data transfer and data/memory transfer mechanism and set set of e/s, but it doesn't work or the DAQmx channel property node Analog Input/Properties Advanced options/General / Data Transfer and status of application for data/memory and set it to Onboard memory Custom threshold but I could not access the property of Custom threshold (this is not there!).

    I'm sure there's an easy way to do this but I did not understand as yet...

    Thank you!!! LucaQ

    I am inclined to agree with Ravens Fan.  However, assuming that you must use the USB DAQ for your application, a better way to implement your code would be as follows:

  • I have the time to default iPhone 4 iOS 7.1.2 iPhone App not updated since the last 3 days and also checked all the settings for location and also set as new iPhone always present problem... Please try to fix... Thanx

    I have the time to default iPhone 4 iOS 7.1.2 iPhone App not updated since the last 3 days and also checked all the settings for location and also set as new iPhone always present problem... Please try to fix... Thanx

    Turn off your device and turn it on again. If this does not help, sign out of your account and reconnect.

    In addition, you can try to reset your settings.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

  • Looking for a waterproof/resistant case for my iPhone 6s Ant ideas?

    looking for a waterproof/resistant case that doesn't see a ton. Any ideas? Thank you very much

    A few people I know swear only by these: https://www.lifeproof.com/

  • standalone application for the acquisition of data using the NI DAQ card

    I did a stand-alone application in labview GUI for data acquisition and processing of the signal. If I have to run this application in any other computer which should be all installed software other than the labview runtime engine... CD DEVICE DRIVERS OR alone must be installed or do I have to install any other software of data acquisition using the data acquisition card OR?

    Thanks and greetings

    You need only the racing of the engine, the device for the device drivers, maybe need pilots VISA if you make serial or something of this nature, you may need the channels or tasks created in the measures OR and automation if you created the it.

    There may be other things you'll need depending on what you include in your code and what tool kits that you have installed.

  • What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?

    I have a PCI 6519 data acquisition card. I want to install it on the PC and use it outputs to control a robot. I have problems with the connections to the terminal block which is attached to the cable.

    What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?


  • Use two assistants for the acquisition of data at the same time

    Hello

    I want to read multiple data channels of analog inputs on my DAQ hardware. However, when I try to create two separate data acquisition assistants for each entry, it gives an error saying "is reserved for the specified resource. The operation could not be performed as indicated "." Can't use two assistants for the acquisition of data at the same time?

    I have to add different channels in the same assistant DAQ? I tried, but I couldn't separate the data in different graphs.

    How does this work?

    Kind regards

    Allard

    You can't have multiple tasks of the same type (in this case inputs analog) on the same device.  Just so having 1 DAQ Assistant read all your channels and separate your channels for individual transformation.

  • Sleep Timer Pavillion DV 7 - How do you set the timer for a different time setting?

    Sleep Timer Pavillion DV 7 - How do you set the timer for a different time setting?

    Hello Pidcock,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I understand that you want to change on your computer sleep timer. I'll be happy to answer that question for you. Now you have not specified what operating system you are using, so I guess it's the same operating system provided with your computer (Windows 7). I will provide you the HP support document: Management of power (Windows 7 and Vista) Options, which will guide you in how to set the power of your laptop. Just in case you have upgraded to Windows 8 I am also including the HP Support document: Manage the power (Windows 8) Options. This document will guide you through the same steps in Windows 8.

    I hope that I have answered your question to your satisfaction. Thanks for posting this question on the Forums of HP. Have a great day!

  • You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.

    You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.  They will have to copy the files in the folder to make changes and then copy a review of back in.  Locally and on the network

    Hello

    1. In Windows Explorer, right-click the file or folder you want to work with.
    2. In the context menu, select properties and then in the Properties dialog box, click the Security tab.

    3. In the name list box, select the user, contact, computer, or group to which you want to display permissions. If the permissions are grayed out, this means that the permissions are inherited from a parent object.

    https://msdn.Microsoft.com/en-us/library/bb727008.aspx?f=255&MSPPError=-2147217396

  • When XP is "windows xp for first use mode setting" it loads to 99% and then I get the message "unable to complete Setup.

    I upgraded my 64 new image computer windows 7 Home premium Edition to windows 7 using the upgrade anytime professionoal.  I downloaded the fix for quad core to use virtual pc and windows xp mode.  When XP is "windows xp for first use mode setting" it loads to 99% and then I get the message "unable to complete Setup.  I service request # 1182160056 but the phone lines of microsoft do not work.  Any suggestions?

    Have its possible that this is a download corrupted Windows XP mode, you tried to download it again and see if it works? Also, make sure that you first install Windows Virtual PC.

    Click Start, type: enable or disable windows features

    Press enter on your keyboard

    Scroll down and make sure that Windows Virtual PC is checked.

    Click OK

    Restart if prompted.

    http://www.notebooks.com/2009/11/23/using-Windows-Virtual-PC-with-Windows-XP-mode/

  • My creative cloud, 'Applications' tab does not load, how do I fix this so that I can update my Adobe programs for current versions?

    My creative cloud, 'Applications' tab does not load, how do I fix this so that I can update my Adobe programs for current versions?

    Please take a look at this document:

    Does not open App | Wheels of progress turn continuously

  • When setting type in photoshop for printing purposes what setting should the type set to crisp or too strong?

    When setting type in photoshop for printing purposes what setting should the type set to crisp or too strong?

    Never, ever, rasterized text for printing purposes.

  • Usually, there is a way to upgrade for current users of the software at a reduced price. I don't see something like that for Lightroom 6. I have to pay full price just to upgrade to the new version of standalone LR6?

    Usually, there is a way to upgrade for current users of the software at a reduced price. I don't see something like that for Lightroom 6. I have to pay full price just to upgrade to the new version of standalone LR6?

    Just go to the products

    Scroll to Lightroom and click on buy and then replace I want to buy lots of upgrade. The price is $79.

Maybe you are looking for