quiz image

2

GoodLeprechaun avatar
GoodLeprechaun
·
·
Download

Start Quiz

Study Flashcards

10 Questions

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"

Ako podatke iz datoteke zelite otvoriti u "Notepad-u" koji format datoteke za pohranu podataka treba koristiti?

ASCII

Koje od navedenog prikazuje ispravan tijek programiranja pomoci DAQmx funkcija, odnosno DAQmx API-a?

create task-configure task-start task-acquire/generate data-clear task

VISA je "high level" API koji poziva "low-level" drivere

True

pridruzi

G = C,C++, Java, BASIC, itd. Block Dijagram = Programski kod Front panel = Korisnicko sučelje SubVI = podprogram

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

Required

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

False

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

False

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

sve od navedenog

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

False

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.

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.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser