Nt1330 Unit 1 Learning Guide Essay

Decent Essays
Greetings,

The exercise for this learning guide unit was really useful. There are many case in which one could need to look for a file, or just directory information, and this assignment gave us the opportunity to play a little with this.

I had to write something similar some time ago to consolidate thousands of .csv files into one single file. The files were generated by a test system in which only 32 units can be tested simultaneously. For every 32 units, the system generated 4 different files that contains different data.

We were interested only in the calibration files, which have the substring CAL in the file name, so that helped in the task. At that time I used a VB .net console application to do the task.

Below I pasted the code
…show more content…
My.Computer.FileSystem.CopyFile("J:\EOL Last Actions\CSV files 2\" & files(counter).ToString, "J:\EOL Last Actions\CSV files\" & files(counter).ToString)

counterLIM = counterLIM + 1

'End If

counter = counter + 1

End While

End If

If activate = 1 Then

While counterWrite <= files2.Length - 1

Console.WriteLine("Consolidated file #: " & counterWrite)

If System.IO.File.Exists("J:\EOL Last Actions\Only LIM files\" & files2(counterWrite).ToString) Then

line = System.IO.File.ReadAllLines("J:\EOL Last Actions\Only LIM files\" & files2(counterWrite).ToString)

If line(1).split(",")(5).Substring(0, 3) = "206" Then

While counterWrite2 <= line.Length - 1

write_IT("J:\EOL Last Actions\", "206_LIM.csv", line(counterWrite2).ToString)

counterWrite2 = counterWrite2 + 1

End While

write_IT("J:\EOL Last Actions\", "206_LIM.csv", "")

write_IT("J:\EOL Last Actions\", "206_LIM.csv", "")

End If

End If

counterWrite2 =

Related Documents

  • Improved Essays

    Part B Q1. The normal dose of paracetamol is very safe to use and it is not over 4g per 24 hours; however, when the patient take more than 6g per 24 hours of paracetamol, the liver necrosis will happen within 10 to 12 hours and liver damage may occur within 24 to 48 hours. For the metabolism, most of the paracetamol is converted to nontoxic metabolites by the phase II conjugation of glucuronide and sulfate and a small amount of paracetamol is oxidized by the Cytochrome P450 (CYP) enzymes in the phase I metabolism. In this phase, CYP1A2 and CYP2E1 enzymes convert paracetamol to N-acetyl-p-benzoquinoneimine (NAPBQI) which is highly toxic substances.…

    • 885 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    5. CONCLUSIONS Dry waste prawn shell converted to chitin and chitosan by using 3.5% of NaOH and 1N HCl with the temperature range from 20 oC-120 oC in the process of deprotinized, demineralized , decolourized and deacytilated .CMC was synthesized by carboxymethylation, as some of the –OH group of chitosan were substituted by –CH2COOH groups. Carboxymethyl chitosan was used as an adsorbent for the removal of copper from the wastewater. The removal efficiencies of copper were affected by different parameters such as pH, adsorbent dosage, temperature, contact time, initial metal ion concentration, anion and cation.…

    • 170 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    Nt1310 Unit 2 Essay

    • 368 Words
    • 2 Pages

    1. Rack and wall mountable connector housings shall accept an interchangeable connector panel. An adapter panel is defined as a modular removable plate containing optical fiber connector adapters. 2.…

    • 368 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    What was the horsepower calculated? Does this make sense? The horsepower calculated when running up the stairs was 0.67 hp. This makes sense as 1 hp was originally defined to be the approximate amount of work a strong dray horse could do while lifting coal for one minute (The Editors of Encyclopædia Britannica, n.d).…

    • 419 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Nt1310 Unit 9 Essay

    • 631 Words
    • 3 Pages

    Task 9 COMPARE the usefulness of MySQL and QBE Query by example is a language used for relational databases like SQL. Its development was parallel to that of SQL’s as a database language. It was originally only able to retrieve data from a database, it was then later updated to do other operations like insert, update and delete data from a relational database. It is easier and more productive than SQL as you do not need to remember the finer details of the language as you can easily select tables and columns without remembering the names.…

    • 631 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    2. Explain how the submission engine plan will handle submissions in other languages, including Portuguese and Mandarin. When the data is submit through the submission engine using the web form, email, Twitter, Facebook, Internet crawler and other data input, Google translate API will start the translation from the other languages using it data-driven approach of millions of multilingual documents into English, then to the target language of the user. When the source text is short, the submission will use rule-based machine translations, for better accurately on the translation. If the language does not have direct translation, Google will translate to a closely related language that maybe more spoken in that area.…

    • 577 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    • Authentication- this domain controller is made only for routine security processes. Due to this, it can perform these processes much faster than another server that is busy running programs and processing resources. Using a domain controller makes it easier for a user to access the domain and network, and the time savings are often rather large if this is used across a big network. Resource Authentication.…

    • 484 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Nt1310 Unit 2 Essay

    • 807 Words
    • 4 Pages

    1. Compare and contrast Radiological dispersal devices (RDD), Radiological exposure device (RED), and Radiological incendiary device (RID). Out of the three devices, Radiological Dispersal Devices are the most common. For one thing, these devices “…require limited technical knowledge…” that is why terrorists are more likely to make these bombs (Radiological Dispersion Device, n.d.).…

    • 807 Words
    • 4 Pages
    Improved Essays
  • Great Essays

    Bsb301 Task 1 Essay

    • 1299 Words
    • 6 Pages

    Assessment Task 1 CASE STUDIES Learning outcomes measured: Describe the diverse groups of microorganisms associated with the human body, the impact of specific microorganisms on human health, and the body's responses to microbial pathogens Research and interpret the signs and symptoms of disease, the transmission of infectious diseases, and the appropriate infection control procedures to employ for a specific microbial pathogen Length: Short answer responses up to 300 words per question Estimated time to complete task: 1-2 hours per case study Weighting: 35 % Individual/Group: Individual Authentic Assessment: 0Yes 1 No Formative/Summative: Summative…

    • 1299 Words
    • 6 Pages
    Great Essays
  • Decent Essays

    1. Obviously better test notes and status changes. I think other techs haven't been taking it seriously in the past, and we need to have a sit down or a talk with all techs to inform them that it is a priority. I think my system of keeping the physical tickets and basically auditing them ourselves at the end of the day can be very effective. 2.…

    • 610 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    Rowan cursed his ill luck. Not because of the rain as he sat in the back seat of the impressively expensive towncar. In fact the soft pattering of the rain upon the metal roof was the most comforting part of this entire situation. He had no surname, tradition dictating that he would have taken his father's, had he known who the bastard was. Or what was given to him by his owners had he been younger.…

    • 563 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Unit 3 Frq Essay

    • 746 Words
    • 3 Pages

    Unit 3 FRQ Part A: In a lot of folk cultures, males do most and the work and are in charge of most of the decision-making. In more popular culture, females are gaining more power and more say of what goes on in their life. With globalization, this trend of women receiving more say should spread and may even take over some folk cultures. It’s known that in folk cultures women are known as a lot less than men are.…

    • 746 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Hcr 220 Week 3 Essay

    • 471 Words
    • 2 Pages

    INITIAL RESPONSE WEEK THREE Standardized Coding Systems According to the American Nurses Association 2015, universal language among nurses is important because it delivers continuity of care, a means to measure clinical outcomes and patient satisfaction. (p. 11). Common language helps implement the measurement of the EHR and it sets a standard for nursing practice to measure patient outcomes that will be interpreted for use in evidence-based practice.…

    • 471 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    This Wednesday, we were handed back all the homework from last week and were told to mark the corresponding points in our point chart. From there, Carole talked about grammar and what she looks for in a paper. Run on sentences or fragmented sentences are something to avoid. Effect is usually used as a noun and affect is usually used as a verb. I’ll need to take add a grammar section to my notebook for future grammar notes.…

    • 502 Words
    • 3 Pages
    Improved Essays
  • Superior Essays

    unit 205Outcome 1 Know the different types of schools in the education system 1.1 There are two types of schools: Independent schools which rely on fees, have their own entrance exams and follow their own curriculum. Types of Independent Schools: Preparatory School All-Through School Public School Independent Grammar School State schools are run by the government, receive funding and have a set curriculum: Types of State Schools: Grammar Academies Community Trust Free Specialist Voluntary 1.2 Independent schools rely on fees and money from investments they don’t receive government funding. They will have an entrance exam and they also devise their own curriculum framework.…

    • 1136 Words
    • 5 Pages
    Superior Essays