Analog value read with DSC Module Modbus

Hi, I have a Delta PLC with an AD converter module. I use the four analog channels and in one of them, I have a thermocouple which displays temperature data on a microprocessor thermocouple meter. However, I want to display the data in Labview. The controller communicates with labview through the DSC Module of labview with success, but I am not able to read the data. Looking forward to your help.

Found the solution. addressing to the modbus master was different for this model of plc, so I looked up the address for delta plc Modbus and the analog read list has been a success on labview.

Tags: NI Hardware

Similar Questions

  • Analog DAQmx read with offest

    In the test, I'm trying to Setup, I need to record readings of load with the subscribed initial charge.  I take the initial read and who then subtract all of the following readings. I have a pre-load of 50 lbs, I want all surveys carried out during the test to compensate in 50 lbs.

    Currently, I take a reading before entering the loop of the acquisition and subtract the initial read of all new readings before saving the data. What I want to do, it's somehow say DAQmx to shift for me. Is this possible? and if yes how forge I who?

    Thank you

    Hi Ryan,

    You can use the following function:

    Int32 DAQmxCreateLinScale (const char name [], slope float64, float64, int32 preScaledUnits, const char scaledUnits [] yIntercept)

    If you create a scale in the above path, you must change your CreateAI... According to Chan. Change the setting to 'units' to 'DAQmx_Val_FromCustomScale' and 'customScaleName' the name value that you specify in the DAQmxCreateLinScale function.

    You can find detailed information in the help of the Driver nor-daqmx c reference!

    Welcome,

    -George-

  • Error-1967362041, DSC module, read the historical traces

    Hello.

    I'm reading some historical traces, but I get error-1967362041 and the message:

    HIST_ReadNumericTraceCORE.VI, \\hostname\library\Variable: IAK_SHARED: (Hex 0x8ABC7007) out of reach.

    This happens when using VI server to run my remote application, if I run the application locally, it works normally.

    The VI Server interferes with DSC?

    Any ideas?

    Hey, Marisol.

    Thanks for yor reply.

    I found the error: I created an 'Options' for ReadTraces.vi control but somehow left the interpolation interval as 0.

    I never thought it was a problem to interpolate the data being False.

    I wonder why is the required interval if there is no interpolation...

  • How to enable notification of change of value with DSC for several variables

    Hello

    I would like to request a notification with DSC for two shared variables value saved for change events. In the example attached, it is no problem to do it for only a variable. But I have no idea how to do to achieve for that variable.

    Any ideas?

    Matthias

    Hi Matthias,

    You can implement it as you can see in the attached example.

    Best regards
    Mencef

  • Analog LIFA read problem of results

    Hello guys, I just started using labVIEW for 2 months and I'm really new to this software.

    In fact, my question is what kind of output will get for analog arduino read? (element-single number, or table-columns of data).

    For my case, I use LIFA (LabVIEW interface for arduino) and an IMU is connected to my arduino. The IMU has 3 axes (X, Y, Z)

    Is it possible to analog playback for tables with multiple columns or its always 1 single digit?

    I can hardly get information on this and thank you in advance if you can help me

    The LIFA Toolbox has a low level of pin reading and reading Port.  The port of reading read more or less at the same time all 6 inputs analog.  I have to open the source for whether or not it's really both.  This value is returned as an array with 6 elements.

  • analog value unchanged.

    Hello

    I read analogue value through my DAQmx increased and I want to run another action when the analog value reaches its max and stop increases. How I would write my LV code to check for this condition.

    Thank you

    With data without noise, it's easy. Simply place a feedback node value and compare the previous value with the current value. If are equal, the condition is met.

    If you have any kind of noise, you could use the 'point-by-point linear adjustment' with an appropriate history size and check if the slope is less than a certain threshold.

  • Questions: licenses and have the availability of the DSC module

    Hello

    I transferred to another PC development project. When I opened it, some of my shared network variables (NSV) have been marked with errors of functionality: "Initial value: not allowed or can not be changed outside of LabVIEW.". I found out it's because I didn't install the DSC Module on the newer machine. removal of the function 'initial value' made the error message disappear.

    That the error itself was not a big deal, but it made me think and study. http://www.NI.com/white-paper/4679/en says:

    If you want to use the LabVIEW DSC Module features, you must host variables shared on Windows. The LabVIEW DSC Module adds the following features to network-has published the shared variables:

    · History by connecting to the database OR Citadel.

    · Network alarms and alarm logging.

    · Scaling.

    · The user-based security.

    · Initial value.

    · The ability to create custom I/O servers.

    · Integration of the LabVIEW event structure with the shared variable.

    · LabVIEW VIs for programmatically control all aspects of the shared variables and the shared variable engine.

    Question 1

    I didn't know that the initial value function was part of the DSC Module. If I use it in a project, means that my client needs to buy a DSC run-time license? (I don't use another function DSC)

    Question 2

    In my project, the NSV in question was hosted on a target of cRIO, yet my prototype (which had an initial value enabled) was happily running without problems. This contradicts the above documentation that says «you must host variables shared on Windows» Should it?

    Question 3

    I created a new NSV on my new machine (which has not installed a DSC). I saw the option of "Graduation". Is scaling part of the DSC module or not?

    Question 4

    Initial value and the scale are generic features, not related to the control of monitoring/recording of data. Why are they in the DSC Module? They do not in the motor base of the OAS?

    Hello

    1 Yes, whole generation using DSC features require a run-time license.

    2. This is a recommendation for more reliable operations.

    3. No, it's a native capacity of LabVIEW. DSC module adds just more features related to communication protocols, alarming, etc.

    4 development, Yes. Scaling, no I think is for easy access. Old school method is shown in here to the section 'initialize Variables shared your»

    Visit this pagefor more information on DSC.

  • NEITHER 9212 - issues with sampling frequency, number of samples and size of buffer or slowness comes together with thermocouple module

    To begin with, I am very new to labview and unfortunately on that my first task is to build something rather complicated for a project that my company works. Fortunately it is especially followed rather than control critical processes.

    Currently, I have a cDAQ with modules, DI, AO, and TC.

    cDAQ-9133

    NEITHER 9472

    NEITHER 9421

    NEITHER 9263

    NEITHER 9205

    NEITHER 9212

    I'm currently running read-write for all 5 of these modules in parallel while loops and analog and digital inputs/outputs modules that all work as expected. Each loop requires 1 sample per channel through the wizard DAQmx etc for each module and I got can interact with all the asyncronosly inputs and outputs which at the moment is the goal. I can switch power switch for each module save memory, or if the need arrives later.

    My problem is that the module TC (NI 9212) when tilt on which allows the acquisition of sample 1 loop seems to take much, much longer to collect samples. I have played with different acquisition parameters and can seem to get a continuous flow of data when you use streaming samples, or even when specifying N-samples but I come in questions where the "application cannot catch up with the hardware.

    I tried to find an optimal number of samples/sampling, rate, etc I can get an update of temperature more than every 1 to 2 seconds, but if I set the number of samples that are high enough to apparently get a constant flow, what ends up happening waveform graphs seem to lag behind the actual data, and that's where I get errors. I only want 1 sample per channel per cycle anyway. Yet once, all the other modules in the cycle with less than 100ms delay between acquisitions but the module thermocouple ends up being 1-2 seconds. It's okay because in our application temperature should not rise/drop very quickly but its boring nonetheless.

    I have the acquisition set up for the same (NI 9212) thermocouple module was like my modules of analog and digital inputs (NI 9205 and NI 9421) take 1 sample every time the task is called so I'm having a hard time understand why do the same for the TC module introduced such a delay. Max sampling rate is supposed to be 95 samples/s/ch, so I guess that the delay must come from call the task over and over again in a loop.

    Synchronization and how you have configured the 9212?

    In the case of high resolution, it can reach 1.8 samples/s. see page 7 of the plug technique here for rates for the supported modes:

    http://www.NI.com/PDF/manuals/374389a.PDF

    -AK2DM

  • Where is the help on the topic: "restart with disabled modules.

    In aid of the menu choice "restart with disabled modules" is trying to find out what would be the consequences of this command, but I can't get any result on this SPECIFIC command. If I try, I definitely will disable my Add - ons?

    I have to ask this question because I've had nothing but problems with Mozilla Addons lately, especially the themes.

    I'm tired of Firefox

    Basically what the restart with disabled modules is it closes your Firefox and them it opens in safe mode, which is a temporary mode where all add-ons are disabled, and the settings are set to their default values. It helps you to be able to test and see if your question is without third-party variable. Then, when you close and restart firefox, it starts as before without Add-ons.

    Questions to troubleshoot Firefox in Safe Mode is an article that explains a bit more.

    What problems with modules you meet specifically?

  • Impossible to get more than 1 channel to read with DAQmx cDAQ-9172 under Windows 7

    I have the cell load, voltage, and input thermocouple connected to a cDAQ-9172. My sensors entries have been scaled and verified in MAX, and all of them work.  DASYLab 13, the driver is "dcDASY.dll" and the hardware configuration is "NI MAX.

    When I add a task NEITHER-DAQmx Analog Input (that is, a set of scales) it appears correctly. If I add a second channel of the task and select it, I get this message:
    'Channel of task name saved with the module is not available. DASYLab resets the module parameters for usable first channel name task. »
    The name of the task remains the same for each new channel I have Add. If I change the name of the task by using the tab to the drop down menu, it says:
    "You have configured several ways out for the module. If you modify the task, you lose the settings. You want to change the task? »
    Both display the same data channels, and I can't work simultaneously several channels. It seems I missed something obvious, but I can't.

    The parameters are:

    Measurement and Automation Explorer 4.6.1
    NOR-DAQmx 9.0

    Material:-cDAQ-9172
    Slot 1 - NOR 9215 (0-10 Vdc analog voltage)
    Slot 2 - NEITHER 9211 (thermocouple)
    slot 3 - NI 9481 (relay)
    slot 4 - NI 9237 (entry deck w / excitement)
    housing 5 - OR 9402 (DIO)
    slot 6 - NI 9263 (0-10 Vdc output analog)

    Thank you

    You can't perform different tasks (continuous) HERE on a single chassis. The first tasks that starts will be 'the resource booking '.

    Combine the AIs of the various modules in a single task (see photo): start by creating the task of thermocouple. Then add AIs 9237 (e.g. Kraft) and 9215 (volts) using the button with the blue, symbol. Set the mode of synchronization of the task of "continue". Save the task, start DASYLab (second photo).

    Change a task (adding channels, etc.) to the MAX while DASYLab works always, will result in unexpected behavior. To synchronize the configuration of MAX with DASYLab, you will need to close/restart DASYLab or use the 'sync' of the function (see photo 3 "syncmax.jpg"). You can set this function as a shortcut by right-clicking on one of the eight green or grey circle things.

    You should think about an update of the MAX/DAqmx drivers. 9.x is a little outdated.

    Updated at least DAQmx 9.9, better 14.x or 15. 0 (stay far 15 1.x).

  • serial port after the installed DSC module problem

    Hello..

    I want to GSM(with labVIEW) and PLC interface, My PLC will work in serial port only.

    In my PC, I have 3 serial ports. before installing the DSC module in my system, I can configure the ports series all the... but, when I finished installation of the DSC module, 2 ports is not between these 3 serial ports. Before PRECAUTIONS, I can work with PLC and I can use other ports. After installation, I can't configure the serial ports... Hereby, I have attached the error with this...  Please help me soon...

    The Solution is, no need to install the VISA device drivers separately. Installing the DSC module only.

  • The value read by visa read that VI is not correct!

    I design a labview program to control the Agilent E5072C Network Analyzer. When I want to get the value of this instrument, I use VI "VISA read" listed in the plate. However, the value read from this VI's latest measurement of time value. For example, the last time that the read value is 1.0 db, and this time the measurement value is 1.2 db. But when I use 'VISA read' VI to extract the value is 1.0 db.

    Agilent also provide a VI for this device to read the measurement value and she was always correct value. If someone could tell me why? need to do any action before the value read from this instrument if I want to use VI "VISA reading" instead of Agilent VI?

    You are probably reading too quickly.  Reading it in NOR-MAX, you do it by hand, it takes more time.  When you do that programmatically, it is "instant".  Try using the * OPC? command to activate your order in a query.  He returned then a '1' in the buffer.  Read the '1' and then create the command fetch.

    For Dennis:

    I've had bad experiences with the drivers provided by the manufacturer to the point where I don't even try to use more.  But Agilent is also anal about their drivers, because they are on their books, they should pose no problems.

  • Logging with DSC on a network drive

    Hi, it seems that I can't save the data on a network drive.

    My ultimate goal is to connect to a NAS, but I now use a mapped shared folder as drive (say S:\).

    I tried with a shared folder on the development PC itself or on another PC. I have permission to write to both (at least, I can interactively create files on these records).

    LV accepts the new database, configuration, however, after deployment, no file is created on the target folder.

    MAX also says, that the archives are created instead on the local PC with URL Default_database (in c:\programdata\national instruments... etc...).

    Any suggestion? I use LV2011

    This help you?

    With the LabVIEW DSC module entry of data on a network drive?

    http://digital.NI.com/public.nsf/allkb/4485587C5818F81886256C8B007F35CC?OpenDocument

    Concerning

    Andrea

  • Problem installation of DSC Module 2016

    Hello

    I try to install LabVIEW 2016 64-bit on my 10 64-bit windows.

    the problem is: Although labview is installed and works perfectly, when I try to install the DSC module an error appears and indicates that LabVIEW is not installed!

    LabVIEW module and DSC Setup files are downloaded from the site of NOR and the latest version (version: August 2016)

    I checked an article published on the site OR on the compatibility of windows 10 (article date: July, 2016)

    It contains the 32-bit version of the DSC Module is compatible with 64-bit-Win10, but in the download section, it has no option to select DSC 32 or 64 bit!

    The DSC module is supported on a 64-bit operating system, but not using LabVIEW 64-bit so make sure you have installed 32-bit LabVIEW.

    http://www.NI.com/white-paper/52818/en/

  • County of the edges of the AI of signals with the module 9221

    Hello

    I'm counting the edges of a signal to HAVE acquired with a module 9221 on a cDAQ. The average rate is about 1 kHz.

    I'm with 10 kHz signal acquisition, but do not get the right amount of edges.

    Is there a solution for this problem. I know, of course, it would be easier to use a CTR-modul but my signals does not match the plug.

    Thanks for any help

    Yves

    Hi Yves,

    There is a method to count planking of an analog input. See the link

    http://digital.NI.com/public.nsf/allkb/B472ABA1362F44328625729C0041A8B1?OpenDocument

    I hope this will help you.

    Best regards

    Sascha Egger

    Technical sales engineer

Maybe you are looking for

  • configuration for iTunes data are corrupted

    I tried to update iTunes for several months without success.  I also tried to uninstall it and all its components, but when I try to uninstall the iTunes file, I get a message saying that the configuration data for this product are damaged.  Any sugg

  • HP a6554f: Front USB Ports not working for a6554f

    Hi, I cleaned the dust from my computer yesterday for the first time because the computer kept crashing. I removed the motherboard, so I unplugged everything that was clinging to her and I also removed the hard drive then plugged everything once I ha

  • Cover from the battery bay (Aspire 5750)

    My ASPIRE 5750 of load capacity battery began to deteriorate. (He is two years old).  I completely understand how usage patterns define autonomy and am very happy to replace it. However, while looking for a supplier for replacement and the allusion t

  • HP Officejet 6000 e609a transport Jam

    Hello.  I use this printer-e609a via the local USB port on my 32-bit XP machine.  Everything has been working great.  The last time I went to print, was advising me of a paper jam.  I have rempoved the paper tray and I checked carefully, and there is

  • Unable to activate Vista.

    I own several computers, two weeks ago, I bought W7 and installed on one that had Vista installed on it. I want to put the copy of Vista on another machine and then install XP Home on another. Basically, I.m the upgrade of all my systems 'down the li