2
10 Questions
6 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Program koji obavlja nekakav test se kontinuirano izvrsava i logira podatke o testu u jednu datoteku tijekom jednog sata. Ako je bitna brzina izvrsavanja testa, da li se treba koristiti "low-level" ili "high-level" File I/O VI-je?

  • "Low-Level" (correct)
  • "High-Level"
  • Ako podatke iz datoteke zelite otvoriti u "Notepad-u" koji format datoteke za pohranu podataka treba koristiti?

  • ASCII (correct)
  • TDMS
  • Koje od navedenog prikazuje ispravan tijek programiranja pomoci DAQmx funkcija, odnosno DAQmx API-a?

  • Create task-configure task-acquire/generate data-start task
  • acquire/generate data-start task-clear task
  • start task-create task-configure task-acquire/generate data-clear task
  • create task-configure task-start task-acquire/generate data-clear task (correct)
  • VISA je "high level" API koji poziva "low-level" drivere

    <p>True</p> Signup and view all the answers

    pridruzi

    <p>G = C,C++, Java, BASIC, itd. Block Dijagram = Programski kod Front panel = Korisnicko sučelje SubVI = podprogram</p> Signup and view all the answers

    Koji terminali su SubVI-u, ako nisu spojeni, uzrokuju pogrešku?

    <p>Required</p> Signup and view all the answers

    Ako se VI zeli koristiti kao subVI potrebno je napraviti novu ikonu

    <p>False</p> Signup and view all the answers

    kada se koristi sequence struktura moguce je zaustaviti izvrsenje programa unutar bilo koje sekvence

    <p>False</p> Signup and view all the answers

    Sto je od navedenoga korist kod upotrebe state machine za razliku od sequence strukture?

    <p>sve od navedenog</p> Signup and view all the answers

    varijable treba koristiti u VI-u kad god je to moguce

    <p>False</p> Signup and view all the answers

    Study Notes

    File I/O Operations

    • A program that continuously runs a test and logs data to a file within an hour may require a consideration of "low-level" or "high-level" File I/O to achieve optimal performance.
    • If data is to be opened in Notepad, a suitable file format for storing data should be chosen.

    DAQmx Functions and API

    • DAQmx is a programming interface that uses the "low-level" drivers, whereas VISA is a "high-level" API that calls these drivers.

    SubVI and Terminal Errors

    • If unconnected terminals in a SubVI are not connected, they can cause an error.
    • To use a VI as a subVI, a new icon needs to be created.

    Sequence Structure and State Machine

    • When using a sequence structure, it is possible to stop the execution of a program within any sequence.
    • Variables should be used in a VI whenever possible, in contrast to state machines, which serve a different purpose.

    Program Development and Error Handling

    • Uncaught errors in a program can be detrimental to its execution, and hence, error handling mechanisms should be implemented.
    • State machines can be used to handle errors and exceptions in a program, providing a more robust development approach.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Learn about the importance of test execution speed when continuously logging data into a file during an hour. Determine whether to use 'low-level' or 'high-level' File I/O VI-je for optimal performance.

    Use Quizgecko on...
    Browser
    Browser