Data channel read name DAQmx without installed DAQmx

We have data files, including a header with the names of channels in the DAQmx channel name format.

Now, we want to send a Labview application to our customer by which they can open these files and just seeing the names of channels in the form of text. Can we make such an application without requiring the customer to install DAQmx. We use Labview 7.1.1 and after installing the application, it asks for nivaiu.dll, nipalu.dll nipalut.dll and so on. Change the simple arrays of strings file header gives compatibility on old data problems.

Concerning

Dan Larsson

Problem solved!

Control of channel name DAQmx can serve as a binary file read model without installing DAQmx separately. I found a Subvi calling "DAQmx unflatten string. After the removal of this call everythings working.

Sorry for all you mind!

/ Dan

Tags: NI Software

Similar Questions

  • The most effective way to log data and read simultaneously (DAQmx, PDM) high data rates

    Hello
     
    I want to acquire the data of several Modules cDAQ using several chassis to
    high data rates (100 k samples per second if possible). Let's say the measurement time is 10 minutes and we got a large number of channels (40 for example). The measured data is written to a PDM file. I guess, the memory or the HARD disk speed is the limits. For the user, there must be a possibility to view the selection of channels in a graph during the measurement.

    My question: what is the best and most effective way to save and read data at the same time?

    First of all, I use an architecture of producer-consumer and I don't want to write and display the data in the same loop. I expect two possibilities:

    [1] to use the 'DAQmx configure logging.vi' with the operation 'journal and read' to write the data to a PDM file. To display the data in a second loop, I would create a DVR samples documented and 'sent' the DVR for the second loop, where the data will be displayed in a graph (data value reference). This method has the disadvantage that the data of all channels is copied into memory. Correct me if I'm wrong.

    [2] use 'DAQmx configure logging.vi', but only with the "journal" operation to write the data to a PDM file. To view the selected data, I had read a number of samples of the TDMS file in the second loop (I'm currently writing the TDMS file). In this case, I have only one copy data from the selected channels (not), but there will be more HARD drive accesses necessary.

    What is the most effective and efficient solution in this case?

    Are there ways to connect and read data with high frequencies of sampling?

    Thank you for your help.

    You say that the measurement time is 10 minutes. If you have 40 channels and you enjoy all CHs at 100 kHz, it is quite a number of values.

    In this case, I always try to approach under the conditions of use. If a measure is only 10 minutes, I just connect all PDM data and create a graphic module that could be in the same loop of consumers where connect you the data. You can always work on the raw data files big offline afterwards, the extraction of all the information you need (have a look at the product called NI DIAdem: http://www.ni.com/diadem/)

    The main issue is that the user needs to see in the graph (or perhaps a chart can be useful too). Lets say that the graph is 1024 pixels wide. It makes no sense to show multiple data to 1024 points, Yes? Every second will produce you 100 data points k per channel. What is the useful information, which should see your username? It depends on the application. In similar cases, I usually use some kind of data reduction method: I use a moving average (Point by point Mean.VI for example) with a size of the interval of 100. This way you get 100 data points of 1000 per channel every second. If you feed your graph every second with these average values, it will be able to data points in 1024 of the store (as a default) by channel (curve), which is a little more than 10 minutes, so that the user will see the entire measurement.

    So it depends on the frequency at which you send data to the consumer. For example, collect you values 1024 by iteration of the producer and send it to the consumer. Here you can make a normal means calc or a bearing (according to your needs) and he draw a graphic. This way your chart will display only the values of the last 10 seconds...

    Once I programmed some kind of module where I use a chart and not a graph, and the user can specify the interval of the absolute timestamp that is traced. If the data size is larger than the size of the chart in pixels, the module performs an average calculation in order to reduce the number of data points. Of course, if you need to see the raw data, you can specify an interval that is small. It all depends on how you program zoom functions, etc... In my case I hade a rate of 1 Hz, so I just kept all data in RAM limiting the berries to keep 24 hours of data, so that technicians could monitor the system. In your case, given the enormous amount of data, only a file read/write approach can work, if you really need access to all of the RAW data on the fly. But I hope that the values of working capital means will be enough?

  • Selection of a subset of channels to read with DAQmx

    Hello

    I use a 32 channel NI9205 analog input module, connected with the chassis OR cDAQ-9174 and LABVIEW 2011.

    I created a task in the measurement and Automation Explorer who has 16 analog input of virtual channels (each of them with her has an entry configuration, scale, calibration, etc...). Inside LABVIEW, I opened this task to acquire some data, but I just want to read some of the 16 channels (defined by the user), not all, so before the "time DAQmx", I put a 'DAQmx reading node' and I put the ChannelsToRead with the names of the channels that I want to read. It seems to work, but when I put the acquisition rate it's error.

    The acquire module supports a rate of 250 kHz (divided by each channel). So if I put 5 channels to read, for example, it should work with a rate of up to 50 kHz. But whenever I try to use an acquisition rate higher than 15 625 kHz (which is 250 kHz/16) I get an error that says that the maximum rate is 15, 625kHz. As if I was using 16 channels of the task, but I'm not...

    Here the screenshot of channels read and sync configuration.

    Thank you
    Alexander

    Hello Alexander, and welcome to the forums,

    As odessy27 says that you do not reach the correct sample rate because the task is to be set up to read 16 channels; in spite of you more later by specifying which channels are to read.

    To preserve the configuration settings of your created able task and Automation Explorer (MAX), I recommend creating global chains of these. A Global channel will store your configuration for each physical channel and can be accessed from multiple tasks

    Creating a Global channel by the physical channels in your task of MAX right-clicking and then selecting create Global Channel. .

    You can drag these through to your block diagram and wire in the task/channels in the terminal of a function of mx-acquisition of data, as shown in the image below.

    If you change to a control by right clicking > change control channels can be set by the user and the maximum purchase price will go as planned.

    Concerning

    Jamie

  • 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).

  • Trace channels by name without the help of a script.

    Hello

    I'm looking to draw channels, by using a report model, without having to rely on the index of each channel. I am processing the data from different sources and although they have the same marking convention for certain types of channels, some sources generate unique channels that can shake the index, and I have to manually put the parcels on the right channels.

    Is there a way around this without the use of scripts?

    Thanks for any help.

    Kevin

    I think that you can configure your report models as they reference channels by name, as opposed to the number.

    I have not used but check it out

    
    

    Or try this

    On the report tab, go to settings > Layout Set Up > layout settings and I believe that you change the channel reference it as well

  • The actual voltage of a physical channel of a DAQmx device display

    Hello!

    Quick question: is there a way to read the voltage of a physical channel of a DAQmx device, when there is no task that is running? I want this information after that I ran several tasks. It is important to know the real tension before you start the new task. Any ideas? Thank you!

    Best regards

    Michael

    Hello Michael,

    You are right.

    The 'PCI-6110"and the «PCI-6711" have no internal channels.»

    Could you please describe your exercise.

    Why do you want to know your output voltage before you start a new task.

    Best regards

    Phanuel

  • StatBlockCalc without creating data channels for results

    I am creating the min, max and average for a group of channels (3 of them), but I don't want to create/store new data channels - I prefer to use the variables StatMin, StatMax, and StatArithMean.  For example, by using the script

    StatClipCopy = 0

    StatClipValue = 0

    StatFormat = «»

    StatResChn = 1

    Call StatBlockCalc ("Channel", "2-254", "" [1] / Ah - ' [1] / temperature A1'") '... StatDirec, RowNoStr, ChnNoStr

    causes of 3 new channels (min/max/AVG) with 3 items in each channelto created in the data portal.  Rather than create channels, I change the StatResChn = 0, I thought I should store only the values in the variables StatMin, StatMax, and StatArithMean

    StatClipCopy = 0

    StatClipValue = 0

    StatFormat = «»

    StatResChn = 0

    Call StatBlockCalc ("Channel", "2-254", "" [1] / Ah - ' [1] / temperature A1'") '... StatDirec, RowNoStr, ChnNoStr

    However this only seems to work uses a single channel (amperes / hour or temperature A1)

    Is it possible to get multiple statistical values (statmin, statmax, etc.) on multiple channels without creating separate portal data channels?

    Otmar

    Exactly what I was looking for.  I tried and it works fine.  Thank you very much!!!

    I have a supplementary question - is there any kind of available documents describing these properties/values such as ResultMin, etc.?

  • HP Mediasmart DVD on a6750t will not display data channel 5.1 via SPDIF or HDMI

    So, I got a desktop HP custom computer new Friday. Started playing with it on Saturday. I called Sunday morning to request an RMA number and return shipping label. Here's my saga:

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Started HP problem calls to 03:47 February 15, 2009

    Region (by spelling rep) said return is processed through warranty / customer). He said that HP does not publish a badge number. Ticket # xxxxxx3374.

    (Transferred to warranty/support service)

    (The line was full of static-asked for the 800 for the reminder. No one said that he had not the number I called in the. EU log www.hp.com. Found the number to call is 1 (800) 474-6836. I called this number.)

    Satya (by spelling rep) responded to the line. I told the rep that I don't get any output 5.1 for the Blu - ray disc software that was provided by HP (HP Mediasmart DVD). Informed him that all MS products, DVD and HD devices sent out to my Yamaha receiver 5.1 channel. [Are the important part of DVD. As the same drive is used for THE DVD and Blu - Ray, it is my opinion that the material works very well.] I repeated several times that the only thing to do not send 5.1 channels of data has been the player of HP MediaSmart DVD software for drives Blu - Ray.

    Satya ran various tests and wanted to "call back tomorrow with a solution. He seemed to think that maybe there is a problem with the hardware, and eventually I wasn't getting something in my order.

    I clearly started I wanted an RMA number and I wanted to return the product. Satya refused, saying that he had to 'search' the problem until it could issue the RMA number and return the product. He said he'd call between 14:00 and 17:00 tomorrow (STD) (I informed him he is currently 04:49 to my place.)

    The problem is not with the hardware. All software Microsoft products that support 5.1 channel send through data 5.1 SPDIF (optical cable) channels. Once again, all the DVD and other 5.1 (HD PVR) devices send (via s/PDIF) 5.1 channels of data to my Yamaha receiver. The only thing not released in 5.1 is the software (HP Mediasmart DVD) Blu - ray disc player. DVD is ran using the player Blu - ray (on the system only) and sends the data of channel 5.1 without any problem.

    Closed the problem HP call 04:52 February 15, 2009

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Thus, any other suggestions? I tried different things such as Passthrough-HDMI, HDMI-PCM, SPDIF and output of 6 speakers on the application of reader software HP MediaSmart DVD Blu - ray without result.

    I decided to try contacting chat support to see if they had ideas... After almost 2 hours of troubleshooting, a support chat, there is no current solution. I find myself with waiting on an another software update (I guess the previous update does not solve this problem and took 6 months to publish), or return the PC with installed defective software.

    When support calls me I will request the RMA and return labels to be reactivated and ship back to HP PC.

    I then go to BestBuy and buy a Blu - ray player.

    Good luck if you are keen on your nice new Blu - ray player and enjoyable new disc from reading over 2 channels.

    Unless you install a different drive (that YOU will have to pay), you're completely out of luck is HD audio (5.1, 6.1, 7.1 channels) via SPDIF or HDMI. I looked on all systems CTO and they ALL use the same software. Well. Mabey HP will be better in a few years.

    I am posting this as a solution only as the solution to the problem was to ship the return to HP PC and get a refund. < sigh >

  • Lack of external function DAQ channel read

    Hello

    I did a few installers to share on the network variables, one is based at DAQmx readings of analog channels use modules of simulations and the second donkey receives variables shared these radings... I thought it was pretty good, because I have the main application (channels read and share variables) in my main PC (which has istalled LabVIEW 2012) and the other track in a regular PC (no software OR installed until my Installer Act) and it worked fine. However, I installed the main application in the regular PC and I got an error stating: lack of external function DAQmx read single sample DLB... I guess I should include in my Installer features on DAQmx but I Don t know which ones to avoid this error and be able to install my apps in any PC... Thanks I await your advice!

    Well, I found the solution...

    I've just included confiuration NI DAQmx MAX support to my app Installer and I solved the problem...

  • Why do write can not be performed because the number of data channels does not match number of channels in the task.

    Possible reasons:

    Scripture cannot be performed because the number of data channels does not match number of channels in the task.

    When writing, provide data for all channels in the task. You can also change the task so that it contains the same number of channels as the written data.

    Number of job channels: 8
    Number of data channels: 1

    Lama says:

    The DAQmx vi writing gives me the error. If I run a single channel, isn't a problem. Multichannel gives me error.

    You are funny! Why tie yourself to work VI (single channel) instead of one that gives you errors (multichannel)?

    (If your car does not work, you bring car your wives to the mechanic, right!)

    What is the exact text in the multichannel 'physical channels' when you do the AO control?

    Lama says:

    I did a sequence to ensure that each function has been run in the correct order. Wouldn't a race condition.

    All you have to do is wire the 'start of task' error at the entrance of error of the DAQ assistant and then back to 'stop task' and things will run in order. Guaranteed! Think the stream! Everything else can run in parallel or the order is irrelevant.

    First convert the sequence stacked to a sequence of plate, remove the flat sequence and add the mentioned son. Now, do a "cleaning pattern.

    A when stacked with the inhabitants of the sequence is one of the worst construction you can possibly do. It makes the code difficult to follow, impossible to maintain, difficult to debug.

  • I have used IE first time in 3 years. I have READ the screen without my glasses. I didn't know that Firefox FONTS were 'low' tried almost everything to get Firefox fonts look as "BOLD" and clean. Failed. Ideas please.

    I have used IE first time in 3 years. When I did, I could READ the screen without my glasses. I didn't know that Firefox FONTS were 'low' tried almost everything to get Firefox fonts look as "BOLD" and clean. No luck.

    How can I get Firefox to DISPLAY a more clear and clean police as Word? I choose different fonts in Firefox and sizes and nothing is really happening.

    You have clearly Type is defined on your system?

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • Cannot open the terminal failures of the file 'C\:HP\DATA\HP. DAT' to read.

    I've just updated my bios on my HP Pavilion g6-2102au Notebook PC.

    I had continuous multi color screens, thought it was overheating but not so much.

    I installed the latest version of the bios and it seems to have worked? having had a twinkle while writing

    This.

    My query is to start up when he started I get this message and I said OK

    Terminal Failute cannot open the file 'C\:HP\DATA\HPLB. DAT' to read.

    This is the message that someone help me get rid of it

    See you soon

    shiner2348

    Hi @shiner2348,

    Thank you for your inquiry.

    I understand that you receive the error message "Terminal failure cannot open the file"C\:HP\DATA\HPLB. " DAT' to read '.

    This is a reference to the launch of HP software box.    I suggest to uninstall and then restart your laptop.

    If you want to keep this app I suggest that you try to download it and install it using compatibility mode.

    Here are links to help you in this process:

    Compatibility mode

    HP launch box Windows 8

    Please let me know the results.


    Thank you for your participation in the Forums of HP! We want to help you as well as others who may encounter a similar problem as you. Please consider tagging the post in order to solve your problem as "accept as Solution" to help other members of the community!

    To show recognition for my efforts please click the Thumbs Up below.

  • Unpack the cluster data channels

    Hi all

    I tried for this research, it seems quite common, but I don't know that I used the right set of words:

    I receive data from a device in the packages. Each sachet contains several images, each image contains two subframes and each sub-frame contains several data channels. In my vi, the package is a cluster, executives are clusters and the subframes are clusters, all the typedef' ed.

    What I want to do, is to take the big initial cluster and divide the data into a set of tables, one per channel data, without generating spaghetti.

    The function "decimate the table" would work great to do the job, but alas, it only works on the berries, no groups, and it seems that my group cannot be converted to tables.

    Is there something that I am missing? I have attached a photo of high level... Note that I'm not an artist. "N" and "m" values are fixed, so there is no variability

    By "append" do you mean "build the table? ' You can use "Cluster of Array" instead?

    Also note that if you have a cluster where the latter are the same, regardless of how many nested groups there, then you can Cast from Type to an array of this type of final element. For example, if all data real of your cluster is single precision floats, you can the Type Cast to an array of SGL.

    If you can upload a screenshot or your code saved to an earlier version, I will try to provide more specific help.

  • My computer keeps trying to install 14 updates, but when it gets to the point where the computer restarts returned back without installing them. Error 80070020

    windows update

    My computer keeps trying to install 14 updates, but when it gets to the point where the computer restarts returned back without installing them. Get an Error 80070020, I am unable to find out exactly what to do. Every day for a few weeks he tries to install the updates and then stops to install but always ends up coming back. Can you help me please?

    Hello

    read thisL

    Windows Update Error 80070020

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Update-Error-80070020

    and also see if this helps to fix:

    How to reset the Windows Update components?

    There is also an automatic 'fix - it' here

    http://support.Microsoft.com/kb/971058

    Also, try to put the KB numbers in the search on the link below and then manually download the

    http://www.Microsoft.com/downloads/en/default.aspx

    or please repost your question in the correct windows update forum

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=all

  • Data being read empty CD.

    A disc that Windows Me recognizes and autoruns is read by Vista as being empty.  Help please!

    Hello

    Please answer these questions so that we can better help you. We need more information to resolve problems on your question.

    a. what type of files are there on this data CD?
    have b. you been able to use this data on vista CD earlier without any problem?
    c. you are able to use any other CD that have been created using Windows ME?
    d. recently, did you do any hardware/software changes for the computer?

    Check whether you can open these CDs on any other windows vista or XP computer.

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • Strange problem with Satellite 2450-201 keyboard

    I have a Toshiba Satellite 2450 201 when I'm working with one of the applications of the evil Offcie I load keyboard keys '4' or '6' or in the 'space bar', it seems to me soon the window "save under...". "and I don't get close. What is pass?José Edua

  • Animation

    Hello How I did this in labview I want to move an object from one end to the other end and disappear "as VAN move from one to the other end. Or by moving the fan etc. How this type of animation are created in labview and how it will be monitored can

  • Session initialization failed

    I've got the blues of this BSOD.  I got inside the recovery with disc Console but I need help with orders.  Apparently I don't speak this language.  My stop message is 0x00000006F.

  • Flag: My laptop keeps freezing

    I have my phone for a long time, it was great at first, then all of a sudden it has stopped working, it freezes when I connect and will take about half an hour to go to the homepage when I finally reach the homepage it wont let me click anything whet

  • How can I change the start menu to view all default programs?

    I'm trying to figure out how to get all default loading programs in the start menu (rather than recent programs showing, we disabled).  Y at - it a registry key that can be changed or created to do this?