DIAdem File Write (DAT) with channel of different lenght

Hi,
I'm trying to write in a DIAdem DAT File some channels with different lenght but I've got the error:
"File Write Error:Number of channel does not match existing file"
About you is impossible to do it ?
I post my example code
Thanks a lot
Attachments:
Write DAT.vi ‏83 KB

Hi Michele
Yest, it is possible and you did quite in the right way. The reason why you receive that error code is because you set DIAdem File Write»file mode? terminal to TRUE instead of FAULSE.
According to the specific VI Help File you shell use it configured as TRUE only if your data array is a waveform type:
file mode? (block mode:F) Data is stored in block mode if FALSE, or channel mode if TRUE. Channel mode can only be used if the data is passed in the waveform array input.
Hope this suggestion can help you.
Have a nice day!
Ale

Similar Messages

  • FM "GUI_UPLOAD " File type 'DAT' with UNICODE

    Hi all,
            We’re using UNICODE  and we have developed a FM  which upload the data from application server as well as  from presentation server. Its based on selection screen options.  We are using GUI_UPLOAD FM in our function module. We have hardcode file type as ‘DAT’.
    CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            FILENAME                = Z_FILENAME
            FILETYPE                = 'DAT'
            HAS_FIELD_SEPARATOR     = 'X'
          TABLES
            DATA_TAB                = T_INPUT
    But when we’re uploading file from presentation server as CSV, Tab delimited or even XLS .its giving an error. Why is that? Is this any thing to do with UNICODE? What should be the type of file DAT?
    Please give your suggestions/input.
    Thanks
    Bye

    "subrc = 5 "
    INVALID_TYPE            = 5
    Why We cant user file type 'DAT' with GUI_UPLOAD ?
    I’m defining the structure as per file and rests of things are fine.
    Thanks for the reply...!
    <b>GUI_UPLOAD  HELP !!!</b>
    Value range
    <b>'DAT'</b>
      The components of the internal table are filled from the file. If the table contains several columns, the entries in the file must be separated by tabs. No conversion exits are carried out.
    The following applies for the different data types:
    I or N or P or F
    The numbers must be formatted according to the decimal representation defined in the user settings.
    D The date must be defined according to the date format defined in the user settings.
    T The time must have the format hh:mm:ss.
    Message was edited by: Suleman Javed

  • [svn:bz-3.x] 15191: Minor update to the build. xml and only make files write protected with chmod.

    Revision: 15191
    Revision: 15191
    Author:   [email protected]
    Date:     2010-04-01 07:06:21 -0700 (Thu, 01 Apr 2010)
    Log Message:
    Minor update to the build.xml and only make files write protected with chmod.
    Modified Paths:
        blazeds/branches/3.x/modules/sdk/build.xml

    DyNamic I agree that is sounds like you may be facing a network configuration issue.  Please let your network people know that you need access to the following servers and ports to download Adobe applications through the Adobe Application Manager:
    ccmdls.adobe.com:443
    ims-na1.adobelogin.com:443
    na1r.services.adobe.com:443
    prod-rel-ffc-ccm.oobesaas.adobe.com:443
    lm.licenses.adobe.com:443
    In addition for updates to download properly you will also need access to the following servers:
    http://www.adobe.com/:80
    htttp:///swupmf.adobe.com/:80
    http://swupdl.adobe.com/:80
    http://crl.adobe.com/:80

  • Storeaccount deny file-write-data

    Given the following ASLQuery
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <array>
      <dict>
      <key>key</key>
      <string>Message</string>
      <key>op</key>
      <integer>97</integer>
      <key>value</key>
      <string>storeaccount</string>
      </dict>
      <dict>
      <key>key</key>
      <string>Message</string>
      <key>op</key>
      <integer>97</integer>
      <key>value</key>
      <string>sandbox</string>
      </dict>
    </array>
    </plist>
    Query resilts
    02/04/2015 8:22:51.000 PM kernel[0]: Sandbox: storeaccountd(381) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/04/2015 8:22:51.000 PM kernel[0]: Sandbox: storeaccountd(381) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/04/2015 8:26:11.000 PM kernel[0]: Sandbox: storeaccountd(360) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/04/2015 8:26:11.000 PM kernel[0]: Sandbox: storeaccountd(360) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/05/2015 4:43:45.000 PM kernel[0]: Sandbox: storeaccountd(414) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/05/2015 4:43:45.000 PM kernel[0]: Sandbox: storeaccountd(414) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/06/2015 8:37:58.000 AM kernel[0]: Sandbox: storeaccountd(364) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/06/2015 8:37:58.000 AM kernel[0]: Sandbox: storeaccountd(364) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/06/2015 10:56:45.000 AM kernel[0]: Sandbox: storeaccountd(915) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/06/2015 3:26:51.000 PM kernel[0]: Sandbox: storeaccountd(355) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/06/2015 3:26:51.000 PM kernel[0]: Sandbox: storeaccountd(355) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/07/2015 8:31:31.000 AM kernel[0]: Sandbox: storeaccountd(344) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/07/2015 8:31:31.000 AM kernel[0]: Sandbox: storeaccountd(344) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/08/2015 11:55:29.000 AM kernel[0]: Sandbox: storeaccountd(9872) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/08/2015 12:35:27.000 PM kernel[0]: Sandbox: storeaccountd(364) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/08/2015 12:35:27.000 PM kernel[0]: Sandbox: storeaccountd(364) deny file-write-data /Users/CBMcK/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    Just what is happening?  It sure reads like a bug in iBooks.
    Yosemite 10.10.2

    Have some more
    02/14/2015 9:45:54.000 PM kernel[0]: Sandbox: storeaccountd(409) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/14/2015 9:45:54.000 PM kernel[0]: Sandbox: storeaccountd(409) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/14/2015 9:57:07.000 PM kernel[0]: Sandbox: storeaccountd(406) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/14/2015 9:57:07.000 PM kernel[0]: Sandbox: storeaccountd(406) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/15/2015 1:46:44.000 PM kernel[0]: Sandbox: storeaccountd(495) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/15/2015 1:46:44.000 PM kernel[0]: Sandbox: storeaccountd(495) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/15/2015 2:00:31.000 PM kernel[0]: Sandbox: storeaccountd(406) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/15/2015 2:00:31.000 PM kernel[0]: Sandbox: storeaccountd(406) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/15/2015 2:07:05.000 PM kernel[0]: Sandbox: storeaccountd(405) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/15/2015 2:07:05.000 PM kernel[0]: Sandbox: storeaccountd(405) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/16/2015 9:17:25.000 AM kernel[0]: Sandbox: storeaccountd(400) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/16/2015 9:17:25.000 AM kernel[0]: Sandbox: storeaccountd(400) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/17/2015 1:28:53.000 PM kernel[0]: Sandbox: storeaccountd(421) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist
    02/17/2015 1:28:53.000 PM kernel[0]: Sandbox: storeaccountd(421) deny file-write-data /Users/UsrId/Library/Preferences/com.rockysandstudio.Battery-Diag.plist

  • Read data with spreadsheet in different formats

    Hi all,
    I have to read these data table using the VI Read From Spreadsheet File of .dat file:
    377.88 6.326826E+03 2.024894E+03 253.794 
    377.89 6.328341E+03 2.026409E+03 253.984 
    377.90 6.329855E+03 2.027923E+03 254.173 
    377.91 6.331370E+03 2.029438E+03 254.363
    377.88 6.326826E+03 2.024894E+03 253.794
    377.89 6.328341E+03 2.026409E+03 253.984 
    377.90 6.329855E+03 2.027923E+03 254.173 
    377.91 6.331370E+03 2.029438E+03 254.363
    Note that we have two differents formats: float and scientific notation, then i tried with %#g for example, but i can' t read, only i read the first colum.
    Could u help me plz?
    César

    Not sure, but it may be the delimiters you are using in your file. Can you attach part of one of your data files? What are you using as a "delimiter" between the values? If you copy the text and paste in to a string control or indicator you can then right click on it and select "\" Codes Display to see what characters are used. Also the end of line character needs to be examined. The "Read from spreadsheet" expects carriage return, newline displayed as \r\n in the above way. It (the read from spreadsheet vi) does have a terminal that allows you to specify the EOL as well as the "delimiter". It expects tabs "\t" so if you have spaces "\s" it won't differentiate between groups on a line, which would give you only the first column.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How to access date with respective to different language

    Hello,
    In my database i stored the date in the following format1992-03-28 13:07:53.000.
    In My application user can use upto 8 languages.Now the problem is when the user logged in with english the date format will be like 5/26/08(dd/mm/yy).but me convert this format to 05/26/2008(dd/mm/yyyy) through and use the following syntax for constrains dateformat(MaoDate,'mm/dd/yyyy') = '05/26/2008'
    Now my problem is for some other language the date format is like Arr 20 07 or 25.05.92.But me wrote the code conversion only for the format mm/dd/yy.
    Is there any general way to acces the date for all the languages?
    Please help Me.
    Thank You!!!

    Hello sathish,
    Now the problem is i will get the string like 5/8/08 or Jan 21 07 .... from My GUI. But me wrote code only to convert from 5/8/08 to 05/08/2008...Bcz date comparison was happening in dd/mm/yyyy format.
    But whenever i am getting data like Jan 21 07 from GUI my conversion is not happening.And now the date constrain is dateformat(MaoDate,'mm/dd/yyyy') = 'Jan 21 07' i mean my code checking the date format with dd/mm/yyyy with date Jan 21 07.
    So i need to write a code to convert all the regional format to dd/mm/yyyy.So is there any common way to comapre the date with all regional format!!!!!!
    Thank You!!

  • Get a files creation date with UTL_FILE or DBMS_BACKUP_RESTORE.SEARCHFILES

    Hello gurus!
    I have a number of files in the filesystem and i need to find out the names and creation dates of these files. Please do not suggest Java as that is not an option.
    So far i get the names of the files from the SYS side with a procedure that I can call from the user side. The procedure returns an XML string:
    create or replace procedure list_directory(directory varchar2, retResultSet OUT VARCHAR2) is
         ns          VARCHAR2(1024);
         v_directory VARCHAR2(1024);
    BEGIN
          v_directory := directory;
          SYS.DBMS_BACKUP_RESTORE.SEARCHFILES(v_directory, ns);
          retResultSet := '<list>';
          FOR each_file IN (SELECT fname_krbmsft AS name FROM x$krbmsft) LOOP
              --DBMS_OUTPUT.PUT_LINE(each_file.name);
              retResultSet := retResultSet  || '<file>' ||each_file.name|| '</file>';
          END LOOP;
          retResultSet := retResultSet || '</list>';
    end list_directory;Question 1:
    Something like each_file.creation_date would be perfect but it seems like the filename is the only attribute available here from x$krbmsft. Am i wrong? Any other way on the SYS side to get the date?
    Question 2:
    On the users side i could use UTL_FILE to get filesize but not much more valuable information. Can i get the creation date somehow with UTL_FILE or similar?
    Any help is appreciated!

    Anyone got any ideas?Maybe a method as described in Re: Read all file names from Directory. may help (Shows also FileCreationDate).

  • Fstream can't read or write files 4GB even with -m64?

    Using C++-style streams, I have been unable to read or write files >4GB. For example, when writing 5GB in one go, I get only 1GB. The header for write uses the type streamsize for the size parameter, and according to sizeof, streamsize is 8 bytes (when using -m64). Looking at the assembly for a simple testcase, I verified that size parameter was not truncated before calling the write function.
    What makes this interesting is that I can read or write large files if I do it in the C-style (fopen, fwrite, fclose) or if I use the C++ functions and manually do it in 1GB blocks. I tried the instructions for LFS, but they didn't work and it seems like it shouldn't since this is C++ and I am building a 64-bit app. I have observed this with solaris studio 12.3 and 12.4.
    Is this a bug or am I missing a compiler flag?
    A simple testcase to expose this:
    #include <iostream>
    #include <fstream>
    #include <stdio.h>
    using namespace std;
    int main() {
      streamsize goal_size = ((int64_t) 1<<32) + ((int64_t) 1<<30);
      cout << goal_size << endl;
      char* data = new char[goal_size];
      fill(data,data+goal_size,'c');
      FILE* f = fopen("classic.data","w");
      fwrite(data,1,goal_size,f);
      fclose(f);
      fstream file("stream.data", std::ios::out | std::ios::binary);
      file.write(data,goal_size);
      file.close();

    Eh... sorry, didnt read the source close enough
    I can reproduce your misbehavior when compiling "by default" (with default -library=Cstd).
    It fails somewhat differently with Apache STL (-library=stdcxx4), which is kinda the modern version of Cstd.
    It works fine when compiling with -library=stlport4, or -library=stdcpp (-std=c++11).
    Looks like it is a deficiency of those particular STLs.
    regards,
      Fedor.

  • Problem with Save data with report

    Post Author: ramprosoft
    CA Forum: General
    Hi,
    I am new to CR and using Crystal Reports XI with SQL Server 2000.
    I'm not able to remove the saved data in a report. I have played around different options, but unfortunately I'm not able to remove the data. I have checked variouse places in web above this issue not able to find a solution, so decided to open a new post. The problem is :
    I have created a simple report and saved with-out data (1st version) the file size was 16KB. After few changes I have saved the same report with Data, the file size become 1065 KB. Its perfect and I can view the report in Report Viewer. Great Stuff!. Now the Testing completed, I would like to move this report to production environment, I notice that I'm unable to remove the data. I have played around various tricks like below, but it didnt work well.
    Trick 1:
    Uncheck: File->Options->Reporting (tab)->Save Data With Report.
    Check: File -> Options -> Reporting (tab)->Discard Saved data on Open,
    Uncheck: file-> Report Options -> Save Data With Report.
    File -> Save Data with Report (Not selected)
    Opened the report and try "save" and also tried "save as", still the size is 1065.
    Trick 2:
    I enabled all "Save Data with report" feature. Deleted all the rows in the table related to the query, previewed the report and Saved the report with "Save Data with report" featuer. But now, the funny part happen, the file size increased to 1070kb, instead of reducing. Worst Stuff!!!
    Trick 3:
    Updated the latest version of Patch and tried above tricks, still i'm not able to remove the data.
    Appreciate, if you could help me to fix the problem.
    thanks in advance

    Post Author: salmanq
    CA Forum: General
    Hi, This
    post is very informative, however I would like some specific information. If
    someone can help me then please send me a private message. Best Regards,
    Wholesale Pages UK Dropshippers
    | Wholesale Suppliers
    Australia Wholesalers and
    Dropshippers | Dubai Property and Real Estate

  • CAN_Write with channel start/No.o​f bits available ?

    Hello everyone,
                            I am trying to write  CAN_messages with  channel start bit and the number of bits available. The Write VI that i am using needs a cluster format of the message as its input.
                  A typical message format is something like the picture that i attached.I need to wite to a specific signal with only channel start bit and no.of bits that the signal is made of.
    for eg.. I want to write Message1.signal4 and channel start bit = 1 and channel number of bits = 1.this means i need to write a single bit in 1st row,1st column.
                If i wanna write Message2.signal 6 with channel startbit=40 and no.of bits=8..i need to write a complete byte to 5th row....
    I am not sure how do i go by this...should i use a matrix,an array ? since i need access to individual bits in the message matrix,should i try converting data into binary units and then writing it into individual bits(which i have been trying,but is very complicated)?
    I'm sure this is so confusing,but please let me know..if anything is unclear...
    Thanks
    Vam
    Attachments:
    pic.JPG ‏31 KB

    Duplicate post, check here.
    Regards,
    Roland A.
    Applications Engineer
    National Instruments
    Check out VI Roadshow

  • Just opening InDesign file changes "Date Modified" date?

    Hi,
    Running InDesign CC w/ Mac 10.9.5 and if the file has say yesterdays date listed as the "Date Modified" in the file listing.
    If I just want to open the file just to take a quick look at the file without making any changes the "Date Modified" automatically changes to the exact time/date as opening the file.
    Why? I need the "Date Modified" to stay correct. 

    I've tried this experiment with InDesign 10 (CC2014) on my MacOS 10.9.5 system and do not see any changes to the OS modification date for the file. Same is true under Windows. And I tried doing some suspicious operations to the document such as printing and PDF export. Closed the document and checked the File Information. The Modification Date did not change. And it normally would not change unless you explicitly save the file. Anything else you are doing while reviewing the document? Again, we would like to help, but can't repeat your symptoms.
    BTW, an experiment to try is to “lock” the file using the MacOS Get Info dialog and then repeat your experiment. When opening the document in InDesign, you will see the window labeled as “read-only.” What happens when you subsequently close the document and look at the file modification date?
    And of course, I assume you are not confusing the file modification date with the “last opened” timestamp!
                 - Dov

  • How many channels can I write in a same file with the Write Data Module (Dasylab 12.00.00) ?

    I would like to write data from a large number of channel (up to 128) in a same file. Using the write data module, I have up to 16 channels only ! The only solution I found is to save data in 8 different files... Is there any solution to solve this problem ? I use DASYLAB V.12.00.00. Thank you
    Solved!
    Go to Solution.

    Please see this knowledge base article describing how to do it.
    http://kb.mccdaq.com/KnowledgebaseArticle50372.aspx?Keywords=multiplex
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Date and Time channels in Diadem files

    I'm developing a tool to convert data files from or own format to Diadem data files format, producing a header (.dat) and a binary file (.r64).
    From my source data files, I have to convert a date channel and a time channel. Is there a way to store such channels in binary format (in the .r64 file) ?
    I got the GFS's pdf "Description of the Data formats and File set properties", but I didn't find any info about binary date or time channels.
    Thanks for help.

    Michel,
    The starting point is 01.01.0000 at 00:00:00. This time/date is the value '0'. The DIAdem time channels will be accurate until at least 12/31/2078, starting at 10/15/1582. This is due to changes made to the Gregorian calendar made back in 1582 concerning leap years.
    Today (04/18/2202) at 1:00:00 PM (13:00:00 military time) would be the value 6.31862676E+10. This number represents the number of seconds that have passed since 01.01.0000 at 00:00:00.
    DIAdem provides two functions to convert numbers into time data and time data into numerical data. They are TTR (time to real) and RTT (real to time). The DIAdem help system contains additional information on how to use these functions.
    Let me know if there is any additional information I ca
    n help you with.
    Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How to write to one channel of a task with multiple channels? (plus other things...)

    So I have a USB-6009 DAQ.  It has 12 digital output lines.  I want one channel that is "Dev0\line0:10" which represents an address bus in my application.  And a second channel "Dev0\line11" which represents a program enable line in my application.
    I have tried creating two different tasks and adding one channel to one task and the other channel to the other task.  The only task that worked was the task with "Dev0\line0:10".  It was always the task containing that channel, regardless of the order of creation.  So then I moved on to a different method.  (I read somewhere that I should only create one task of each type.  like only 1 DO task only 1 AO task etc...  However I am also using the two analog ouputs to and have a task for each AO and they work just fine.)
    I tried add both channels to one task.  But when I needed to control only the address bus, I had to have some information for the other channel as well.  This was a little trying, but I could configure it that way.  But it turned out to be easier for me to just make one channel with all the lines and OR in the data for line11 with each write.
    I just wondered if it was possible to write to one particular channel of a task and not the other channel?  That would really be the ideal solution for me.  especially if I could write multiple samples to the one channel while I left the other channel alone.  Which brings up another complaint... Why does WriteMultiSamplePort only work if I use a DigitalMultiChannelWriter, and not if I use a DigitalSingleChannel writer even though my task only has one channel (and by the way I set up the channel as one channel for all lines)?  A perplexing issue to be sure.
    And no I can't just load all my samples into an array and write them all at once because I also have to manipulate the two analog outputs in between the various digital writes.
    I am using NI DAQmx 7.5 and C#.  I am trying to use the DAQ to program a digital switch, which has proven to be a real challenge.  In push-pull mode there is too much ringing for the switches programming port to tolerate.  But the switches interface is LVTTL, so I needed the 3.3V.  When I changed to open-collector I had to use voltage dividers to drop down to 3.3V.  But the rise time using open-collector is too slow for me the program the switch in serial mode, so I had to change to parallel.  The switch has an 11 bit multi-plexed ADDR/DATA bus.  So the DAQ I had chosen to use which had plenty of lines for the serial programming, now is strained to it's absolute limits by the parrallel interface.   ARGH.  The only output I am not currently using is the counter, and I'm going to need it if I ever want to read back from the switch.  But first I have to seperate the ADDR/DATA bus from the CS line on the DIO lines of the DAQ.  And I don't know for sure what I'm going to do about the voltage level translation when I have to go bi-directional.  Maybe I can filter out the ringing in push-pull mode?  Any thoughts on that?

    Hi Saikey,
    In most cases, you are exactly right: you can only use one task for one type of operation (i.e. only one analog input task in the same program). With the USB 6009, you can have multiple digital output tasks running at the same time. I was able to run a digital output program with two different digital output tasks configured for a USB-6009.
    However, you stated that it would be better if you had everything in a single task for your application and write data to only some of the channels. The easiest way to do this is to modify your array of output data so that only the data to that one channel is changing. So, for example, if you keep writing a 0 to the channels that do not need new data nothing will change.
    If you have to change your analog outputs during this program, you could create an event structure that would stop and restart the analog output tasks without changing the digital output data. I hope that you find this information helpful.
    Regards,
    Hal L.

  • Error Occuring While Processing Data With DIAdem 8.1Excepti​on EAccessVio​lation in module ntdll.dll at 000111DE. Access violation at address 7C9111DE in module 'ntdll.dll​". Read address 37363430

    Hello,
    We are having an issue running Diadem 8.1 on a new HP XW 9400 with Windows XP SP2. 3 errors have been occuring with frequent crashes, they are:
    1) "1Exception EAccessViolation in module ntdll.dll at 000111DE. Access violation at address 7C9111DE in module 'ntdll.dll". Read address 37363430.
    2) The instruction at "0x7c9111de" referenced memory at "0x352e302d". The memory could not be "read".
     3) ---Error---   DIAdem
    Error in Autosequence - processing in line: 74 (IARV_VAR_GET)
    Runtime Error while executing command "Iarv2Txt$ := FR(T9,L1)"
    Error type: ACCESS VIOLATION
    Error address: 000101DE
    Module name:ntdll.dll
    We are using the same scripts and version 8.1 on a variety of Dell desktop computers (W2K and XP SP2) without any issue, looking for suggestions as this affects no other software on the HP XW 9400 other than DIAdem. Appreciate any suggestions.
    Message Edited by swillh on 06-25-2007 08:55 AM

    Christian,
    I will answer your questions in the text below. Thanks for your help.
    Hi swillh,
    I also would like to help you.
    Unfortunately, The reported access violation in the central Windows ntdll.dll is very unspecific.
    May be the following questions will help you to provide me more info.
    1. You mentioned that the aut's and - I think - also the accessed text file reside on a server.
    Is there a stable network connection?
    The server can sometimes be a little slow but the connection is good. This computer is using the same connection that the prior computer utilized without issue.
    Are the files accessed by multiple clients simultaneously?
    It is possible that more than one computer can be accessing the same file, but again, this has never been an issue. We are reading the files only, not writing to them.
    The processing routines we are running have used for over 5 years without any issues until adding this computer.
    Is the text file read by one client while another client is writing the same file?
    No, files are "read only"
    2. Have you already tested opening the file with the FileOpen command before calling FR?
    Yes
    Do you see any chance to convert the aut to a vbs file? This gives you more alternatives in accessing text files.
    3. What do you mean with "processing ATD's with 30 or more channels of data"? Where is the relation between ATD files and data channels?
    Processing Crash Dummy data with file sets low in channel count (15 channels) result in successful processing without any crashes or access errors.  When processing dummies with more than 20 channels we sometimes encounter these issues. The higher channel count may be the only common factor I can find in these faults.
    Steve
    Message Edited by swillh on 07-09-2007 08:44 AM

Maybe you are looking for